binutils-gdb/ld
Ian Lance Taylor 2332114c71 * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
* emulparams/elf32mipsb.sh (DATA_ADDR): Define.
	(OTHER_READONLY_SECTIONS): Define for .reginfo.
	(EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
	* scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
	Move OTHER_READONLY_SECTIONS after all the other readonly
	sections.  Don't use DATA_ADDR twice.
1993-11-19 19:31:51 +00:00
..
config Keep Lynx file 1993-11-01 19:27:15 +00:00
emulparams * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. 1993-11-19 19:31:51 +00:00
emultempl * emultempl/hppaosf.em: Various fixes and support for linker stub 1993-11-02 23:54:04 +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 * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +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
ChangeLog * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. 1993-11-19 19:31:51 +00:00
config.h fix my default emulation changes 1993-01-08 22:06:17 +00:00
configure resync 1991-10-02 04:15:56 +00:00
configure.bat DJ naming change 1992-02-22 00:11:39 +00:00
configure.in Use sun4sol2 for a target of sparc-netware. 1993-11-17 22:20:44 +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 Fixed minor typo ("host" sb "target" in discussion of GNUTARGET). 1993-11-03 00:09:34 +00:00
ldctor.h Initial revision 1991-12-08 01:21:25 +00:00
ldemul.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:28:27 +00:00
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 add missing newlines in messages 1993-08-05 02:52:17 +00:00
ldexp.h Fixed some grammer ambiguities 1991-04-03 22:03:55 +00:00
ldfile.c source cleanups; fix finding scripts 1993-07-15 21:43:28 +00:00
ldfile.h checkpoint before a merge 1991-04-14 03:22:42 +00:00
ldgram.y * ldgram.y (OPTION_Lfile): New token. 1993-07-16 21:15:40 +00:00
ldindr.c add missing newlines in messages 1993-08-05 02:52:17 +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 * ldlang.c (lang_process): Re-enable last call lang_size_sections. 1993-11-02 23:47:41 +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 Initial revision 1991-03-21 21:29:06 +00:00
ldlex.l add missing newlines in messages 1993-08-05 02:52:17 +00:00
ldmain.c * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If 1993-11-19 19:29:49 +00:00
ldmain.h Initial revision 1991-03-21 21:29:06 +00:00
ldmisc.c add -warn-common option 1993-08-03 22:47:28 +00:00
ldmisc.h checkpoint before a merge 1991-04-14 03:22:42 +00:00
ldsym.c * ld.h (flag_is_*): Removed macros. 1993-10-29 19:02:26 +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 Initial revision 1991-05-18 02:58:02 +00:00
ldwarn.c Lynx support 1993-09-28 20:51:22 +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 Now compiles with gcc too. 1992-01-24 23:44:10 +00:00
ldwrite.h Initial revision 1991-03-21 21:29:06 +00:00
Makefile.in Fix up dependencies and rules for ld.dvi, ld.info. 1993-11-04 00:09:39 +00:00
mri.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
NEWS New file. 1993-05-17 19:45:17 +00:00
README Initial revision 1991-10-15 06:57:32 +00:00
relax.c * relax.c (write_relax): Check return value of bfd_seclet_link. 1993-10-25 20:10:35 +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
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.