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 5640944588 Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) 34 years ago
..
config New files 34 years ago
scripts Add isc-sysv3.2.sc. 34 years ago
.Sanitize Sanitize slip 34 years ago
ChangeLog Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) 34 years ago
Makefile *** empty log message *** 36 years ago
Makefile.dos * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
Makefile.in Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) 34 years ago
PORTING * Makefile.in: Change mkscript rule into one for ./mkscript 35 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 Modifed to care about semi colons again, newlines are ignored - sorry 35 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 * Makefile.in: Major changes. Removed some the sed 35 years ago
config.sub steves h8 patches 35 years ago
configdos.bat Initial revision 35 years ago
configure resync 35 years ago
configure.bat DJ naming change 35 years ago
configure.in Support for i386-coff 34 years ago
cplus-dem.c hp stuff. 35 years ago
descrip.mms * ldfile.c: merge in VMS filename support 35 years ago
ebmon29k.sc * config/mh-sparc.h: now uses libgcc.a 35 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
gld.1 Include -N description (and include -N in synopsis). 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
h8300hds.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
h8300hds.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
h8300hms.c From h8300hds* 35 years ago
h8300hms.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
h8300hms.sc From h8300hds* 35 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
h8300xray.em * Makefile.in, Makefile.dos, generic.em, genscripts.sh, 34 years ago
h8300xray.sc-sh New lexer. 35 years ago
h8300xray.sh New lexer. 35 years ago
hp300bsd.sh New hp300bsd port. 35 years ago
i386aout.c Initial revision 35 years ago
i386aout.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
i386aout.sh Major rewrite of how ld is configured. The major idea 35 years ago
i386coff.sc-sh Sanitize slip 34 years ago
i386coff.sh Support for i386-coff 34 years ago
i960.sc-sh i960 bitrot fix 35 years ago
ld-emul.c *** empty log message *** 36 years ago
ld-gld-Ur.script Now use a.out-sunos rather than a.out-generic 36 years ago
ld-gld-r.script Initial revision 36 years ago
ld-gld.c *** empty log message *** 36 years ago
ld-gld.script Now use a.out-sunos rather than a.out-generic 36 years ago
ld-gld68k-Ur.script *** empty log message *** 36 years ago
ld-gld68k-r.script Initial revision 36 years ago
ld-gld68k.c checkpoint before a merge 36 years ago
ld-gld68k.script Now use a.out-sunos rather than a.out-generic 36 years ago
ld-gld960.c Merges from Intel. 36 years ago
ld-gld960.script Initial revision 36 years ago
ld-gldm88kbcs-Ur.script Initial revision 36 years ago
ld-gldm88kbcs-r.script Initial revision 36 years ago
ld-gldm88kbcs.c Initial revision 36 years ago
ld-gldm88kbcs.script Initial revision 36 years ago
ld-lnk960-r.script Initial revision 36 years ago
ld-lnk960.c Added patch from chrisb 36 years ago
ld-lnk960.script Initial revision 36 years ago
ld-vanilla.c Initial revision 36 years ago
ld.1 Thanks to Zoo watchfulness: 35 years ago
ld.h *** empty log message *** 36 years ago
ld.tex Back from Intel with Steve 36 years ago
ld.texinfo Introduce more blanks in examples; minor formatting cleanup. 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 Lint removal, extra prototypes. 35 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
ldgld.c Initial revision 36 years ago
ldgld.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldgld.script Added new keyword 'CONSTRUCTORS' 36 years ago
ldgld68k.c Initial revision 36 years ago
ldgld68k.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldgld68k.script Initial revision 36 years ago
ldgld68kUr.sc Initial revision 35 years ago
ldgld68kUr.script Initial revision 36 years ago
ldgld68kr.sc Initial revision 35 years ago
ldgld68kr.script Initial revision 36 years ago
ldgld960.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldgld960.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldgld960.script Initial revision 36 years ago
ldgldUr.sc Initial revision 35 years ago
ldgldUr.script Added new keyword 'CONSTRUCTORS' 36 years ago
ldglda29k.c Initial revision 36 years ago
ldglda29k.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldglda29k.script Initial revision 36 years ago
ldglda29kUr.sc Initial revision 35 years ago
ldglda29kUr.script Initial revision 36 years ago
ldglda29kr.sc Initial revision 35 years ago
ldglda29kr.script Initial revision 36 years ago
ldgldi386v.c Initial revision 35 years ago
ldgldi386v.sc Initial revision 35 years ago
ldgldi386vUr.sc Initial revision 35 years ago
ldgldi386vr.sc Initial revision 35 years ago
ldgldm68kv.c Initial revision 35 years ago
ldgldm68kv.sc Initial revision 35 years ago
ldgldm68kvUr.sc Initial revision 35 years ago
ldgldm68kvr.sc Initial revision 35 years ago
ldgldm88kbcs.c Cleaned up map file printing. 36 years ago
ldgldm88kbcs.sc Initial revision 35 years ago
ldgldm88kbcs.script Cleaned up map file printing. 36 years ago
ldgldm88kbcsUr.sc Initial revision 35 years ago
ldgldm88kbcsUr.script Initial revision 36 years ago
ldgldm88kbcsr.sc Initial revision 35 years ago
ldgldm88kbcsr.script Initial revision 36 years ago
ldgldr.sc Initial revision 35 years ago
ldgldr.script Initial revision 36 years ago
ldgram.y * ldlang.h: add new field "loadable" to output_section_statement. 35 years ago
ldindr.c Aliasing bug fixes 35 years ago
ldindr.h * ldindr.h: added to contain prototypes of ldindr.c 35 years ago
ldlang.c * ldlang.h: add new field "loadable" to output_section_statement. 35 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 * ldlex.l: now parses comment correctly, added ~ to acceptable 35 years ago
ldlnk960.c ldlnk960.c: Special #ifdef to choose little endian ony 35 years ago
ldlnk960.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldlnk960.script Initial revision 36 years ago
ldlnk960r.sc Initial revision 35 years ago
ldlnk960r.script Initial revision 36 years ago
ldm88k.c *** empty log message *** 35 years ago
ldm88k.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ldm88kUr.sc Initial revision 35 years ago
ldm88kr.sc Initial revision 35 years ago
ldmain.c Aliasing bug fixes 35 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 common/undef sym handling fix from p3 34 years ago
ldsym.h * ldver.c: Bumped version to 1.96 - new release, resync with the 35 years ago
ldtemplate Add or update copyright notices. 35 years ago
ldvanilla.c Add or update copyright notices. 35 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 Add or update copyright notices. 35 years ago
ldwarn.h Add or update copyright notices. 35 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 Brought in from p3. If anybody knows good numbers for m68k COFF, 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
makefile.dos Initial revision 35 years ago
mkscript.c New lexer. 35 years ago
mri.c Strange link script support 35 years ago
news.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
news.sh Major rewrite of how ld is configured. The major idea 35 years ago
relax.c * ldlang.c (lang_process): don't pass null pointers when 34 years ago
relax.h * ldlang.c (lang_process): don't pass null pointers when 34 years ago
sa29200.sc-sh * ldver.c: Bumped version to 1.96 - new release, resync with the 35 years ago
sa29200.sh More 29200 stuff 35 years ago
saber * ldver.c: Bumped version to 1.96 - new release, resync with the 35 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

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.