summaryrefslogtreecommitdiff
path: root/lib/csu/common_elf
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@
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
ok espie, millert
2003-11-22remove multi-line literals in __asm syntax to keep gcc3 happyAnil Madhavapeddy
henric@ henning@ ok
2003-06-26boring protosTheo de Raadt
2003-03-31add a newline at end of file. gcc3 rightfully complains if the fileBruno Rohee
is not newline terminated. From Thorsten Glaser
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.
2001-05-28Commonize csu code for elf systems, powerpc now no longer has it's ownDale Rahn
versions of these files. Fixed a bug in ld.so in this, instead of scheduling the fini of each of the shared libraries with atexit. schedule a function of ld.so itself and it will walk all of the open libraries when the program exits. otherwise a shared library could be dl_open()ed and then dl_close()d and then it would not be mapped for the atexit processing. TODO: What if atexit is not found (process did not link against libc?) Do shared libraries that are dl_closed have their global destructors run?
2001-02-03oops.Artur Grabowski
2001-02-03Schedule running of __fini in __init, not __start.Artur Grabowski
2001-02-03An OpenBSD tag doesn't hurt.Artur Grabowski
2001-02-03Add an OS note identifying OpenBSD binaries.Artur Grabowski
This appears to be the standard way to do it.
2001-02-03Decruftification.Artur Grabowski
2001-02-03Create a common_elf directory with crtbegin and crtend that canArtur Grabowski
be shared between archs.