Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-08-09 | It seems bogus to me, but if code call dlerror() when an error has | Dale Rahn | |
not occurred, there exists code that expects dlerror to return NULL. Change the code to match the expected behavior. | |||
2001-08-06 | Change the priority of LD_LIBRARY_PATH, -rpath, and ldconfig path | Dale Rahn | |
in ELF ld.so to match the behavior in a.out ld.so. The given order is the new order, previously ldconfig had highest priority, which made it impossible to override. | |||
2001-08-05 | Do not have dl_find_symbol complain about symbols not found, code immediately | Dale Rahn | |
following the call will catch and report any errors. | |||
2001-07-22 | Use shlib_version, like the rest of the tree. | Marc Espie | |
2001-07-20 | do not include or define things which are common for this subdir's parent | Michael Shalayeff | |
2001-07-11 | typo in comment | Peter Valchev | |
2001-07-11 | remove mips leftovers; ok brad | Peter Valchev | |
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-06-26 | Lazy binding for shared libraries. | Artur Grabowski | |
2001-06-13 | print the name | Theo de Raadt | |
2001-06-13 | Add support for lazy binding. | Artur Grabowski | |
For now we only do it for the main executable, some code cleanup is necessary to support it for libraries. This fixes the problem I had in cc1plus and I'm able to finish a make build with shared libraries enabled. | |||
2001-06-13 | Lazy binding entry point. From NetBSD with some help from FreeBSD. | Artur Grabowski | |
2001-06-13 | Don't do plt relocations here, move that to md code that might choose | Artur Grabowski | |
to do lazy binding. | |||
2001-06-08 | Cleanup. | Artur Grabowski | |
exit when the bootstrap relocation fails. | |||
2001-06-08 | No more need to pull in strlen from libc. | Artur Grabowski | |
2001-06-08 | Be consistent. If we have inveted our of strlen, use it everywhere. | Artur Grabowski | |
2001-06-08 | style | Artur Grabowski | |
2001-06-08 | KNF | Theo de Raadt | |
2001-06-07 | It started with trying to write code to avoid running static binaries, | Artur Grabowski | |
it ended with a complete rewrite. XXX - Doesn't handle '-x' yet, but the old didn't do that either (and didn't even match the man page). | |||
2001-06-06 | more cleaning | Artur Grabowski | |
2001-06-06 | cleaning | Artur Grabowski | |
2001-06-06 | Replace all 'if (_dl_debug) _dl_printf(...)' with a macro. | Artur Grabowski | |
2001-06-06 | No need to extern _dl_debug here. | Artur Grabowski | |
2001-06-06 | more cleanup | Artur Grabowski | |
2001-06-06 | Cleanup. | Artur Grabowski | |
- remove printfs that are only useful for the person who put them there. - Style. - dead code. Needs much more work. | |||
2001-06-05 | gcc generates a lot of unaligned RELATIVE relocations for c++ exception ↵ | Artur Grabowski | |
handlers. Workaround that. | |||
2001-06-01 | - Allocate space for the finishing NUL in the name of ld.so. | Artur Grabowski | |
- some comments. | |||
2001-05-31 | Apparently GLOB_DAT needs r_addend. | Artur Grabowski | |
"Hello, world!\n" now works with libc.so | |||
2001-05-31 | Some cleanups. | Artur Grabowski | |
2001-05-31 | unsigned long, not u_int32_t | Artur Grabowski | |
2001-05-31 | If we can't find atexit (because we linked against libc.a), | Artur Grabowski | |
print a message instead of dereferencing a NULL pointer. | |||
2001-05-31 | alpha needs JMPREL relocations. | Artur Grabowski | |
various cleanups. | |||
2001-05-31 | Remove write protection from some memory segments when | Artur Grabowski | |
doing rel and rela relocations. XXX - we have to find out when and why we actually need it. | |||
2001-05-31 | random indentation fixes (needs much more work). | Artur Grabowski | |
2001-05-31 | Correctly implement most linking for alpha. | Artur Grabowski | |
Remove a lot of code copied from powerpc. | |||
2001-05-31 | When opening the hints file, check for error return < 0, not -1. | Artur Grabowski | |
_dl_open is not necessarily like the regular open(2). XXX - maybe we should check with _dl_check_error? | |||
2001-05-29 | Check for error on open. | Artur Grabowski | |
ENOENT happens to be the same as stderr. :) | |||
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-23 | Do not enable debugging, such as PRINTF_DEBUG for ld.so, it becomes | Dale Rahn | |
too verbose for normal usage. | |||
2001-05-16 | proper typing of two variables | Theo de Raadt | |
2001-05-15 | Niklas, there is no excuse for breaking this code | Theo de Raadt | |
2001-05-14 | Commit initial alpha bits, to facilitate in-tree dev. | Niklas Hallqvist | |
This code is not yet working. | |||
2001-05-12 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-05-11 | -1 -> MAP_FAILED. | Artur Grabowski | |
2001-05-11 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-05-11 | -1 -> MAP_FAILED | Artur Grabowski | |
2001-05-11 | mmap returns MAP_FAILED when it fails, not -1 | Artur Grabowski | |
2001-05-11 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-04-11 | Correct .Nm usage. | Aaron Campbell | |
2001-04-02 | Cleanup for 64bit support. | Dale Rahn | |
Pieces by art, niklas and me. Only tested on powerpc. |