binutils-gdb/ld
Ian Lance Taylor b9395be3af * ldmain.c (add_to_set): Add bitsize argument.
(constructor_callback): New function.
	(link_callbacks): Add constructor_callback.
	* ldctor.c (struct set_info): Add bitsize field.
	(ldctor_add_set_entry): Add bitsize argument.
	(ldctor_build_sets): Base the size of the elements of the set on
	the bitsize, rather than always using LONG.
	* ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
1994-01-06 20:04:26 +00:00
..
config Add vsta.mt and vsta.sh. 1994-01-04 16:35:49 +00:00
emulparams Add vsta.mt and vsta.sh. 1994-01-04 16:35:49 +00:00
emultempl A major rewrite to move the bulk of the linker into BFD so that 1993-12-30 19:51:41 +00:00
scripttempl More correct m68k LynxOS support 1993-11-12 00:37:00 +00:00
testsuite Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp 1993-09-10 17:00:19 +00:00
.Sanitize Removed files that are no longer used by the rewritten linker. 1993-12-30 19:57:49 +00:00
cdtest-foo.cc
cdtest-foo.h
cdtest-func.cc
cdtest-main.cc
cdtest.exp
ChangeLog * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, 1994-01-06 05:14:48 +00:00
config.h fix my default emulation changes 1993-01-08 22:06:17 +00:00
configure
configure.bat
configure.in * configure.in: Group targets by CPU. Merge some m68k target entries with 1993-12-01 22:14:05 +00:00
dep-in.sed New file used for rebuilding dependencies. 1993-12-13 19:37:22 +00:00
genscripts.sh The default script is now compiled in; the others are still in the filesystem. 1993-07-22 00:33:10 +00:00
h8-doc.texi ld.texinfo: 1993-03-30 23:25:03 +00:00
ld.1 clarify reason for -sort-common 1993-10-29 00:30:51 +00:00
ld.h * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle 1993-10-15 09:29:32 +00:00
ld.texinfo * ld.h (QUAD_SIZE): Define. 1994-01-06 19:38:36 +00:00
ldctor.c Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldctor.h
ldemul.c A major rewrite to move the bulk of the linker into BFD so that 1993-12-30 19:51:41 +00:00
ldexp.c Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldexp.h
ldfile.c Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldfile.h
ldgram.y * ld.h (QUAD_SIZE): Define. 1994-01-06 19:38:36 +00:00
ldint.texinfo minor fixes 1993-12-31 21:08:12 +00:00
ldlang.c * ld.h (QUAD_SIZE): Define. 1994-01-06 19:38:36 +00:00
ldlang.h Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldlex.h Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldlex.l * ld.h (QUAD_SIZE): Define. 1994-01-06 19:38:36 +00:00
ldmain.c * ldmain.c (add_to_set): Add bitsize argument. 1994-01-06 20:04:26 +00:00
ldmain.h Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldmisc.c Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldmisc.h Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
ldver.c
ldver.h
ldwrite.c A major rewrite to move the bulk of the linker into BFD so that 1993-12-30 19:51:41 +00:00
ldwrite.h
Makefile.in A major rewrite to move the bulk of the linker into BFD so that 1993-12-30 19:51:41 +00:00
mri.c Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +00:00
mri.h Made many changes to eliminate gcc warnings. Made various 1993-12-11 22:55:55 +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

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.