• Home
Name Date Size #Lines LOC

..--

emulparams/03-May-2024-5,7054,396

emultempl/03-May-2024-24,30320,819

po/03-May-2024-36,09628,232

scripttempl/03-May-2024-17,12415,206

testsuite/03-May-2024-284,779248,994

.gitignoreD03-May-2024147 1714

ChangeLogD03-May-202490.9 KiB2,4742,024

ChangeLog-0001D03-May-2024110.8 KiB3,3832,457

ChangeLog-0203D03-May-2024119.7 KiB3,5872,624

ChangeLog-2004D03-May-202450.8 KiB1,4491,074

ChangeLog-2005D03-May-202463 KiB1,8491,370

ChangeLog-2006D03-May-202445.8 KiB1,3711,024

ChangeLog-2007D03-May-202438.8 KiB1,194880

ChangeLog-2008D03-May-202437.9 KiB1,106855

ChangeLog-2009D03-May-202457.8 KiB1,6501,272

ChangeLog-2010D03-May-202445.4 KiB1,3821,033

ChangeLog-2011D03-May-202435.3 KiB1,081803

ChangeLog-2012D03-May-202434.2 KiB1,042788

ChangeLog-2013D03-May-202428.2 KiB884642

ChangeLog-2014D03-May-202437.2 KiB1,115838

ChangeLog-2015D03-May-202438.9 KiB1,206901

ChangeLog-9197D03-May-2024274.4 KiB7,6085,434

ChangeLog-9899D03-May-202470.2 KiB2,1151,480

MAINTAINERSD03-May-2024260 85

Makefile.amD03-May-202478.8 KiB2,2461,705

Makefile.inD03-May-2024151.4 KiB3,7413,109

NEWSD03-May-202424.3 KiB654430

READMED03-May-20242.6 KiB7453

TODOD03-May-2024361 106

aclocal.m4D03-May-202436.4 KiB1,030925

config.inD03-May-20246.4 KiB241171

configureD03-May-2024589.3 KiB20,01316,854

configure.acD03-May-202413 KiB464403

configure.hostD03-May-202413 KiB259214

configure.tgtD03-May-202434.8 KiB910888

deffile.hD03-May-20243.9 KiB11865

deffilep.yD03-May-202433 KiB1,4931,253

dep-in.sedD03-May-2024273 2118

elf-hints-local.hD03-May-20241.9 KiB4716

fdl.texiD03-May-202423 KiB506421

gen-doc.texiD03-May-2024592 3429

genscrba.shD03-May-2024319 1715

genscripts.shD03-May-202413.9 KiB441270

h8-doc.texiD03-May-2024418 1813

ld.hD03-May-20249.3 KiB340159

ld.texinfoD03-May-2024317.1 KiB8,4667,257

ldbuildid.cD03-May-20243.5 KiB159118

ldbuildid.hD03-May-20241.3 KiB4013

ldcref.cD03-May-202419.3 KiB732514

ldctor.cD03-May-20249.4 KiB377248

ldctor.hD03-May-20242 KiB6024

ldemul.cD03-May-20247.7 KiB358268

ldemul.hD03-May-20246.9 KiB215119

ldexp.cD03-May-202442.4 KiB1,6131,306

ldexp.hD03-May-20245.6 KiB228157

ldfile.cD03-May-202417.6 KiB686503

ldfile.hD03-May-20242 KiB6230

ldgram.yD03-May-202431.8 KiB1,4871,314

ldint.texinfoD03-May-202429.8 KiB701588

ldlang.cD03-May-2024225.7 KiB8,3606,119

ldlang.hD03-May-202420.3 KiB703517

ldlex-wrapper.cD03-May-20241.1 KiB272

ldlex.hD03-May-20245 KiB192158

ldlex.lD03-May-202421.9 KiB723558

ldmain.cD03-May-202439.1 KiB1,4981,136

ldmain.hD03-May-20242.3 KiB6338

ldmisc.cD03-May-202412.5 KiB548388

ldmisc.hD03-May-20241.5 KiB4519

ldver.cD03-May-20241.7 KiB6033

ldver.hD03-May-2024886 221

ldwrite.cD03-May-202415.6 KiB589451

ldwrite.hD03-May-2024868 221

lexsup.cD03-May-202467.5 KiB1,9791,710

mri.cD03-May-20247.3 KiB321227

mri.hD03-May-20241.5 KiB3916

pe-dll.cD03-May-202493.6 KiB3,5032,574

pe-dll.hD03-May-20242.4 KiB7448

pep-dll.cD03-May-20242.8 KiB6736

pep-dll.hD03-May-20242.5 KiB6235

plugin.cD03-May-202437.3 KiB1,3801,033

plugin.hD03-May-20242.1 KiB5813

stamp-h.inD03-May-202410 21

sysdep.hD03-May-20242.4 KiB12788

testplug.cD03-May-202418.7 KiB628498

testplug2.cD03-May-202420 KiB669536

testplug3.cD03-May-202418.7 KiB627491

testplug4.cD03-May-202420.4 KiB675542

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-2016 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