Name Date Size #Lines LOC

..--

emulparams/H08-Jul-2024-4,5643,508

emultempl/H08-Jul-2024-14,46912,313

po/H20-Feb-2020-11,6279,092

scripttempl/H08-Jul-2024-10,8609,703

ChangeLogH A D20-Feb-202011.3 KiB347251

ChangeLog-0001H A D20-Feb-2020110.6 KiB3,3772,453

ChangeLog-0203H A D20-Feb-2020119.5 KiB3,5812,620

ChangeLog-2004H A D20-Feb-202050.6 KiB1,4431,070

ChangeLog-2005H A D20-Feb-202062.7 KiB1,8431,366

ChangeLog-9197H A D20-Feb-2020274.2 KiB7,6025,430

ChangeLog-9899H A D20-Feb-202070 KiB2,1091,476

MAINTAINERSH A D20-Feb-202028 21

Makefile.amH A D20-Feb-202088.2 KiB2,0511,889

Makefile.inH A D20-Feb-2020112.7 KiB2,8212,594

NEWSH A D20-Feb-202013.8 KiB373246

READMEH A D20-Feb-20202.4 KiB6849

TODOH A D20-Feb-2020361 106

acinclude.m4H A D20-Feb-202030 21

aclocal.m4H A D20-Feb-202032.4 KiB914816

config.inH A D20-Feb-20205.9 KiB223155

configdoc.texiH A D20-Feb-2020394 2319

configureH A D20-Feb-2020322.7 KiB11,2789,567

configure.hostH A D20-Feb-202010.9 KiB247197

configure.inH A D20-Feb-20206.5 KiB263220

configure.tgtH A D20-Feb-202025.1 KiB664645

deffile.hH A D20-Feb-20203.4 KiB10455

deffilep.yH A D20-Feb-202023.6 KiB1,078897

dep-in.sedH A D20-Feb-2020286 2217

elf-hints-local.hH A D20-Feb-20201.9 KiB4515

fdl.texiH A D20-Feb-202018 KiB368325

gen-doc.texiH A D20-Feb-2020394 2319

genscripts.shH A D08-Jul-202412.6 KiB383245

h8-doc.texiH A D20-Feb-2020307 1511

ld.hH A D20-Feb-20208.3 KiB297146

ld.texinfoH A D08-Jul-2024247.9 KiB6,6875,732

ldcref.cH A D20-Feb-202015.7 KiB599409

ldctor.cH A D20-Feb-20209.3 KiB377246

ldctor.hH A D20-Feb-20202 KiB6124

ldemul.cH A D20-Feb-20206.3 KiB324247

ldemul.hH A D20-Feb-20206.4 KiB205115

ldexp.cH A D20-Feb-202027.2 KiB1,096926

ldexp.hH A D20-Feb-20204.3 KiB184133

ldfile.cH A D20-Feb-202013.2 KiB548426

ldfile.hH A D20-Feb-20202.1 KiB6430

ldgram.yH A D08-Jul-202427.9 KiB1,3171,152

ldint.texinfoH A D20-Feb-202047.5 KiB1,059882

ldlang.cH A D20-Feb-2020177.5 KiB6,7684,967

ldlang.hH A D20-Feb-202017.3 KiB609447

ldlex.hH A D20-Feb-20201.8 KiB6432

ldlex.lH A D20-Feb-202020.2 KiB683518

ldmain.cH A D08-Jul-202440.4 KiB1,5621,169

ldmain.hH A D20-Feb-20201.5 KiB4823

ldmisc.cH A D20-Feb-202012.9 KiB565398

ldmisc.hH A D20-Feb-20201.5 KiB4619

ldver.cH A D20-Feb-20201.7 KiB6033

ldver.hH A D20-Feb-2020874 221

ldver.texiH A D20-Feb-202018 21

ldwrite.cH A D20-Feb-202014.9 KiB569436

ldwrite.hH A D20-Feb-2020848 221

lexsup.cH A D08-Jul-202450.9 KiB1,5851,360

mri.cH A D20-Feb-20207.1 KiB317223

mri.hH A D20-Feb-20201.4 KiB3816

pe-dll.cH A D20-Feb-202070.6 KiB2,7281,975

pe-dll.hH A D20-Feb-20202.1 KiB6339

stamp-h.inH A D20-Feb-202010 21

sysdep.hH A D20-Feb-20202 KiB9760

README

1		README for LD
2
3This is the GNU linker.  It is distributed with other "binary
4utilities" which should be in ../binutils.  See ../binutils/README for
5more general notes, including where to send bug reports.
6
7There are many features of the linker:
8
9* The linker uses a Binary File Descriptor library (../bfd)
10  that it uses to read and write object files.  This helps
11  insulate the linker itself from the format of object files.
12
13* The linker supports a number of different object file
14  formats.  It can even handle multiple formats at once:
15  Read two input formats and write a third.
16
17* The linker can be configured for cross-linking.
18
19* The linker supports a control language.
20
21* There is a user manual (ld.texinfo), as well as the
22  beginnings of an internals manual (ldint.texinfo).
23
24Installation
25============
26
27See ../binutils/README.
28
29If you want to make a cross-linker, you may want to specify
30a different search path of -lfoo libraries than the default.
31You can do this by setting the LIB_PATH variable in ./Makefile
32or using the --with-lib-path configure switch.
33
34To build just the linker, make the target all-ld from the top level
35directory (one directory above this one).
36
37Porting to a new target
38=======================
39
40See the ldint.texinfo manual.
41
42Reporting bugs etc
43===========================
44
45See ../binutils/README.
46
47Known problems
48==============
49
50The Solaris linker normally exports all dynamic symbols from an
51executable.  The GNU linker does not do this by default.  This is
52because the GNU linker tries to present the same interface for all
53similar targets (in this case, all native ELF targets).  This does not
54matter for normal programs, but it can make a difference for programs
55which try to dlopen an executable, such as PERL or Tcl.  You can make
56the GNU linker export all dynamic symbols with the -E or
57--export-dynamic command line option.
58
59HP/UX 9.01 has a shell bug that causes the linker scripts to be
60generated incorrectly.  The symptom of this appears to be "fatal error
61- scanner input buffer overflow" error messages.  There are various
62workarounds to this:
63  * Build and install bash, and build with "make SHELL=bash".
64  * Update to a version of HP/UX with a working shell (e.g., 9.05).
65  * Replace "(. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc)" in
66    genscripts.sh with "sh ${srcdir}..." (no parens) and make sure the
67    emulparams script used exports any shell variables it sets.
68