• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

emulparams/H03-May-2022-4,3003,312

emultempl/H03-May-2022-14,11112,012

po/H07-May-2022-11,6279,092

scripttempl/H03-May-2022-10,2429,135

testsuite/H03-May-2022-119,643106,728

ChangeLogH A D12-Jun-200611.3 KiB347251

ChangeLog-0001H A D02-Jan-2004110.6 KiB3,3772,453

ChangeLog-0203H A D16-Apr-2004119.5 KiB3,5812,620

ChangeLog-2004H A D16-Jan-200650.6 KiB1,4431,070

ChangeLog-2005H A D16-Jan-200662.7 KiB1,8431,366

ChangeLog-9197H A D25-Oct-2003274.2 KiB7,6025,430

ChangeLog-9899H A D13-Mar-200170 KiB2,1091,476

MAINTAINERSH A D05-Jul-200028 21

Makefile.amH A D03-Jun-200683.7 KiB1,9551,793

Makefile.inH A D03-Jun-2006108.5 KiB2,7392,512

NEWSH A D05-Apr-200613.8 KiB373246

READMEH A D23-Aug-20022.4 KiB6849

TODOH A D03-May-1999361 106

acinclude.m4H A D15-May-200530 21

aclocal.m4H A D17-Apr-200632.4 KiB914816

config.inH A D16-Apr-20065.9 KiB223155

configdoc.texiH A D10-May-2006394 2319

configureH A D11-Apr-2006322.6 KiB11,2759,564

configure.hostH A D19-Jul-200510.9 KiB247197

configure.inH A D11-Apr-20066.5 KiB263220

configure.tgtH A D05-Apr-200623.7 KiB630611

deffile.hH A D31-Jan-20063.4 KiB10455

deffilep.yH A D01-Apr-200623.6 KiB1,078897

dep-in.sedH A D30-Oct-2005286 2217

elf-hints-local.hH A D11-Apr-20061.9 KiB4515

fdl.texiH A D12-May-200518 KiB368325

gen-doc.texiH A D10-May-2006394 2319

genscripts.shH A D05-Apr-200612 KiB372232

h8-doc.texiH A D15-Apr-2003307 1511

ld.1H A D23-Jun-200690.5 KiB2,0722,048

ld.hH A D30-Sep-20058.3 KiB298146

ld.infoH A D23-Jun-2006300.7 KiB6,6925,545

ld.texinfoH A D10-May-2006246.7 KiB6,6555,706

ldcref.cH A D16-Mar-200615.7 KiB599409

ldctor.cH A D12-May-20059.3 KiB377246

ldctor.hH A D12-May-20052 KiB6124

ldemul.cH A D17-Nov-20056.3 KiB324247

ldemul.hH A D17-Nov-20056.4 KiB205115

ldexp.cH A D07-Dec-200527.2 KiB1,096926

ldexp.hH A D05-Aug-20054.3 KiB184133

ldfile.cH A D12-May-200513.2 KiB548426

ldfile.hH A D12-May-20052.1 KiB6430

ldgram.cH A D16-Apr-2006134.4 KiB4,1643,390

ldgram.hH A D16-Apr-20066.8 KiB308269

ldgram.yH A D13-Oct-200527.3 KiB1,3031,138

ldint.texinfoH A D12-May-200547.5 KiB1,059882

ldlang.cH A D03-May-2022177.4 KiB6,7664,966

ldlang.hH A D12-Jun-200617.3 KiB609447

ldlex.cH A D16-Apr-2006113.4 KiB3,8343,084

ldlex.hH A D12-May-20051.8 KiB6432

ldlex.lH A D05-Aug-200520.2 KiB683518

ldmain.cH A D06-Apr-200639.6 KiB1,5291,139

ldmain.hH A D12-May-20051.5 KiB4823

ldmisc.cH A D31-Mar-200612.8 KiB561394

ldmisc.hH A D12-May-20051.5 KiB4619

ldver.cH A D12-May-20051.7 KiB6033

ldver.hH A D12-May-2005874 221

ldver.texiH A D23-Jun-200618 21

ldwrite.cH A D17-Nov-200514.9 KiB569436

ldwrite.hH A D12-May-2005848 221

lexsup.cH A D30-Oct-200549.9 KiB1,5541,329

mri.cH A D12-May-20057.1 KiB317223

mri.hH A D12-May-20051.4 KiB3816

pe-dll.cH A D31-Jan-200670.6 KiB2,7281,975

pe-dll.hH A D12-May-20052.1 KiB6339

stamp-h.inH A D03-May-199910 21

sysdep.hH A D09-Jun-20052 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