summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Collapse)Author
2004-01-26add finalized guard to destructor calls, to prevent multiple calls.Marc Espie
stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-( Okay drahn@
2004-01-26small clean-up: typedef to desambiguate const, prototypes...Marc Espie
ok drahn@, some time ago.
2004-01-08__init/__fini handling on ELF has not been correct. It is supposed toDale Rahn
be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@
2004-01-05Do not have non-dynamic crt0 depend upon libc's strrchr() function on a.out.Miod Vallat
2004-01-04kill multi-line string; ok miodPeter Valchev
2004-01-04c++rt0 is a relic. It shall go away.Dale Rahn
2004-01-04c++rt0.o is a relic of long ago. tested on ELF drahn a.out miod, ok miod@Dale Rahn
2004-01-04zap multi-line literals; ok deraadtPeter Valchev
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
ok espie, millert
2003-12-26Put this again, but this time make sure the compiler really does not frob theMiod Vallat
stack frame before we get a chance to tinker with it.
2003-12-26Revert - this was a bit premature.Miod Vallat
2003-12-25A much simpler and more readable start() routine...Miod Vallat
2003-12-04also export _start as an alias to __start (noticed by pval@) and redo the ↵Michael Shalayeff
early startup as i always wanted to
2003-11-22remove multi-line literals in __asm syntax to keep gcc3 happyAnil Madhavapeddy
henric@ henning@ ok
2003-08-25Define both _start and __start in crt0, all of the other architectures do.Dale Rahn
2003-06-27ansiTheo de Raadt
2003-06-26boring protosTheo de Raadt
2003-06-04more 3/4 cleanups for lazy developersTheo de Raadt
2003-05-30i sent you the damn working diff, didn't i?Michael Shalayeff
2003-05-30Fix dependancy building for ELF startup code. Changed MakefilesDale Rahn
to build startup code the same on all (ELF) archs. hppa ok mickey@
2003-04-17i386 startup code for ELF. based on newer version of NetBSD code.Dale Rahn
2003-03-31add a newline at end of file. gcc3 rightfully complains if the fileBruno Rohee
is not newline terminated. From Thorsten Glaser
2003-03-10duplicate words and spelling fixes in commentsDavid Krause
ok miod@
2003-02-28copy basename of argv[0] to bss for __progname, so that large stack smashTheo de Raadt
does not make propolice reporting ineffective; millert miod ok
2003-02-26Switch to a C version of powerpc crt0 file. easier to read. movesDale Rahn
_progname storage into data instead of stack.
2003-01-16extern the eprol and etext; better eprol definitionMichael Shalayeff
2002-11-10build crtbegin/crtend as it is ment for elfMichael Shalayeff
2002-09-17uncommit, since it breaks macppc libc. millert and miod have now said theyTheo de Raadt
did NOT approve those for commit. why did mickey feel he was ok to go commiting a set of diffs which had not been passed around and tested by people? we don't know. mickey, have you got something to say for yourself?
2002-09-17use a different name for __syscall(); millert@ miod@ niklas@ okMichael Shalayeff
2002-08-11Adapt sparc crt* to how things are done on our other ELF architectures.Artur Grabowski
Some parts of crt0.c are from NetBSD.
2002-07-22Remove some dead ifdefs to make the code more readable.Artur Grabowski
2002-07-14Fix an oversight in revision 1.9. ld_entry was set in one more spot.Artur Grabowski
2002-07-11We need to map the data segment of ld.so with PROT_EXEC for the GOT.Artur Grabowski
This is in preparation for actually honoring exec protection in sparc pmap. NOTICE! You really want to rebuild the whole userland with this change before the kernel fix goes in. Otherwise all shared binaries will dump core.
2002-06-05one more level of indirection for dlopen structure.Marc Espie
Allows dlopen to be used much earlier, e.g., in dynamic constructors. From NetBSD. okay art@
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-02fix some protosMichael Shalayeff
2001-09-11add sparc64; op2@squish.orgJason Wright
2001-09-02I don't even want to know how I could screw this up so bad and noone noticed.Artur Grabowski
2001-08-29build crt0, crtbegin and friends.Artur Grabowski
2001-08-29crt0. Almost like on alpha, except that sparc64 needs an assembler stubArtur Grabowski
for the moment. (why make the ABI so complicated?) The assembler is inspired by crt0 in NetBSD.
2001-08-19remove unused bits and pieces.Brad Smith
-- Ok'd by art@
2001-08-19make obj in hppa alwaysMichael Shalayeff
2001-08-19either way this is what i'm using nowMichael Shalayeff
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-18WallTheo de Raadt
2001-07-11remove mips leftovers; ok bradPeter Valchev
2001-06-26Put m88k-related files in the correctly named directory.Miod Vallat
2001-06-01proto for dlerror() changedTheo de Raadt
2001-05-29fix the alpha after that last diff which was obviously not testedTheo de Raadt