You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Alan Modra cc9afea3e4 * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical 13 years ago
..
emulparams bfd/ 13 years ago
emultempl * emultempl/pe.em: Add --disable-large-address-aware option. 13 years ago
po Updated Ukranian translations. 14 years ago
scripttempl Fix typo. 13 years ago
testsuite 2013-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 13 years ago
.gitignore bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore 16 years ago
ChangeLog * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical 13 years ago
ChangeLog-0001 Add copyright notices 13 years ago
ChangeLog-0203 Add copyright notices 13 years ago
ChangeLog-2004 Add copyright notices 13 years ago
ChangeLog-2005 Add copyright notices 13 years ago
ChangeLog-2006 Add copyright notices 13 years ago
ChangeLog-2007 Add copyright notices 13 years ago
ChangeLog-2008 Add copyright notices 13 years ago
ChangeLog-2009 Add copyright notices 13 years ago
ChangeLog-2010 Add copyright notices 13 years ago
ChangeLog-2011 Add copyright notices 13 years ago
ChangeLog-2012 Rotate binutils ChangeLog for 2013 13 years ago
ChangeLog-9197 Add copyright notices 13 years ago
ChangeLog-9899 Add copyright notices 13 years ago
MAINTAINERS Add copyright notices 13 years ago
Makefile.am [AArch64, ILP32] 6/6 Add big-endian targets 13 years ago
Makefile.in [AArch64, ILP32] 6/6 Add big-endian targets 13 years ago
NEWS binutils/ 13 years ago
README Add copyright notices 13 years ago
TODO 19990502 sourceware import 27 years ago
aclocal.m4 * configure.in (AC_CHECK_FUNCS): Add setlocale. 14 years ago
config.in * config.in: Disable sanity check for kfreebsd. 14 years ago
configure * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical 13 years ago
configure.host * configure.host: Add x86_64-*-cygwin* as valid host. 13 years ago
configure.in Add HOSTING_SCRT0 for PIE test 13 years ago
configure.tgt [AArch64, ILP32] 6/6 Add big-endian targets 13 years ago
deffile.h 2011-04-13 Kai Tietz <ktietz@redhat.com> 15 years ago
deffilep.y PR ld/15957 13 years ago
dep-in.sed * dep-in.sed: Don't use \n in replacement part of s command. 17 years ago
elf-hints-local.h Remove trailing white spaces in ld 13 years ago
fdl.texi etc/ChangeLog 16 years ago
gen-doc.texi bfd/ 13 years ago
genscrba.sh ld: 18 years ago
genscripts.sh Add SORT_BY_INIT_PRIORITY. 16 years ago
h8-doc.texi Add copyright notices 13 years ago
ld.h ld/ 14 years ago
ld.texinfo PR ld/15896 13 years ago
ldcref.c * ldcref.c (output_one_cref): Place common definitions after 13 years ago
ldctor.c bfd/ 14 years ago
ldctor.h update copyright dates 17 years ago
ldemul.c ld/ 14 years ago
ldemul.h update copyright dates 17 years ago
ldexp.c * ldexp.c: Add LOG2CEIL() builtin function to linker script language 13 years ago
ldexp.h PR ld/14962 13 years ago
ldfile.c * ldfile.c (ldfile_open_command_file_1): Return after einfo 13 years ago
ldfile.h PR ld/10340 14 years ago
ldgram.y * ldexp.c: Add LOG2CEIL() builtin function to linker script language 13 years ago
ldint.texinfo Add directory section for info document. 16 years ago
ldlang.c * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. 13 years ago
ldlang.h * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. 13 years ago
ldlex-wrapper.c Add copyright notices 13 years ago
ldlex.h * ld.texinfo (-Tldata-segment): Describe. 13 years ago
ldlex.l * ldexp.c: Add LOG2CEIL() builtin function to linker script language 13 years ago
ldmain.c * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) 13 years ago
ldmain.h * archures.c: Add some more MSP430 machine numbers. 13 years ago
ldmisc.c Remove trailing white spaces in ld 13 years ago
ldmisc.h Applied patch series for LD plugin interface (six parts). 16 years ago
ldver.c Update copyright year to 2013 13 years ago
ldver.h update copyright dates 17 years ago
ldwrite.c Remove trailing white spaces in ld 13 years ago
ldwrite.h update copyright dates 17 years ago
lexsup.c * ld.texinfo (-Tldata-segment): Describe. 13 years ago
mri.c * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. 13 years ago
mri.h update copyright dates 17 years ago
pe-dll.c * pe-dll.c (process_def_file_and_drectve): Don't handle VC 13 years ago
pe-dll.h 2010-04-05 Kai Tietz <kai.tietz@onevision.com> 16 years ago
pep-dll.c 2010-04-05 Kai Tietz <kai.tietz@onevision.com> 16 years ago
pep-dll.h 2010-04-05 Kai Tietz <kai.tietz@onevision.com> 16 years ago
plugin.c 2013-02-19 Sandra Loosemore <sandra@codesourcery.com> 13 years ago
plugin.h Improve plugin error handling 14 years ago
stamp-h.in 19990502 sourceware import 27 years ago
sysdep.h PR 14072 14 years ago
testplug.c Remove trailing redundant `;' 14 years ago

README

		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.texinfo), as well as the
beginnings of an internals manual (ldint.texinfo).

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.texinfo 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 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.