Index of /archives/NetBSD/NetBSD-release-9/src/external/gpl3/binutils/dist/ld
Name Last modified Size Description
Parent Directory -
configure 2018-11-07 10:13 602K
ld.info 2018-11-07 06:19 402K
ld.texi 2018-11-07 06:19 328K
ChangeLog-9197 2016-01-29 21:45 274K
ldlang.c 2018-11-07 10:13 237K
ldgram.c 2018-11-07 10:13 162K
ChangeLog-2016 2018-04-15 07:17 153K
Makefile.in 2018-11-07 10:13 146K
ChangeLog-2017 2018-04-15 07:17 144K
ldlex.c 2018-11-07 10:13 142K
ld.1 2018-11-07 06:19 127K
ChangeLog-0203 2016-01-29 21:45 120K
ChangeLog 2018-11-07 10:13 114K
ChangeLog-0001 2016-01-29 21:45 111K
pe-dll.c 2018-11-07 06:19 97K
deffilep.c 2018-11-07 06:19 93K
Makefile.am 2018-11-07 10:13 73K
ChangeLog-9899 2016-01-29 21:45 70K
lexsup.c 2018-11-07 10:13 68K
ChangeLog-2005 2016-01-29 21:45 63K
ChangeLog-2009 2016-01-29 21:45 58K
ChangeLog-2004 2016-01-29 21:45 51K
ChangeLog-2006 2016-01-29 21:45 46K
ChangeLog-2010 2016-01-29 21:45 45K
ldexp.c 2018-11-07 10:13 44K
aclocal.m4 2018-11-07 06:19 43K
ldmain.c 2018-11-07 10:13 40K
ChangeLog-2015 2016-10-27 02:30 39K
ChangeLog-2007 2016-01-29 21:45 39K
ChangeLog-2008 2016-01-29 21:45 38K
ChangeLog-2014 2016-01-29 21:45 37K
plugin.c 2018-11-07 06:19 37K
ChangeLog-2011 2016-01-29 21:45 35K
configure.tgt 2019-04-18 19:07 35K
deffilep.y 2018-11-07 06:19 34K
ChangeLog-2012 2016-01-29 21:45 34K
ldgram.y 2018-11-07 06:19 31K
ldint.texi 2018-11-07 06:19 30K
ChangeLog-2013 2016-01-29 21:45 28K
NEWS 2018-11-07 06:19 28K
fdl.texi 2011-09-25 07:19 23K
ldlex.l 2018-11-07 10:13 22K
ldlang.h 2018-11-07 10:13 21K
testplug4.c 2018-04-15 07:17 20K
testplug2.c 2018-04-15 07:17 20K
testplug.c 2018-04-15 07:17 20K
ldcref.c 2018-11-07 06:19 19K
testplug3.c 2018-04-15 07:17 19K
genscripts.sh 2018-11-07 10:13 17K
ldfile.c 2018-11-07 06:19 17K
ldwrite.c 2018-11-07 06:19 16K
configure.ac 2018-12-27 23:53 15K
ldmisc.c 2018-11-07 06:19 15K
ldctor.c 2018-11-07 10:13 9.7K
ld.h 2018-04-15 07:17 9.5K
ldemul.c 2018-11-07 10:13 8.1K
ldgram.h 2018-04-16 05:06 8.0K
mri.c 2018-11-07 06:19 7.1K
ldemul.h 2018-04-16 05:06 7.1K
config.in 2018-11-07 06:19 6.8K
ldexp.h 2018-04-15 07:17 6.1K
ldlex.h 2018-11-07 10:13 4.9K
deffile.h 2018-11-07 06:19 4.2K
ldbuildid.c 2018-04-15 07:17 4.2K
deffilep.h 2018-04-15 07:17 3.2K
pep-dll.c 2018-11-07 06:19 2.7K
README 2018-11-07 06:19 2.6K
pep-dll.h 2018-11-07 06:19 2.5K
pe-dll.h 2018-11-07 06:19 2.5K
sysdep.h 2018-04-15 07:17 2.4K
ldmain.h 2018-04-16 05:06 2.3K
plugin.h 2018-04-15 07:17 2.1K
ldctor.h 2018-04-15 07:17 2.0K
ldfile.h 2018-04-15 07:17 2.0K
elf-hints-local.h 2016-01-29 21:45 1.9K
ldver.c 2018-04-15 07:17 1.7K
ldmisc.h 2018-04-15 07:17 1.5K
mri.h 2018-04-15 07:17 1.5K
ldbuildid.h 2018-04-15 07:17 1.3K
ldlex-wrapper.c 2018-04-15 07:17 1.1K
configure.host 2018-11-07 10:13 1.0K
ldver.h 2018-04-15 07:17 886
ldwrite.h 2018-04-15 07:17 868
gen-doc.texi 2018-11-07 06:19 600
h8-doc.texi 2018-11-07 06:19 415
TODO 2009-08-18 19:16 361
genscrba.sh 2009-08-18 19:16 319
dep-in.sed 2011-09-25 07:19 273
MAINTAINERS 2018-04-15 07:17 260
.gitignore 2013-09-29 22:45 147
stamp-h.in 2009-08-18 19:16 10
scripttempl/ 2024-02-15 03:47 -
po/ 2024-02-15 03:47 -
emultempl/ 2024-02-15 03:47 -
emulparams/ 2024-02-15 03:47 -
CVS/ 2025-02-01 12:13 -
README for LD
This is the GNU linker. It is distributed with other "binary
utilities" which should be in ../binutils. See ../binutils/README for
more general notes, including where to send bug reports.
There are many features of the linker:
* The linker uses a Binary File Descriptor library (../bfd)
that it uses to read and write object files. This helps
insulate the linker itself from the format of object files.
* The linker supports a number of different object file
formats. It can even handle multiple formats at once:
Read two input formats and write a third.
* The linker can be configured for cross-linking.
* The linker supports a control language.
* There is a user manual (ld.texi), as well as the
beginnings of an internals manual (ldint.texi).
Installation
============
See ../binutils/README.
If you want to make a cross-linker, you may want to specify
a different search path of -lfoo libraries than the default.
You can do this by setting the LIB_PATH variable in ./Makefile
or using the --with-lib-path configure switch.
To build just the linker, make the target all-ld from the top level
directory (one directory above this one).
Porting to a new target
=======================
See the ldint.texi manual.
Reporting bugs etc
===========================
See ../binutils/README.
Known problems
==============
The Solaris linker normally exports all dynamic symbols from an
executable. The GNU linker does not do this by default. This is
because the GNU linker tries to present the same interface for all
similar targets (in this case, all native ELF targets). This does not
matter for normal programs, but it can make a difference for programs
which try to dlopen an executable, such as PERL or Tcl. You can make
the GNU linker export all dynamic symbols with the -E or
--export-dynamic command line option.
HP/UX 9.01 has a shell bug that causes the linker scripts to be
generated incorrectly. The symptom of this appears to be "fatal error
- scanner input buffer overflow" error messages. There are various
workarounds to this:
* Build and install bash, and build with "make SHELL=bash".
* Update to a version of HP/UX with a working shell (e.g., 9.05).
* Replace "(. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc)" in
genscripts.sh with "sh ${srcdir}..." (no parens) and make sure the
emulparams script used exports any shell variables it sets.
Copyright (C) 2012-2018 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.