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.
 
 
 
 
 
 
Ken Raeburn 4ad2d64031 * Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory. 32 years ago
..
config * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. 32 years ago
emulparams * configure.in (w65-*-*): New target. 32 years ago
emultempl * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 32 years ago
scripttempl fix comments 32 years ago
testsuite * ld-bootstrap/bootstrap.exp: If not in the ld build directory, 32 years ago
.Sanitize there isn't a configure script here though 32 years ago
ChangeLog * Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory. 32 years ago
ChangeLog.mpw * mpw-config.in (m68k-apple-macos, ppc-apple-macos, 32 years ago
Makefile.in Enable ld to build for RCE. This is not tested yet! 32 years ago
NEWS Add some news. 32 years ago
README Initial revision 35 years ago
TODO * ldver.c: Bump to version 0.98. 34 years ago
config.h fix my default emulation changes 34 years ago
configure resync 35 years ago
configure.bat changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 33 years ago
configure.in * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. 32 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. 34 years ago
h8-doc.texi ld.texinfo: 34 years ago
ld.1 * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. 32 years ago
ld.h * ld.h (ld_config_type): Add new field warn_once. 32 years ago
ld.texinfo * ldlang.c (load_symbols): Check for archive before object. Use 32 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 A major rewrite to move the bulk of the linker into BFD so that 33 years ago
ldexp.c * ldexp.c (fold_name): In case NAME, permit an absolute symbol 32 years ago
ldexp.h Fixed some grammer ambiguities 36 years ago
ldfile.c * ldfile.c (open_a): If this is not an archive, try to open it in 33 years ago
ldfile.h * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline 33 years ago
ldgram.y * ldlang.c (load_symbols): Check for archive before object. Use 32 years ago
ldint.texinfo minor fixes 33 years ago
ldlang.c * ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak. 32 years ago
ldlang.h * ldlang.h (lang_input_statement_type): Remove fields subfiles, 33 years ago
ldlex.h Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldlex.l * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. 33 years ago
ldmain.c * ldmain.c (undefined_symbol): Handle section being NULL. 32 years ago
ldmain.h Made many changes to eliminate gcc warnings. Made various 33 years ago
ldmisc.c Tweak the new handling of function names. 32 years ago
ldmisc.h Made many changes to eliminate gcc warnings. Made various 33 years ago
ldver.c updated version 32 years ago
ldver.h Initial revision 36 years ago
ldwrite.c * ld.h (split_by_reloc, split_by_file): New flags. 32 years ago
ldwrite.h Initial revision 36 years ago
lexsup.c * ld.h (args_type): Add new field endian. 32 years ago
mpw-config.in * mpw-config.in (m68k-apple-macos, ppc-apple-macos, 32 years ago
mpw-em.c Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
mpw-make.in * mpw-config.in (emulname): Set based on target. 33 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

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.