[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /pub/os/NetBSD/NetBSD-release-10/src/external/gpl3/binutils/dist/ld/
 
Current bandwidth utilization 1216.89 Mbit/s
Bandwidth utilization bar
Contents of 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.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-2020 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.

Icon  Name                                                              Last modified      Size  
[DIR] Parent Directory - [DIR] CVS/ 01-Jul-2024 05:08 - [DIR] emulparams/ 17-Dec-2022 21:32 - [DIR] emultempl/ 17-Dec-2022 21:32 - [DIR] po/ 17-Dec-2022 21:32 - [DIR] scripttempl/ 17-Dec-2022 21:32 - [   ] ChangeLog 04-Apr-2020 01:48 6.7K [   ] ChangeLog-0001 29-Jan-2016 13:45 111K [TXT] ChangeLog-0203 29-Jan-2016 13:45 120K [TXT] ChangeLog-2004 29-Jan-2016 13:45 51K [   ] ChangeLog-2005 29-Jan-2016 13:45 63K [TXT] ChangeLog-2006 29-Jan-2016 13:45 46K [TXT] ChangeLog-2007 29-Jan-2016 13:45 39K [   ] ChangeLog-2008 29-Jan-2016 13:45 38K [TXT] ChangeLog-2009 29-Jan-2016 13:45 58K [   ] ChangeLog-2010 29-Jan-2016 13:45 45K [TXT] ChangeLog-2011 29-Jan-2016 13:45 35K [TXT] ChangeLog-2012 29-Jan-2016 13:45 34K [   ] ChangeLog-2013 29-Jan-2016 13:45 28K [   ] ChangeLog-2014 29-Jan-2016 13:45 37K [TXT] ChangeLog-2015 26-Oct-2016 19:30 39K [   ] ChangeLog-2016 15-Apr-2018 00:17 153K [   ] ChangeLog-2017 15-Apr-2018 00:17 144K [   ] ChangeLog-2018 04-Apr-2020 01:40 180K [   ] ChangeLog-2019 04-Apr-2020 01:40 110K [TXT] ChangeLog-9197 29-Jan-2016 13:45 274K [   ] ChangeLog-9899 29-Jan-2016 13:45 70K [TXT] MAINTAINERS 04-Apr-2020 01:40 260 [TXT] Makefile.am 04-Apr-2020 01:48 45K [TXT] Makefile.in 04-Apr-2020 01:48 119K [TXT] NEWS 04-Apr-2020 01:40 29K [TXT] README 04-Apr-2020 01:40 2.6K [TXT] TODO 18-Aug-2009 12:16 361 [TXT] aclocal.m4 04-Apr-2020 01:40 43K [TXT] config.in 06-Nov-2018 22:19 6.8K [TXT] configure 04-Apr-2020 01:48 601K [TXT] configure.ac 04-Apr-2020 01:48 15K [TXT] configure.host 04-Apr-2020 01:48 1.0K [TXT] configure.tgt 26-Apr-2021 17:38 37K [TXT] deffile.h 04-Apr-2020 01:40 4.2K [TXT] deffilep.c 04-Apr-2020 01:40 94K [TXT] deffilep.h 04-Apr-2020 01:40 3.3K [TXT] deffilep.y 04-Apr-2020 01:40 35K [   ] dep-in.sed 25-Sep-2011 00:19 273 [TXT] elf-hints-local.h 29-Jan-2016 13:45 1.9K [   ] fdl.texi 25-Sep-2011 00:19 23K [   ] gen-doc.texi 04-Apr-2020 01:40 610 [   ] genscrba.sh 04-Apr-2020 01:40 319 [   ] genscripts.sh 04-Apr-2020 01:48 21K [   ] h8-doc.texi 04-Apr-2020 01:40 415 [TXT] ld.1 04-Apr-2020 01:40 131K [TXT] ld.h 04-Apr-2020 01:40 9.1K [TXT] ld.info 04-Apr-2020 01:40 406K [   ] ld.texi 04-Apr-2020 01:40 332K [TXT] ldbuildid.c 04-Apr-2020 01:40 4.2K [TXT] ldbuildid.h 04-Apr-2020 01:40 1.3K [TXT] ldcref.c 04-Apr-2020 01:40 19K [TXT] ldctor.c 04-Apr-2020 01:48 9.8K [TXT] ldctor.h 04-Apr-2020 01:40 2.0K [TXT] ldelf.c 04-Apr-2020 01:40 59K [TXT] ldelf.h 04-Apr-2020 01:40 1.5K [TXT] ldelfgen.c 04-Apr-2020 01:40 5.3K [TXT] ldelfgen.h 04-Apr-2020 01:40 1.2K [TXT] ldemul.c 04-Apr-2020 01:48 9.1K [TXT] ldemul.h 04-Apr-2020 01:48 8.2K [TXT] ldexp.c 04-Apr-2020 01:48 44K [TXT] ldexp.h 04-Apr-2020 01:40 6.2K [TXT] ldfile.c 04-Apr-2020 01:40 18K [TXT] ldfile.h 04-Apr-2020 01:40 2.1K [TXT] ldgram.c 04-Apr-2020 01:48 162K [TXT] ldgram.h 04-Apr-2020 01:48 8.0K [TXT] ldgram.y 04-Apr-2020 01:40 31K [   ] ldint.texi 04-Apr-2020 01:40 30K [TXT] ldlang.c 04-Apr-2020 01:48 251K [TXT] ldlang.h 04-Apr-2020 01:48 20K [TXT] ldlex-wrapper.c 04-Apr-2020 01:40 1.1K [TXT] ldlex.c 04-Apr-2020 01:48 141K [TXT] ldlex.h 04-Apr-2020 01:48 5.0K [TXT] ldlex.l 04-Apr-2020 01:48 22K [TXT] ldmain.c 04-Apr-2020 01:48 41K [TXT] ldmain.h 04-Apr-2020 01:48 2.3K [TXT] ldmisc.c 04-Apr-2020 01:40 15K [TXT] ldmisc.h 04-Apr-2020 01:40 1.5K [TXT] ldver.c 04-Apr-2020 01:40 1.8K [TXT] ldver.h 04-Apr-2020 01:40 886 [TXT] ldwrite.c 04-Apr-2020 01:40 15K [TXT] ldwrite.h 04-Apr-2020 01:40 868 [TXT] lexsup.c 04-Apr-2020 01:48 69K [TXT] mri.c 04-Apr-2020 01:40 7.2K [TXT] mri.h 04-Apr-2020 01:40 1.5K [TXT] pe-dll.c 04-Apr-2020 01:40 97K [TXT] pe-dll.h 04-Apr-2020 01:40 2.5K [TXT] pep-dll.c 04-Apr-2020 01:40 2.8K [TXT] pep-dll.h 04-Apr-2020 01:40 2.6K [TXT] plugin.c 04-Apr-2020 01:40 39K [TXT] plugin.h 04-Apr-2020 01:40 2.1K [   ] stamp-h.in 18-Aug-2009 12:16 10 [TXT] sysdep.h 04-Apr-2020 01:40 2.4K [TXT] testplug.c 04-Apr-2020 01:40 20K [TXT] testplug2.c 04-Apr-2020 01:40 20K [TXT] testplug3.c 04-Apr-2020 01:40 19K [TXT] testplug4.c 04-Apr-2020 01:40 20K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!