summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Collapse)Author
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
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-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-03-24Use "realinstall" to allow the framework to do other work if needed;Thorsten Lockert
path of least surprise. Ok millert@
2001-02-03Remove even more dead code.Artur Grabowski
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-03Use crtbegin and crtend from common_elf.Artur Grabowski
2001-02-03Create a common_elf directory with crtbegin and crtend that canArtur Grabowski
be shared between archs.
2001-02-03Don't define ECOFF_COMPAT. We're ELF.Artur Grabowski
2001-01-31deconfuse include path. (XXX - this for my future hacks).Artur Grabowski
2001-01-25This is not how we'll do dynamic libraries on alpha anyway.Artur Grabowski
Zap dead code.
2000-10-13Changes to the powerpc startup files to work in a more typical ELFDale Rahn
manner. the linker knows about the magic function _init and _fini and will create a .dynamic tag to point to those symbols in the executable/shared libraries. Take advantage of that fact to allow ld.so to easily find the appropriate ctors/dtors calls for shared libraries Since the crtbeginS.c now contains executable code, it must be compiled with -fPIC. Rename the __init and __fini functions to _init/_fini so the linker will locate them.
2000-06-28Powerpc was missing the scrt.o startup file. now used by the ramdisk instbin.Dale S. Rahn
also scrt does not support c++ ctors/dtors thus does not require crtbegin.o/crtend.o which it normally does.
2000-06-13Support files for shared library, expected by gcc, allows shared libraries toDale S. Rahn
have constructors and destructors.
1999-12-09dlopen and dlsym take const char * parameters.Marc Espie
Fix prototypes, propagate const where applicable.
1999-08-24Do not error out if we have been statically linked but would like ld.so for ↵Niklas Hallqvist
dlopen and it is not there.
1999-08-20Fix RCS IdsNiklas Hallqvist
1999-07-23Eliminate namespace pollution, the crt0 file should not conflictDale S. Rahn
with the "C" function start();
1999-03-13Fix loading of constant into upper portion off register, prevouslyDale S. Rahn
if the register being loaded into was not value zero would end up with wrong value. Only affected profiling executables.
1999-02-01When compiling for ELF use .init and .fini sections instead of special syms.Per Fogelstrom
1999-01-28update for binutils 2.9.1, whenever it might show up... The changesDale S. Rahn
are cleanup that would not work correctly with the newer version. works fine with the current (old) version of gas/ld. ALSO: Found a very long outstanding bug on the powerpc port. whenever nroff was run, say during a build, it would complain about memory being freed twice. Found the cause of this was that *roff which is written in C++ was using globals that had constructors/destructors and due to a bug in the crt code, the destructors were getting called when a program exited via falling out of the main loop. calling exit directly would not exersize the bug that ran the destructors twice. THIS BUG IS NOW FIXED.
1998-09-15If something is a.out dependent... don't use if in elf ports...Per Fogelstrom
1998-07-05Changes to support profiling on the powerpc port, startup code.Dale S. Rahn
1998-06-01consitancize with other archsMichael Shalayeff
1998-05-14$OpenBSD$Niklas Hallqvist
1998-02-09merge in rev 1.2Niklas Hallqvist
1998-02-08Update from NetBSDNiklas Hallqvist
1998-02-03Make __{CTOR,DTOR}_LIST__ extern instead of array of size zeroMarco S Hyman
1997-11-08make obj thingies.Todd T. Fries
1997-10-07Makefile refers to NOPIC, so at least bring bsd.own.mk in before, as someNiklas Hallqvist
ports define NOPIC in there.
1997-07-24use -fno-omit-frame-pointer; the reason is almost crazy; pr#287Theo de Raadt
1997-07-23tabifykstailey
1997-07-01if no error, dlerror() should return NULLTheo de Raadt
1997-06-24Use OpenBSD tags and not SCCS or RCS Id tagsThorsten Lockert
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.