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.
 
 
 
 
 
 
Ian Lance Taylor 9de4d8f1c0 * ldexp.c (exp_fold_tree): Don't lose the old flag bits. 34 years ago
..
config Support for Alpha. 34 years ago
scripts added things-to-lose sections 34 years ago
.Sanitize * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. 34 years ago
ChangeLog * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. 34 years ago
Makefile.in * Makefile.in: remove old C++ rules; remove install:all and 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
a29k.sc-sh Modifed to care about semi colons again, newlines are ignored - sorry 35 years ago
a29k.sh Major rewrite of how ld is configured. The major idea 35 years ago
aout.sc-sh changes for hp300hpux -- won't be enabled until bfd work is done 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 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. 34 years ago
ebmon29k.sc-sh Modifed to care about semi colons again, newlines are ignored - sorry 35 years ago
ebmon29k.sh Major rewrite of how ld is configured. The major idea 35 years ago
generic.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
genscripts.sh Major rewrite of how ld is configured. The major idea 35 years ago
gld960.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
gld960.sh Major rewrite of how ld is configured. The major idea 35 years ago
go32.sh New lexer. 35 years ago
h8-doc.texi ld.texinfo: 34 years ago
h8300hms.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
h8300hms.sc-sh * ldlang.h: add new field "loadable" to output_section_statement. 35 years ago
h8300hms.sh Modifed to care about semi colons again, newlines are ignored - sorry 35 years ago
h8500hms.em Support for the H8/500 34 years ago
h8500hms.sc-sh Support for the H8/500 34 years ago
h8500hms.sh Support for the H8/500 34 years ago
hp3hpux.sh changes for hp300hpux -- won't be enabled until bfd work is done 34 years ago
hp300bsd.sh New hp300bsd port. 35 years ago
hppaosf.em hppa-osf(elf) support files 34 years ago
hppaosf.sc-sh hppa-osf(elf) support files 34 years ago
hppaosf.sh missed a file 34 years ago
i386aout.sh Major rewrite of how ld is configured. The major idea 35 years ago
i386bsd.sh mips-bsd and 386bsd support 34 years ago
i386coff.sc-sh Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) 34 years ago
i386coff.sh Support for i386-coff 34 years ago
i960.sc-sh i960 bitrot fix 35 years ago
ld.1 Thanks to Zoo watchfulness: 35 years ago
ld.h *** empty log message *** 36 years ago
ld.texinfo Clean up English and Texinfo usage. 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 Lint removal, extra prototypes. 35 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 Support for linking and loading at different places: 34 years ago
ldindr.c Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) 34 years ago
ldindr.h * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 34 years ago
ldlang.c * ldlang.c (lang_output_section_statement_lookup): Initialize all 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 Support for linking and loading at different places: 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 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR 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 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new 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
lnk960.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
lnk960.sh Major rewrite of how ld is configured. The major idea 35 years ago
m68kcoff.sc-sh * ldexp.c (exp_fold_tree): Don't lose the old flag bits. 34 years ago
m68kcoff.sh Brought in from p3. If anybody knows good numbers for m68k COFF, 34 years ago
m88kbcs.sc-sh Modifed to care about semi colons again, newlines are ignored - sorry 35 years ago
m88kbcs.sh Major rewrite of how ld is configured. The major idea 35 years ago
mips.sc-sh * mips.sc-sh: Define _etext, _edata, and _end, in addition 34 years ago
mipsbig.sh Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) 34 years ago
mipsbsd.sc-sh rename aout-mipsbsd.sc-sh to mipsbsd.sc-sh for 14-char file systems 34 years ago
mipsbsd.sh missed part of renaming update 34 years ago
mipsidt.sh * mips.sc-sh: Added variables which may be overridden by a 34 years ago
mipsidtl.sh * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. 34 years ago
mipslit.sh Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) 34 years ago
mkscript.c New lexer. 35 years ago
mri.c Strange link script support 35 years ago
news.sh Major rewrite of how ld is configured. The major idea 35 years ago
relax.c Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) 34 years ago
relax.h Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 34 years ago
sa29200.sc-sh * ldexp.c (exp_fold_tree): Don't lose the old flag bits. 34 years ago
sa29200.sh More 29200 stuff 35 years ago
sh.em sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. 34 years ago
sh.sc-sh More resonable default. 34 years ago
sh.sh sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. 34 years ago
st2000.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
st2000.sc-sh Personal checkpoint - now should parse some MRI stuff 35 years ago
st2000.sh Personal checkpoint - now should parse some MRI stuff 35 years ago
sun3.sh Major rewrite of how ld is configured. The major idea 35 years ago
sun4.sh Major rewrite of how ld is configured. The major idea 35 years ago
vanilla.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
vanilla.sc-sh Major rewrite of how ld is configured. The major idea 35 years ago
vanilla.sh Major rewrite of how ld is configured. The major idea 35 years ago
vax.sh * Makefile.in: Change definition of $(tooldir) to match FSF. 34 years ago
z8ksim.em Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) 34 years ago
z8ksim.sc-sh Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) 34 years ago
z8ksim.sh Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.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.