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.
 
 
 
 
 
 
David D. Zuhn 9cd039e778 more install/program_transform_name fixes 34 years ago
..
config Support for Alpha. 34 years ago
emulparams * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
emultempl * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
scripttempl Support for constructors. 34 years ago
.Sanitize * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ChangeLog doc last change 34 years ago
Makefile.in more install/program_transform_name fixes 34 years ago
NEWS New file. 34 years ago
README Initial revision 35 years ago
TODO * ldver.c: Bump to version 0.98. 34 years ago
cdtest-foo.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 35 years ago
cdtest-foo.h * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 35 years ago
cdtest-func.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 35 years ago
cdtest-main.cc * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 35 years ago
cdtest.exp * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, 35 years ago
config.h fix my default emulation changes 34 years ago
configure resync 35 years ago
configure.bat DJ naming change 35 years ago
configure.in * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
genscripts.sh Major rewrite of how ld is configured. The major idea 35 years ago
h8-doc.texi ld.texinfo: 34 years ago
ld.1 Document -Map option. 34 years ago
ld.h *** empty log message *** 36 years ago
ld.texinfo Document -Map option. 34 years ago
ldctor.h Initial revision 35 years ago
ldemul.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
lderror.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
lderror.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 34 years ago
ldexp.c * ldver.c: Bumped version to 1.96 - new release, resync with the 35 years ago
ldexp.h Fixed some grammer ambiguities 36 years ago
ldfile.c *** empty log message *** 36 years ago
ldfile.h checkpoint before a merge 36 years ago
ldgram.y * ldgram.y: Tweak grammar to make reporting of invalid options work. 34 years ago
ldindr.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ldindr.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 34 years ago
ldlang.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ldlang.h * ldver.c: Bumped version to 1.96 - new release, resync with the 35 years ago
ldlex.h Initial revision 36 years ago
ldlex.l * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ldmain.c Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) 34 years ago
ldmain.h Initial revision 36 years ago
ldmisc.c * cplus-dem.c: Removed. Use the version in libiberty now. 34 years ago
ldmisc.h checkpoint before a merge 36 years ago
ldsym.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ldsym.h -y support 34 years ago
ldver.c * ldver.c: Increase version number to 1.97, for consistency with ../binutils. 35 years ago
ldver.h Initial revision 36 years ago
ldwarn.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
ldwarn.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 34 years ago
ldwrite.c Now compiles with gcc too. 35 years ago
ldwrite.h Initial revision 36 years ago
mri.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
relax.c * ldfile.c (ldfile_open_command): Don't try .ld extension. 34 years ago
relax.h Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 34 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.