Home | History | Annotate | only in /toolchain/binutils/binutils-2.25/ld
Up to higher level directory
NameDateSize
.gitignore24-Aug-2016147
aclocal.m424-Aug-201636.1K
ChangeLog24-Aug-201635K
ChangeLog-000124-Aug-2016110.8K
ChangeLog-020324-Aug-2016119.7K
ChangeLog-200424-Aug-201650.8K
ChangeLog-200524-Aug-201663K
ChangeLog-200624-Aug-201645.8K
ChangeLog-200724-Aug-201638.8K
ChangeLog-200824-Aug-201637.9K
ChangeLog-200924-Aug-201657.8K
ChangeLog-201024-Aug-201645.4K
ChangeLog-201124-Aug-201635.3K
ChangeLog-201224-Aug-201634.2K
ChangeLog-201324-Aug-201628.2K
ChangeLog-919724-Aug-2016274.4K
ChangeLog-989924-Aug-201670.2K
config.in24-Aug-20166.1K
configure24-Aug-2016584.1K
configure.ac24-Aug-201611.5K
configure.host24-Aug-201613K
configure.tgt24-Aug-201632.3K
deffile.h24-Aug-20163.9K
deffilep.y24-Aug-201633K
dep-in.sed24-Aug-2016273
elf-hints-local.h24-Aug-20161.9K
emulparams/24-Aug-2016
emultempl/24-Aug-2016
fdl.texi24-Aug-201623K
gen-doc.texi24-Aug-2016592
genscrba.sh24-Aug-2016319
genscripts.sh24-Aug-201614.7K
h8-doc.texi24-Aug-2016418
ld.h24-Aug-20168.6K
ld.texinfo24-Aug-2016305.2K
ldbuildid.c24-Aug-20163.5K
ldbuildid.h24-Aug-20161.3K
ldcref.c24-Aug-201619K
ldctor.c24-Aug-20169.4K
ldctor.h24-Aug-20162K
ldemul.c24-Aug-20167.7K
ldemul.h24-Aug-20166.9K
ldexp.c24-Aug-201638.1K
ldexp.h24-Aug-20165.5K
ldfile.c24-Aug-201617.6K
ldfile.h24-Aug-20162K
ldgram.y24-Aug-201631.7K
ldint.texinfo24-Aug-201629.9K
ldlang.c24-Aug-2016220.1K
ldlang.h24-Aug-201620.3K
ldlex-wrapper.c24-Aug-20161.1K
ldlex.h24-Aug-20164.9K
ldlex.l24-Aug-201621.9K
ldmain.c24-Aug-201639.3K
ldmain.h24-Aug-20162.3K
ldmisc.c24-Aug-201612.3K
ldmisc.h24-Aug-20161.5K
ldver.c24-Aug-20161.7K
ldver.h24-Aug-2016886
ldwrite.c24-Aug-201615.7K
ldwrite.h24-Aug-2016868
lexsup.c24-Aug-201659.7K
MAINTAINERS24-Aug-2016260
Makefile.am24-Aug-201674.4K
Makefile.in24-Aug-2016138K
mri.c24-Aug-20167.3K
mri.h24-Aug-20161.5K
NEWS24-Aug-201622.4K
pe-dll.c24-Aug-201692.4K
pe-dll.h24-Aug-20162.4K
pep-dll.c24-Aug-20162.8K
pep-dll.h24-Aug-20162.5K
plugin.c24-Aug-201628.9K
plugin.h24-Aug-20162.7K
po/24-Aug-2016
README24-Aug-20162.6K
scripttempl/24-Aug-2016
stamp-h.in24-Aug-201610
sysdep.h24-Aug-20162.4K
testplug.c24-Aug-201618.6K
testsuite/24-Aug-2016
TODO24-Aug-2016361

README

      1 		README for LD
      2 
      3 This is the GNU linker.  It is distributed with other "binary
      4 utilities" which should be in ../binutils.  See ../binutils/README for
      5 more general notes, including where to send bug reports.
      6 
      7 There 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 
     24 Installation
     25 ============
     26 
     27 See ../binutils/README.
     28 
     29 If you want to make a cross-linker, you may want to specify
     30 a different search path of -lfoo libraries than the default.
     31 You can do this by setting the LIB_PATH variable in ./Makefile
     32 or using the --with-lib-path configure switch.
     33 
     34 To build just the linker, make the target all-ld from the top level
     35 directory (one directory above this one).
     36 
     37 Porting to a new target
     38 =======================
     39 
     40 See the ldint.texinfo manual.
     41 
     42 Reporting bugs etc
     43 ===========================
     44 
     45 See ../binutils/README.
     46 
     47 Known problems
     48 ==============
     49 
     50 The Solaris linker normally exports all dynamic symbols from an
     51 executable.  The GNU linker does not do this by default.  This is
     52 because the GNU linker tries to present the same interface for all
     53 similar targets (in this case, all native ELF targets).  This does not
     54 matter for normal programs, but it can make a difference for programs
     55 which try to dlopen an executable, such as PERL or Tcl.  You can make
     56 the GNU linker export all dynamic symbols with the -E or
     57 --export-dynamic command line option.
     58 
     59 HP/UX 9.01 has a shell bug that causes the linker scripts to be
     60 generated incorrectly.  The symptom of this appears to be "fatal error
     61 - scanner input buffer overflow" error messages.  There are various
     62 workarounds 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 
     70 Copyright (C) 2012-2014 Free Software Foundation, Inc.
     71 
     72 Copying and distribution of this file, with or without modification,
     73 are permitted in any medium without royalty provided the copyright
     74 notice and this notice are preserved.
     75