binutils-gdb/ld
Ken Raeburn 3bf3f99aa7 keep elf.sc 1993-07-08 23:38:49 +00:00
..
config initial v9 stuff 1993-07-08 22:44:34 +00:00
emulparams initial v9 stuff 1993-07-08 22:44:34 +00:00
emultempl * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
scripttempl keep elf.sc 1993-07-08 23:38:49 +00:00
.Sanitize * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +00:00
ChangeLog ldmisc,ldlang,Makefile changes 1993-07-08 20:28:03 +00:00
Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS) in case some target has stuff 1993-07-08 20:24:02 +00:00
NEWS New file. 1993-05-17 19:45:17 +00:00
README
TODO * ldver.c: Bump to version 0.98. 1992-09-03 06:02:56 +00:00
cdtest-foo.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 1992-08-05 04:15:37 +00:00
cdtest-foo.h * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 1992-08-05 04:15:37 +00:00
cdtest-func.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 1992-08-05 04:15:37 +00:00
cdtest-main.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 1992-08-05 04:15:37 +00:00
cdtest.exp * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 1992-08-05 04:15:37 +00:00
config.h fix my default emulation changes 1993-01-08 22:06:17 +00:00
configure
configure.bat
configure.in initial v9 stuff 1993-07-08 22:44:34 +00:00
genscripts.sh Fix previous fix. 1993-07-03 02:18:12 +00:00
h8-doc.texi ld.texinfo: 1993-03-30 23:25:03 +00:00
ld.1 * Make -v only print the version number. 1993-07-08 18:00:11 +00:00
ld.h
ld.texinfo * Make -v only print the version number. 1993-07-08 18:00:11 +00:00
ldctor.h
ldemul.c
lderror.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
lderror.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 1992-11-21 11:18:00 +00:00
ldexp.c * ldver.c: Bumped version to 1.96 - new release, resync with the 1992-05-04 23:38:42 +00:00
ldexp.h
ldfile.c
ldfile.h
ldgram.y * Make -v only print the version number. 1993-07-08 18:00:11 +00:00
ldindr.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
ldindr.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 1992-11-21 11:18:00 +00:00
ldlang.c (new_stetement): Size argument is now type size_t. 1993-07-08 20:25:26 +00:00
ldlang.h * ldver.c: Bumped version to 1.96 - new release, resync with the 1992-05-04 23:38:42 +00:00
ldlex.h
ldlex.l Don't define bfd_vma here! 1993-07-07 21:15:09 +00:00
ldmain.c Fix previous fix. 1993-07-03 02:18:12 +00:00
ldmain.h
ldmisc.c ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when no 1993-07-08 20:27:13 +00:00
ldmisc.h
ldsym.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
ldsym.h -y support 1992-12-07 16:49:54 +00:00
ldver.c * ldver.c: Increase version number to 1.97, for consistency with ../binutils. 1992-05-05 21:07:32 +00:00
ldver.h
ldwarn.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
ldwarn.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 1992-11-21 11:18:00 +00:00
ldwrite.c
ldwrite.h
mri.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
relax.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
relax.h Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 1993-01-12 00:47:20 +00:00

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.