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

..--

emulparams/22-Nov-2023-5,1193,912

emultempl/22-Nov-2023-23,61220,234

po/22-Nov-2023-35,11827,452

scripttempl/22-Nov-2023-15,35913,611

testsuite/22-Nov-2023-228,150197,228

.gitignoreD22-Nov-2023147 1714

ChangeLogD22-Nov-202335 KiB1,047792

ChangeLog-0001D22-Nov-2023110.8 KiB3,3832,457

ChangeLog-0203D22-Nov-2023119.7 KiB3,5872,624

ChangeLog-2004D22-Nov-202350.8 KiB1,4491,074

ChangeLog-2005D22-Nov-202363 KiB1,8491,370

ChangeLog-2006D22-Nov-202345.8 KiB1,3711,024

ChangeLog-2007D22-Nov-202338.8 KiB1,194880

ChangeLog-2008D22-Nov-202337.9 KiB1,106855

ChangeLog-2009D22-Nov-202357.8 KiB1,6501,272

ChangeLog-2010D22-Nov-202345.4 KiB1,3821,033

ChangeLog-2011D22-Nov-202335.3 KiB1,081803

ChangeLog-2012D22-Nov-202334.2 KiB1,042788

ChangeLog-2013D22-Nov-202328.2 KiB884642

ChangeLog-9197D22-Nov-2023274.4 KiB7,6085,434

ChangeLog-9899D22-Nov-202370.2 KiB2,1151,480

MAINTAINERSD22-Nov-2023260 85

Makefile.amD22-Nov-202374.4 KiB2,1381,616

Makefile.inD22-Nov-2023138 KiB3,4962,889

NEWSD22-Nov-202322.4 KiB604397

READMED22-Nov-20232.6 KiB7453

TODOD22-Nov-2023361 106

aclocal.m4D22-Nov-202336.1 KiB1,010910

config.inD22-Nov-20236.1 KiB232165

configureD22-Nov-2023584.1 KiB19,83816,703

configure.acD22-Nov-202311.5 KiB414357

configure.hostD22-Nov-202313 KiB259214

configure.tgtD22-Nov-202332.3 KiB842821

deffile.hD22-Nov-20233.9 KiB11865

deffilep.yD22-Nov-202333 KiB1,4931,253

dep-in.sedD22-Nov-2023273 2118

elf-hints-local.hD22-Nov-20231.9 KiB4716

fdl.texiD22-Nov-202323 KiB506421

gen-doc.texiD22-Nov-2023592 3429

genscrba.shD22-Nov-2023319 1715

genscripts.shD22-Nov-202314.7 KiB470293

h8-doc.texiD22-Nov-2023418 1813

ld.hD22-Nov-20238.6 KiB310145

ld.texinfoD22-Nov-2023305.2 KiB8,1797,015

ldbuildid.cD22-Nov-20233.5 KiB159118

ldbuildid.hD22-Nov-20231.3 KiB4013

ldcref.cD22-Nov-202319 KiB719505

ldctor.cD22-Nov-20239.4 KiB377248

ldctor.hD22-Nov-20232 KiB6024

ldemul.cD22-Nov-20237.7 KiB358268

ldemul.hD22-Nov-20236.9 KiB215119

ldexp.cD22-Nov-202338.1 KiB1,4691,209

ldexp.hD22-Nov-20235.5 KiB226155

ldfile.cD22-Nov-202317.6 KiB689508

ldfile.hD22-Nov-20232 KiB6230

ldgram.yD22-Nov-202331.7 KiB1,4831,310

ldint.texinfoD22-Nov-202329.9 KiB701588

ldlang.cD22-Nov-2023220.1 KiB8,1085,933

ldlang.hD22-Nov-202320.3 KiB702515

ldlex-wrapper.cD22-Nov-20231.1 KiB272

ldlex.hD22-Nov-20234.9 KiB188154

ldlex.lD22-Nov-202321.9 KiB722557

ldmain.cD22-Nov-202339.3 KiB1,5031,135

ldmain.hD22-Nov-20232.3 KiB6338

ldmisc.cD22-Nov-202312.3 KiB544384

ldmisc.hD22-Nov-20231.5 KiB4519

ldver.cD22-Nov-20231.7 KiB6033

ldver.hD22-Nov-2023886 221

ldwrite.cD22-Nov-202315.7 KiB593455

ldwrite.hD22-Nov-2023868 221

lexsup.cD22-Nov-202359.7 KiB1,7811,529

mri.cD22-Nov-20237.3 KiB321227

mri.hD22-Nov-20231.5 KiB3916

pe-dll.cD22-Nov-202392.4 KiB3,4532,546

pe-dll.hD22-Nov-20232.4 KiB7448

pep-dll.cD22-Nov-20232.8 KiB6736

pep-dll.hD22-Nov-20232.5 KiB6235

plugin.cD22-Nov-202328.9 KiB1,043774

plugin.hD22-Nov-20232.7 KiB7016

stamp-h.inD22-Nov-202310 21

sysdep.hD22-Nov-20232.4 KiB12788

testplug.cD22-Nov-202318.6 KiB622492

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
69Copyright (C) 2012-2014 Free Software Foundation, Inc.
70
71Copying and distribution of this file, with or without modification,
72are permitted in any medium without royalty provided the copyright
73notice and this notice are preserved.
74