summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Collapse)Author
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-09Proper PIC support in arm startup files.Dale Rahn
2004-02-01No multi-line strings, to please gcc3. No functional change.Miod Vallat
2004-02-01link into build. make obj is safe in arm dir.Dale Rahn
2004-02-01tag..Dale Rahn
2004-02-01startup files for arm. Partially borrowed from NetBSD.Dale Rahn
2004-01-28for make obj, enter x86_64; mickey okTheo de Raadt
2004-01-28things for amd64; from art@Michael Shalayeff
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@