Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-02-21 | Revert the last revert. (with the bug fixed) | Artur Grabowski | |
2000-02-21 | back out recent change. completely breaks ld on the sparc: | Theo de Raadt | |
collect2: ld terminated with signal 11 [Segmentation fault] | |||
2000-02-11 | Let weak symbols take precedence over symbols read from 2nd hand libraries. | Marc Espie | |
This fixes an important bug: libc now uses weak symbols a lot. Without this patch, dynamic linking with libraries that reference libc would mean those symbols would not be resolved, as weak symbols are good enough for linking, but 2nd hand libraries symbols are not. Not 100% sure this won't trigger problems later (nothing yet), but this fixes the immediate problem. Approved by niklas@ and millert@ | |||
2000-02-03 | Deal with empty path element in LD_LIBRARY_PATH. | Todd C. Miller | |
o Don't try and look up an empty element in the hints file o Convert "" to "." when adding to the list of search dirs Perviously, an LD_LIBRARY_PATH that ended in ':' was ignored. | |||
2000-02-01 | Cross-tools fixes: | Marc Espie | |
* Rely on BYTE_ORDER instead of specific values of XHOST to determine cross-endianness, * Link necessary cross-includes to the right location, * Add some necessary stubs for cross-endian sparc and cross-endian m68k. This does let i386->m68k work, and probably brings i386->sparc most of the way there... Approved by mickey@, niklas@ is to busy to answer email as usual... | |||
2000-01-27 | Add `-R' option (rescan previously configured directories) support. | Oleg Safiullin | |
Tested by espie@ | |||
2000-01-23 | Fix `internal consistency errors': all warnings for undefined symbols MUST | Marc Espie | |
handle reported_undefineds correctly. Probably unseen before now because this warning only occurred for symbols that also triggered other warnings ? or maybe no-one cares. | |||
2000-01-16 | Kill XXX code which is bogus and unused anyway (no call with dodotpath==1 | Marc Espie | |
and major !=-1 anywhere). Simplify test logic: it's enough to check path != NULL to know whether we found something. cmpdewey() code is enough to ensure we get the best one (libfoo.a doesn't change n, any appropriate libfoo.so will take precedence). | |||
2000-01-16 | Bug-fix: skipping inappropriate versions is independent of whether | Marc Espie | |
we found something correct or not. | |||
2000-01-11 | Reverse order of ^lib and '/' checks since ^lib is cheaper; espie@ | Todd C. Miller | |
2000-01-11 | Fix the logic that determines whether or not a dlopen()'d name should | Todd C. Miller | |
be looked for in the libary search path. If a name has a '/' in it, treat it as a pathname, even if it starts with "lib"; gsar@ActiveState.com | |||
2000-01-02 | revert back 1.4->1.5. | assar | |
ld (and ld.so) should take the shared library of the highest version in the first directory that it founds. this is the way ld/ld.so has traditionally worked since SunOS 4 and this is the way it should work. before changing this back - please make sure you understand the semantics of this and that you are not just hiding some other bug but toggling this change. also verify the example in the PR. see PR/972 | |||
1999-12-10 | bad espie, commiting bad patches, with junk in them that should not be there | Theo de Raadt | |
1999-12-09 | dlopen and dlsym take const char * parameters. | Marc Espie | |
Fix prototypes, propagate const where applicable. | |||
1999-10-26 | indent | Theo de Raadt | |
1999-09-06 | succesfully -> successfully | Aaron Campbell | |
1999-08-25 | comment typo | Niklas Hallqvist | |
1999-08-25 | Remove redundant test (which I am sure gcc removed by itself anyhow) | Niklas Hallqvist | |
1999-08-24 | Enable dlopen(3) to work in statically linked binaries | Niklas Hallqvist | |
1999-08-24 | Remove -g accidentally committed by someone | Niklas Hallqvist | |
1999-08-24 | Align defines nicely | Niklas Hallqvist | |
1999-05-24 | This patch lets sparc ld handle pic/PIC relocations mix, by simply forcing | Marc Espie | |
everything to fit into pic mode. More extensive changes (like tagging relocs with pic/PIC, sorting, and putting pic nearest the beginning of the GOT) would be needed for full handling pic relocs with a sizeable number of PIC relocs. | |||
1999-05-21 | Be more specific about dynamic libraries: ldd does not know how to handle | Marc Espie | |
them, but they should be `reasonable' objects to pass to it. Otherwise, collect2 will get confused if the gcc driver is used to build dynamic libraries. | |||
1999-05-13 | libary -> library, other misc corrections | Aaron Campbell | |
1999-05-10 | cross-ld for sparc: iflush as nop, since it won't compile on non-sparc, | Marc Espie | |
and is only needed for rtld anyway. and missing md_swap routines as well. | |||
1999-05-10 | add needed declaration of struct ranlib tag to keep cross-endian tools | Marc Espie | |
gcc-happy. | |||
1999-02-20 | fix library search problem; the linker would stop searching | Marco S Hyman | |
for shared libs when the first was found... thus it would miss a newer version found later in the search path | |||
1999-02-09 | Removal of mvme88k/* files - again... | Steve Murphree | |
1999-02-09 | Corrected mvme88k vs. m88k directories. | Steve Murphree | |
1999-02-09 | Moved from mvme88k | Steve Murphree | |
1999-02-09 | Fixed mvme88k vs. m88k MACHINE_ARCH | Steve Murphree | |
1999-01-23 | Merge _GLOBAL_OFFSET_TABLE_ and __GLOBAL_OFFSET_TABLE_ at | Marc Espie | |
linking time, so that we can remove the corresponding kludge from gas. | |||
1998-11-25 | fix comment | kstailey | |
1998-08-28 | set RTLD_DL flag before refcount++ returns; michaels@inet.no | Theo de Raadt | |
1998-08-11 | RCS Id I have had lying around. | Niklas Hallqvist | |
1998-08-05 | setuid/setgid caveats; form | Theo de Raadt | |
1998-07-22 | add a section about LD_PRELOAD; noted as missing by form@pppvs.itam.nsc.ru | Theo de Raadt | |
1998-05-16 | remove host defs when getting target ones | Niklas Hallqvist | |
1998-05-14 | Hey, vax is LE! | Niklas Hallqvist | |
1998-05-11 | Make usable as a cross-linker | Niklas Hallqvist | |
1998-05-11 | Document -Z | Niklas Hallqvist | |
1998-04-28 | use Xr more often | Theo de Raadt | |
1998-04-26 | If a good matching shared library is found, don't look in the next | Theo de Raadt | |
directories. This is compatible with the SunOS behaviour. Also, it fixes a problem where it was not possible for some 3rd party package to have a library with the same name as a library already in the system, and a lower version number. The highest version would always be picked. This particular problem shows up with Mozilla, which has a libutil.so.1.0; fvdl | |||
1998-04-25 | type errors | Niklas Hallqvist | |
1998-04-25 | removed improper use of Ar | David Leonard | |
add missing arguments to the flag description comment out (empty) FILES section use Pa for pathnames various prettyness | |||
1998-03-26 | RCS id cleanup | Niklas Hallqvist | |
1998-02-22 | Add emulation of binutils 2.x ld options: -rpath dir, -shared, -soname, | Theo de Raadt | |
--whole-archive, --no-whole-archive for compatibility with ELF ports and to aid migration to bintils. Update manpage with new options; jonathan | |||
1997-11-14 | pk: Expand on shared object's `.init' functions a bit, and mention | Theo de Raadt | |
`/usr/lib/c++rt.o'. | |||
1997-11-05 | Handle relocation of misaligned symbols. Handle all three cases by the same | Theo de Raadt | |
macro for clarity; pk | |||
1997-09-14 | exit 1, not count, because if count > 127... or if count == 255+1 | Theo de Raadt | |