summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/ld.c
AgeCommit message (Collapse)Author
2000-02-21Revert the last revert. (with the bug fixed)Artur Grabowski
2000-02-21back out recent change. completely breaks ld on the sparc:Theo de Raadt
collect2: ld terminated with signal 11 [Segmentation fault]
2000-02-11Let 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@
1999-05-24This patch lets sparc ld handle pic/PIC relocations mix, by simply forcingMarc 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.
1998-11-25fix commentkstailey
1998-08-11RCS Id I have had lying around.Niklas Hallqvist
1998-02-22Add 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-04-10calc page alignment correctly for -p; pk@netbsdTheo de Raadt
1997-04-09the theTheo de Raadt
1997-02-21Get symbol counts right when counting weak symbols in shared libraries asThorsten Lockert
shared objects are being built.
1996-12-22Correct handling of weak symbols in shared libraries; from pk@netbsd.orgThorsten Lockert
1996-06-17align bss on machdep boundary in case something else failed toTheo de Raadt
1996-03-30From NetBSD: merge of 960317Niklas Hallqvist
1995-12-30from netbsd:Theo de Raadt
Simplify update of r_addend field in relocation record if `-r' is on. The old quirky code did strange things.
1995-10-18initial import of NetBSD treeTheo de Raadt