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.
 
 
 
 
 
 
Fred Fish f403d30440 * ldlang.c (lang_memory_region_lookup): Remove extraneous 29 years ago
..
emulparams Remove arc sanitization. 29 years ago
emultempl * emultempl/m88kbcs.em: Remove. 30 years ago
scripttempl Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> 29 years ago
testsuite * config/default.exp: Change ld, as, nm and strip from .new to 29 years ago
.Sanitize * configure.tgt (arc-*-elf*): Recognize. 29 years ago
ChangeLog * ldlang.c (lang_memory_region_lookup): Remove extraneous 29 years ago
Makefile.am * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. 29 years ago
Makefile.in * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. 29 years ago
NEWS improve format 30 years ago
README Initial revision 35 years ago
TODO * ldver.c: Bump to version 0.98. 34 years ago
acconfig.h * Makefile.am: New file, based on old Makefile.in. 29 years ago
acinclude.m4 * Makefile.am: New file, based on old Makefile.in. 29 years ago
config.in * config.in: Rename from config.h.in. 31 years ago
configure * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for 29 years ago
configure.bat changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 32 years ago
configure.host From Manfred Hollstein <manfred@s-direktnet.de>: 29 years ago
configure.in * Makefile.am: New file, based on old Makefile.in. 29 years ago
configure.tgt * configure.tgt (arc-*-elf*): Recognize. 29 years ago
dep-in.sed New file used for rebuilding dependencies. 33 years ago
genscripts.sh The default script is now compiled in; the others are still in the filesystem. 33 years ago
h8-doc.texi ld.texinfo: 34 years ago
ld.1 * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib 30 years ago
ld.h update copyright 30 years ago
ld.texinfo * ld.texinfo (Options): Improve documentation of --filter and 30 years ago
ldcref.c * ldcref.c (check_nocrossref): Skip symbols with no output 30 years ago
ldctor.c * ldctor.c (ldctor_add_set_entry): Don't dump core if a 32 years ago
ldctor.h Initial revision 35 years ago
ldemul.c * ldemul.c (ldemul_list_emulations): New function. 32 years ago
ldexp.c * ldgram.y (LOADADDR): New terminal. 30 years ago
ldexp.h Fixed some grammer ambiguities 36 years ago
ldfile.c * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to 31 years ago
ldfile.h * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline 32 years ago
ldgram.y * ldgram.y (LOADADDR): New terminal. 30 years ago
ldint.texinfo minor fixes 33 years ago
ldlang.c * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a 29 years ago
ldlang.h * ld.h (check_nocrossrefs): Declare. 30 years ago
ldlex.h Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldlex.l Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 29 years ago
ldmain.c * ldmain.c (multiple_definition): Only skip the warning if the 29 years ago
ldmain.h Made many changes to eliminate gcc warnings. Made various 33 years ago
ldmisc.c * ldmisc.h (demangle): Declare. 30 years ago
ldmisc.h * ldmisc.h (demangle): Declare. 30 years ago
ldver.c updated version 32 years ago
ldver.h Initial revision 35 years ago
ldwrite.c * ldmisc.h (demangle): Declare. 30 years ago
ldwrite.h Initial revision 36 years ago
lexsup.c * lexsup.c (ld_options): Fix typo in --rpath-link description. 30 years ago
mac-ld.r * mpw-config.in: Recognize mips-*-* as equivalent to 31 years ago
mpw-config.in * mpw-idtmips.c: Rename from mpw-emipsidt.c. 29 years ago
mpw-elfmips.c * mpw-idtmips.c: Rename from mpw-emipsidt.c. 29 years ago
mpw-eppcmac.c Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 29 years ago
mpw-esh.c * configure.in: Rewrite to use autoconf. 31 years ago
mpw-idtmips.c Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 29 years ago
mpw-make.sed * mpw-make.sed: Use NewFolderRecursive for installation. 30 years ago
mri.c Made many changes to eliminate gcc warnings. Made various 33 years ago
mri.h Made many changes to eliminate gcc warnings. Made various 33 years ago
stamp-h.in * Makefile.am: New file, based on old Makefile.in. 29 years ago
sysdep.h * configure.in: Rewrite to use autoconf. 31 years ago

README

This is a BETA release of a completely rewritten 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 new 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 support 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 contains a control language.

* There is a manual.

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.

Porting to a new target
=======================

A new target configuration may need a new linker script (.sc file)
to specify linker actions (such as the layout of the output).
See if one of the existing ones are suitable.
Note that the Makefile generates variants of the standard script
that are used when ld is passed -r -Ur -N or -n options.
These variant default scripts are generated from the "master"
script using sed scripts that may not work in all cases.
Look at the rules and comments in ld/Makefile.in to make sure
you stay with the rules.

Otherwise, you may need to add a new "emulation" (a sample of a
recently added target and emulation is for the SOny 68k News
family - look for files named *news*).

Also see the notes in ../binutils/README.

Reporting bugs etc
===========================
See ../binutils/README.