Index of /archives/NetBSD/NetBSD-release-10/src/external/gpl3/binutils.old/dist/ld
Name Last modified Size Description
Parent Directory -
CVS/ 2025-03-31 12:07 -
ChangeLog 2020-04-04 02:51 114K
ChangeLog-0001 2018-04-15 00:49 111K
ChangeLog-0203 2018-04-15 00:49 120K
ChangeLog-2004 2018-04-15 00:49 51K
ChangeLog-2005 2018-04-15 00:49 63K
ChangeLog-2006 2018-04-15 00:49 46K
ChangeLog-2007 2018-04-15 00:49 39K
ChangeLog-2008 2018-04-15 00:49 38K
ChangeLog-2009 2018-04-15 00:49 58K
ChangeLog-2010 2018-04-15 00:49 45K
ChangeLog-2011 2018-04-15 00:49 35K
ChangeLog-2012 2018-04-15 00:49 34K
ChangeLog-2013 2018-04-15 00:49 28K
ChangeLog-2014 2018-04-15 00:49 37K
ChangeLog-2015 2018-04-15 00:37 39K
ChangeLog-2016 2020-04-04 02:41 153K
ChangeLog-2017 2020-04-04 02:41 144K
ChangeLog-9197 2018-04-15 00:49 274K
ChangeLog-9899 2018-04-15 00:49 70K
MAINTAINERS 2020-04-04 02:51 260
Makefile.am 2020-04-04 02:51 73K
Makefile.in 2020-04-04 02:51 146K
NEWS 2020-04-04 02:51 28K
README 2020-04-04 02:51 2.6K
TODO 2018-04-15 00:49 361
aclocal.m4 2020-04-04 02:51 43K
config.in 2020-04-04 02:51 6.8K
configure 2020-04-04 02:51 602K
configure.ac 2020-04-04 02:51 15K
configure.host 2020-04-04 02:51 1.0K
configure.tgt 2020-04-04 02:51 35K
deffile.h 2020-04-04 02:51 4.2K
deffilep.c 2020-04-04 02:51 93K
deffilep.h 2020-04-04 02:51 3.2K
deffilep.y 2020-04-04 02:51 34K
dep-in.sed 2018-04-15 00:49 273
elf-hints-local.h 2018-04-15 00:49 1.9K
emulparams/ 2022-12-18 05:32 -
emultempl/ 2022-12-18 05:32 -
fdl.texi 2018-04-15 00:49 23K
gen-doc.texi 2020-04-04 02:51 600
genscrba.sh 2018-04-15 00:49 319
genscripts.sh 2020-04-04 02:51 17K
h8-doc.texi 2020-04-04 02:51 415
ld.1 2020-04-04 02:51 127K
ld.h 2020-04-04 02:51 9.5K
ld.info 2020-04-04 02:51 402K
ld.texi 2020-04-04 02:41 328K
ldbuildid.c 2020-04-04 02:51 4.2K
ldbuildid.h 2020-04-04 02:51 1.3K
ldcref.c 2020-04-04 02:51 19K
ldctor.c 2020-04-04 02:51 9.7K
ldctor.h 2020-04-04 02:51 2.0K
ldemul.c 2020-04-04 02:51 8.1K
ldemul.h 2020-04-04 02:51 7.1K
ldexp.c 2020-04-04 02:51 44K
ldexp.h 2020-04-04 02:51 6.1K
ldfile.c 2020-04-04 02:51 17K
ldfile.h 2020-04-04 02:51 2.0K
ldgram.c 2020-04-04 02:51 162K
ldgram.h 2020-04-04 02:51 8.0K
ldgram.y 2020-04-04 02:51 31K
ldint.texi 2020-04-04 02:41 30K
ldlang.c 2020-04-04 02:51 237K
ldlang.h 2020-04-04 02:51 21K
ldlex-wrapper.c 2020-04-04 02:51 1.1K
ldlex.c 2020-04-04 02:51 142K
ldlex.h 2020-04-04 02:51 4.9K
ldlex.l 2020-04-04 02:51 22K
ldmain.c 2020-04-04 02:51 40K
ldmain.h 2020-04-04 02:51 2.3K
ldmisc.c 2020-04-04 02:51 15K
ldmisc.h 2020-04-04 02:51 1.5K
ldver.c 2020-04-04 02:51 1.7K
ldver.h 2020-04-04 02:51 886
ldwrite.c 2020-04-04 02:51 16K
ldwrite.h 2020-04-04 02:51 868
lexsup.c 2020-04-04 02:51 68K
mri.c 2020-04-04 02:51 7.1K
mri.h 2020-04-04 02:51 1.5K
pe-dll.c 2020-04-04 02:51 97K
pe-dll.h 2020-04-04 02:51 2.5K
pep-dll.c 2020-04-04 02:51 2.7K
pep-dll.h 2020-04-04 02:51 2.5K
plugin.c 2020-04-04 02:51 37K
plugin.h 2020-04-04 02:51 2.1K
po/ 2022-12-18 05:32 -
scripttempl/ 2022-12-18 05:32 -
stamp-h.in 2018-04-15 00:49 10
sysdep.h 2020-04-04 02:51 2.4K
testplug.c 2020-04-04 02:51 20K
testplug2.c 2020-04-04 02:51 20K
testplug3.c 2020-04-04 02:51 19K
testplug4.c 2020-04-04 02:41 20K
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.