summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Collapse)Author
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.
1997-04-23Fix "bug" in linker. actually was bug in asm files that did not correctlyDale S. Rahn
align the global data. This allows the workaround in crt0 to be removed.
1997-04-21Ugly hack to work around bug in 88k linker.Dale S. Rahn
1997-03-25Ok here is the mvme88k userland, minus a few important pieces.Dale S. Rahn
as, ld change need to be merged. It is known that shared libraries and C++ do not work. If anyone wants to step forward and take over the mvme88k port please do. It was dumped on me when the original developer, Nivas, left his previous job and started a new one. I am trying to get the port in a shape that someone could take over.
1996-12-21-Wall madness.Todd C. Miller
1996-12-21Check-in of powerpc csu support.Dale S. Rahn
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF. A change needs to be made to one of the bsd.*.mk files to support DESTDIR compilation with the crtbegin and crtend files.
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-11-13Sync with NetBSD, Add OpenBSD tags.Niklas Hallqvist
1996-11-13Sync with NetBSD, Add OpenBSD tags.Niklas Hallqvist
1996-09-02OopsPer Fogelstrom
1996-09-02Create crtn.o. Right now it's an empty file...Per Fogelstrom
1996-05-25Minor cleanupPer Fogelstrom
1996-05-22machine/asm.h is sufficientTheo de Raadt
1996-05-19New version of crt0 scrt0 gcrt0 to support ELF shared libs.Per Fogelstrom
It is very likely that this code will be replaced later. :-)
1996-03-05Don't use -fpic if NOPIC defined. From Dale Rahn.Niklas Hallqvist
1995-12-21from netbsd; limit the flags that get passed to cppTheo de Raadt
1995-12-15from netbsd; do not override other CFLAGS settingsTheo de Raadt
1995-12-14from netbsd; fix profiling supportTheo de Raadt
1995-11-01vax c runtime supportTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt