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.
 
 
 
 
 
 
Steve Chamberlain 65aa37242b DJ naming change 35 years ago
..
config New hp300bsd port. 35 years ago
.Sanitize DJ naming change 35 years ago
ChangeLog New hp300bsd port. 35 years ago
Makefile *** empty log message *** 36 years ago
Makefile.dos DJ naming change 35 years ago
Makefile.in New hp300bsd port. 35 years ago
PORTING * Makefile.in: Change mkscript rule into one for ./mkscript 35 years ago
README Initial revision 35 years ago
a29k.sc-sh * Makefile.in: Major changes. Removed some the sed 35 years ago
a29k.sh Major rewrite of how ld is configured. The major idea 35 years ago
aout.sc-sh Major rewrite of how ld is configured. The major idea 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 Add ${srcdir} for makefile_frags. 35 years ago
ebmon29k.sc * config/mh-sparc.h: now uses libgcc.a 35 years ago
ebmon29k.sc-sh Major rewrite of how ld is configured. The major idea 35 years ago
ebmon29k.sh Major rewrite of how ld is configured. The major idea 35 years ago
generic.em Major rewrite of how ld is configured. The major idea 35 years ago
genscripts.sh Major rewrite of how ld is configured. The major idea 35 years ago
gld.1 (1) describe -relax 35 years ago
gld960.em Major rewrite of how ld is configured. The major idea 35 years ago
gld960.sh Major rewrite of how ld is configured. The major idea 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 Major rewrite of how ld is configured. The major idea 35 years ago
h8300hms.sc From h8300hds* 35 years ago
h8300hms.sc-sh * Makefile.in: Major changes. Removed some the sed 35 years ago
h8300hms.sh Major rewrite of how ld is configured. The major idea 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
i960.sc-sh Major rewrite of how ld is configured. The major idea 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.h *** empty log message *** 36 years ago
ld.tex Back from Intel with Steve 36 years ago
ld.texinfo (1) describe -relax 35 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 Make undefined refs not make an executable 35 years ago
ldexp.c * Makefile.in: added relax, also made three stage go through a 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 * ldgram.y: map -M behave in the same way as -Map (sets file name 35 years ago
ldindr.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldindr.h * ldindr.h: added to contain prototypes of ldindr.c 35 years ago
ldlang.c ldlang.c: now won't core dump with -M 35 years ago
ldlang.h Merging from VMS port. Doc to follow.. 35 years ago
ldlex.h Initial revision 36 years ago
ldlex.l * Makefile.in: added relax, also made three stage go through a 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 * ldgram.y: map -M behave in the same way as -Map (sets file name 35 years ago
ldmain.h Initial revision 36 years ago
ldmisc.c Merging from VMS port. Doc to follow.. 35 years ago
ldmisc.h checkpoint before a merge 36 years ago
ldsym.c Work around for problems in linking C++ programs that need file-level 35 years ago
ldsym.h Add or update copyright notices. 35 years ago
ldtemplate Add or update copyright notices. 35 years ago
ldvanilla.c Add or update copyright notices. 35 years ago
ldver.c Add or update copyright notices. 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 Major rewrite of how ld is configured. The major idea 35 years ago
lnk960.sh Major rewrite of how ld is configured. The major idea 35 years ago
m88kbcs.sc-sh Major rewrite of how ld is configured. The major idea 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 Add copright notice to mkscript.c as well. 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 Work around for problems in linking C++ programs that need file-level 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 Major rewrite of how ld is configured. The major idea 35 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.