Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-01-16 | extern the eprol and etext; better eprol definition | Michael Shalayeff | |
2002-11-10 | build crtbegin/crtend as it is ment for elf | Michael Shalayeff | |
2002-09-17 | uncommit, since it breaks macppc libc. millert and miod have now said they | Theo 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-17 | use a different name for __syscall(); millert@ miod@ niklas@ ok | Michael Shalayeff | |
2002-08-11 | Adapt sparc crt* to how things are done on our other ELF architectures. | Artur Grabowski | |
Some parts of crt0.c are from NetBSD. | |||
2002-07-22 | Remove some dead ifdefs to make the code more readable. | Artur Grabowski | |
2002-07-14 | Fix an oversight in revision 1.9. ld_entry was set in one more spot. | Artur Grabowski | |
2002-07-11 | We 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-05 | one 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-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part 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-02 | fix some protos | Michael Shalayeff | |
2001-09-11 | add sparc64; op2@squish.org | Jason Wright | |
2001-09-02 | I don't even want to know how I could screw this up so bad and noone noticed. | Artur Grabowski | |
2001-08-29 | build crt0, crtbegin and friends. | Artur Grabowski | |
2001-08-29 | crt0. Almost like on alpha, except that sparc64 needs an assembler stub | Artur Grabowski | |
for the moment. (why make the ABI so complicated?) The assembler is inspired by crt0 in NetBSD. | |||
2001-08-19 | remove unused bits and pieces. | Brad Smith | |
-- Ok'd by art@ | |||
2001-08-19 | make obj in hppa always | Michael Shalayeff | |
2001-08-19 | either way this is what i'm using now | Michael Shalayeff | |
2001-08-12 | #(endif|else) foo is incorrect, make it #endif /* foo */ | Heikki Korpela | |
deraadt@ ok | |||
2001-07-18 | Wall | Theo de Raadt | |
2001-07-11 | remove mips leftovers; ok brad | Peter Valchev | |
2001-06-26 | Put m88k-related files in the correctly named directory. | Miod Vallat | |
2001-06-01 | proto for dlerror() changed | Theo de Raadt | |
2001-05-29 | fix the alpha after that last diff which was obviously not tested | Theo de Raadt | |
2001-05-28 | Commonize csu code for elf systems, powerpc now no longer has it's own | Dale 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-11 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-03-24 | Use "realinstall" to allow the framework to do other work if needed; | Thorsten Lockert | |
path of least surprise. Ok millert@ | |||
2001-02-03 | Remove even more dead code. | Artur Grabowski | |
2001-02-03 | oops. | Artur Grabowski | |
2001-02-03 | Schedule running of __fini in __init, not __start. | Artur Grabowski | |
2001-02-03 | An OpenBSD tag doesn't hurt. | Artur Grabowski | |
2001-02-03 | Add an OS note identifying OpenBSD binaries. | Artur Grabowski | |
This appears to be the standard way to do it. | |||
2001-02-03 | Decruftification. | Artur Grabowski | |
2001-02-03 | Use crtbegin and crtend from common_elf. | Artur Grabowski | |
2001-02-03 | Create a common_elf directory with crtbegin and crtend that can | Artur Grabowski | |
be shared between archs. | |||
2001-02-03 | Don't define ECOFF_COMPAT. We're ELF. | Artur Grabowski | |
2001-01-31 | deconfuse include path. (XXX - this for my future hacks). | Artur Grabowski | |
2001-01-25 | This is not how we'll do dynamic libraries on alpha anyway. | Artur Grabowski | |
Zap dead code. | |||
2000-10-13 | Changes to the powerpc startup files to work in a more typical ELF | Dale 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-28 | Powerpc 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-13 | Support files for shared library, expected by gcc, allows shared libraries to | Dale S. Rahn | |
have constructors and destructors. | |||
1999-12-09 | dlopen and dlsym take const char * parameters. | Marc Espie | |
Fix prototypes, propagate const where applicable. | |||
1999-08-24 | Do 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-20 | Fix RCS Ids | Niklas Hallqvist | |
1999-07-23 | Eliminate namespace pollution, the crt0 file should not conflict | Dale S. Rahn | |
with the "C" function start(); | |||
1999-03-13 | Fix loading of constant into upper portion off register, prevously | Dale S. Rahn | |
if the register being loaded into was not value zero would end up with wrong value. Only affected profiling executables. | |||
1999-02-01 | When compiling for ELF use .init and .fini sections instead of special syms. | Per Fogelstrom | |
1999-01-28 | update for binutils 2.9.1, whenever it might show up... The changes | Dale 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-15 | If something is a.out dependent... don't use if in elf ports... | Per Fogelstrom | |