Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
69e24e34
Commit
69e24e34
authored
Jul 05, 2010
by
Dan Nicolaescu
Browse files
* src/ecrt0.c: Revert conversion to standard C.
parent
4ad11f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
src/ChangeLog
src/ChangeLog
+4
-0
src/ecrt0.c
src/ecrt0.c
+5
-3
No files found.
src/ChangeLog
View file @
69e24e34
2010-07-06 Dan Nicolaescu <dann@ics.uci.edu>
* ecrt0.c: Revert conversion to standard C.
2010-07-05 Dan Nicolaescu <dann@ics.uci.edu>
* vm-limit.c (memory_warnings):
...
...
src/ecrt0.c
View file @
69e24e34
...
...
@@ -61,21 +61,23 @@ int data_start = 0;
char
**
environ
;
static
start1
(
int
bogus_fp
,
int
argc
,
char
*
xargv
);
static
start1
();
/* Define symbol "start": here; some systems want that symbol. */
asm
(
" .text "
);
asm
(
" .globl start "
);
asm
(
" start: "
);
_start
(
void
)
_start
()
{
/* On vax, nothing is pushed here */
start1
();
}
static
start1
(
int
bogus_fp
,
int
argc
,
char
*
xargv
)
start1
(
bogus_fp
,
argc
,
xargv
)
int
argc
;
char
*
xargv
;
{
register
char
**
argv
=
&
xargv
;
environ
=
argv
+
argc
+
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment