Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-05-30 | i sent you the damn working diff, didn't i? | Michael Shalayeff | |
2003-05-30 | Fix dependancy building for ELF startup code. Changed Makefiles | Dale Rahn | |
to build startup code the same on all (ELF) archs. hppa ok mickey@ | |||
2003-04-17 | i386 startup code for ELF. based on newer version of NetBSD code. | Dale Rahn | |
2003-03-31 | add a newline at end of file. gcc3 rightfully complains if the file | Bruno Rohee | |
is not newline terminated. From Thorsten Glaser | |||
2003-03-10 | duplicate words and spelling fixes in comments | David Krause | |
ok miod@ | |||
2003-02-28 | copy basename of argv[0] to bss for __progname, so that large stack smash | Theo de Raadt | |
does not make propolice reporting ineffective; millert miod ok | |||
2003-02-26 | Switch to a C version of powerpc crt0 file. easier to read. moves | Dale Rahn | |
_progname storage into data instead of stack. | |||
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. |