Commit Graph

16 Commits

Author SHA1 Message Date
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
simonb 6bf3aa19f9 More trailing white space. 1999-07-02 15:46:05 +00:00
thorpej 0d19945594 Collect the top parts of the ELF crt0.c files into a common header, and
use it across the board.

crt0.c now contains stuff that REALLY IS machine-dependent, or stuff that
is completely intermingled in machdep code (and thus can't be separated
easily).
1999-03-20 00:13:51 +00:00
thorpej 0571914c5b Garbage-collect ECOFF_COMPAT. 1999-03-19 23:55:17 +00:00
thorpej 3f196ccbc8 Put a good chunk of code common to all ELF crt0.c files into a common
location, and use it.
1999-03-19 23:34:49 +00:00
kleink 198e9a2784 s/rtld_setup/_rtld_setup/ to move it out of the user's name space. 1999-03-08 10:49:08 +00:00
jonathan de51528720 Change __init()/__fini() -> _init()/_fini(). 1998-11-04 23:48:25 +00:00
mycroft f5e7ca07dd These all need types.h. 1998-07-25 04:45:04 +00:00
mycroft d005dcbce0 Don't pull in param.h (and therefore don't pull in unistd.h). 1998-07-25 04:34:12 +00:00
thorpej 367b689c8f typi 1998-02-07 20:44:40 +00:00
perry 43498a0a88 remove obsolete register declarations 1998-02-03 20:01:32 +00:00
jonathan 338a11a3e7 RCSid police. Add __RCSID while we're here.
Add alternate label '_start' in front of __start() for installs with
DESTDIR or programs that assume '_start'.
1997-10-20 03:24:49 +00:00
lukem 6fffd559bd WARNSify (not yet tested on all platforms yet) 1997-10-09 12:29:21 +00:00
thorpej eb382f8e2b Make sure we're passed a valid obj_entry. 1997-08-24 18:11:23 +00:00
jonathan f4aee0fcbb New, Alpha-derived crt0.c with ld.elf_so support.
Expects additional register-passed arguments from the kernel on
exec().  If no such args ($a0 is zero), fall back to the old hack of
adjusting the current $sp with a hard-coded frame offset for __start's
local frame(!).

Suggested by Jason Thorpe (thorpej@nas.nasa.gov), debugged and
stackframe offsets updated by Jonathan Stone.
1997-06-23 22:04:34 +00:00
jonathan 2ba4510cdc C versions of crt0 for mips. 1997-03-05 03:45:05 +00:00