summaryrefslogtreecommitdiffstats
path: root/lib/csu (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add finalized guard to destructor calls, to prevent multiple calls.espie2004-01-268-26/+44
| | | | | | | stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-( Okay drahn@
* small clean-up: typedef to desambiguate const, prototypes...espie2004-01-2610-32/+86
| | | | ok drahn@, some time ago.
* __init/__fini handling on ELF has not been correct. It is supposed todrahn2004-01-0820-54/+482
| | | | | | 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@
* Do not have non-dynamic crt0 depend upon libc's strrchr() function on a.out.miod2004-01-052-9/+5
|
* kill multi-line string; ok miodpvalchev2004-01-041-10/+10
|
* c++rt0 is a relic. It shall go away.drahn2004-01-042-137/+0
|
* c++rt0.o is a relic of long ago. tested on ELF drahn a.out miod, ok miod@drahn2004-01-041-3/+1
|
* zap multi-line literals; ok deraadtpvalchev2004-01-041-14/+12
|
* correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errordrahn2003-12-282-6/+6
| | | | ok espie, millert
* Put this again, but this time make sure the compiler really does not frob themiod2003-12-261-64/+24
| | | | stack frame before we get a chance to tinker with it.
* Revert - this was a bit premature.miod2003-12-261-24/+65
|
* A much simpler and more readable start() routine...miod2003-12-251-65/+24
|
* also export _start as an alias to __start (noticed by pval@) and redo the early startup as i always wanted tomickey2003-12-041-7/+26
|
* remove multi-line literals in __asm syntax to keep gcc3 happyavsm2003-11-223-42/+36
| | | | henric@ henning@ ok
* Define both _start and __start in crt0, all of the other architectures do.drahn2003-08-252-3/+9
|
* ansideraadt2003-06-271-9/+5
|
* boring protosderaadt2003-06-262-10/+10
|
* more 3/4 cleanups for lazy developersderaadt2003-06-041-7/+2
|
* i sent you the damn working diff, didn't i?mickey2003-05-301-5/+7
|
* Fix dependancy building for ELF startup code. Changed Makefilesdrahn2003-05-306-96/+157
| | | | to build startup code the same on all (ELF) archs. hppa ok mickey@
* i386 startup code for ELF. based on newer version of NetBSD code.drahn2003-04-172-84/+98
|
* add a newline at end of file. gcc3 rightfully complains if the filerohee2003-03-312-4/+4
| | | | | | is not newline terminated. From Thorsten Glaser
* duplicate words and spelling fixes in commentsdavid2003-03-101-3/+3
| | | | ok miod@
* copy basename of argv[0] to bss for __progname, so that large stack smashderaadt2003-02-2810-20/+80
| | | | does not make propolice reporting ineffective; millert miod ok
* Switch to a C version of powerpc crt0 file. easier to read. movesdrahn2003-02-263-90/+103
| | | | _progname storage into data instead of stack.
* extern the eprol and etext; better eprol definitionmickey2003-01-161-3/+4
|
* build crtbegin/crtend as it is ment for elfmickey2002-11-102-22/+59
|
* uncommit, since it breaks macppc libc. millert and miod have now said theyderaadt2002-09-174-19/+19
| | | | | | 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?
* use a different name for __syscall(); millert@ miod@ niklas@ okmickey2002-09-174-19/+19
|
* Adapt sparc crt* to how things are done on our other ELF architectures.art2002-08-112-145/+105
| | | | Some parts of crt0.c are from NetBSD.
* Remove some dead ifdefs to make the code more readable.art2002-07-223-79/+4
|
* Fix an oversight in revision 1.9. ld_entry was set in one more spot.art2002-07-141-2/+2
|
* We need to map the data segment of ld.so with PROT_EXEC for the GOT.art2002-07-111-3/+7
| | | | | | 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.
* one more level of indirection for dlopen structure.espie2002-06-051-14/+14
| | | | | | | | Allows dlopen to be used much earlier, e.g., in dynamic constructors. From NetBSD. okay art@
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-2/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-1618-86/+86
|
* fix some protosmickey2002-02-021-3/+5
|
* add sparc64; op2@squish.orgjason2001-09-111-2/+2
|
* I don't even want to know how I could screw this up so bad and noone noticed.art2001-09-021-2/+2
|
* build crt0, crtbegin and friends.art2001-08-291-0/+51
|
* crt0. Almost like on alpha, except that sparc64 needs an assembler stubart2001-08-291-0/+111
| | | | | for the moment. (why make the ABI so complicated?) The assembler is inspired by crt0 in NetBSD.
* remove unused bits and pieces.brad2001-08-193-162/+2
| | | | | -- Ok'd by art@
* make obj in hppa alwaysmickey2001-08-191-2/+2
|
* either way this is what i'm using nowmickey2001-08-192-0/+130
|
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-124-12/+12
| | | | deraadt@ ok
* Wallderaadt2001-07-181-3/+4
|
* remove mips leftovers; ok bradpvalchev2001-07-115-259/+2
|
* Put m88k-related files in the correctly named directory.miod2001-06-263-5/+5
|
* proto for dlerror() changedderaadt2001-06-011-2/+2
|
* fix the alpha after that last diff which was obviously not testedderaadt2001-05-291-3/+3
|