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 825e656bf5 config file renaming, and boy did it need it! 35 years ago
..
config sparc-64 to sparc-ll 35 years ago
.Sanitize Fixed typo. 35 years ago
ChangeLog Add copright notice to mkscript.c as well. 35 years ago
Makefile *** empty log message *** 36 years ago
Makefile.in * Makefile.in: new targets ld.mm, ld.me 35 years ago
README Initial revision 35 years ago
config.h Add or update copyright notices. 35 years ago
config.sub steves h8 patches 35 years ago
configure resync 35 years ago
configure.in config file renaming, and boy did it need it! 35 years ago
ebmon29k.sc Initial revision 35 years ago
h8300hds.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
h8300hds.sc Initial revision 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 35 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 35 years ago
ld-gld68k-Ur.script *** empty log message *** 35 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 35 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 *** 35 years ago
ld.tex Back from Intel with Steve 36 years ago
ld.texinfo Fixed info-markup bugs; makeinfo now succeeds with no complaints. 35 years ago
ldemul.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldexp.c Fixed the shift reduce errors in the grammer using the yacc debugger. 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 35 years ago
ldgld.sc Initial revision 35 years ago
ldgld.script Added new keyword 'CONSTRUCTORS' 35 years ago
ldgld68k.c Initial revision 35 years ago
ldgld68k.sc Added -N and fixed -n flags. 35 years ago
ldgld68k.script Initial revision 35 years ago
ldgld68kUr.sc Initial revision 35 years ago
ldgld68kUr.script Initial revision 35 years ago
ldgld68kr.sc Initial revision 35 years ago
ldgld68kr.script Initial revision 35 years ago
ldgld960.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldgld960.sc Initial revision 35 years ago
ldgld960.script Initial revision 35 years ago
ldgldUr.sc Initial revision 35 years ago
ldgldUr.script Added new keyword 'CONSTRUCTORS' 35 years ago
ldglda29k.c Initial revision 35 years ago
ldglda29k.sc * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. 35 years ago
ldglda29k.script Initial revision 35 years ago
ldglda29kUr.sc Initial revision 35 years ago
ldglda29kUr.script Initial revision 35 years ago
ldglda29kr.sc Initial revision 35 years ago
ldglda29kr.script Initial revision 35 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. 35 years ago
ldgldm88kbcs.sc Initial revision 35 years ago
ldgldm88kbcs.script Cleaned up map file printing. 35 years ago
ldgldm88kbcsUr.sc Initial revision 35 years ago
ldgldm88kbcsUr.script Initial revision 35 years ago
ldgldm88kbcsr.sc Initial revision 35 years ago
ldgldm88kbcsr.script Initial revision 35 years ago
ldgldr.sc Initial revision 35 years ago
ldgldr.script Initial revision 35 years ago
ldgram.y Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldindr.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldindr.h Initial revision 35 years ago
ldlang.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldlang.h *** empty log message *** 35 years ago
ldlex.h Initial revision 36 years ago
ldlex.l *** empty log message *** 35 years ago
ldlnk960.c Add or update copyright notices. 35 years ago
ldlnk960.sc Initial revision 35 years ago
ldlnk960.script Initial revision 35 years ago
ldlnk960r.sc Initial revision 35 years ago
ldlnk960r.script Initial revision 35 years ago
ldm88k.c *** empty log message *** 35 years ago
ldm88k.sc * ldlnk960.c: Use new naming convention for *.x{,u,r} include scripts. 35 years ago
ldm88kUr.sc Initial revision 35 years ago
ldm88kr.sc Initial revision 35 years ago
ldmain.c Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 35 years ago
ldmain.h Initial revision 36 years ago
ldmisc.c Merges from Intel. 36 years ago
ldmisc.h checkpoint before a merge 36 years ago
ldsym.c Add or update copyright notices. 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 35 years ago
ldwarn.c Add or update copyright notices. 35 years ago
ldwarn.h Add or update copyright notices. 35 years ago
ldwrite.c Fixed error message text 35 years ago
ldwrite.h Initial revision 36 years ago
mkscript.c Add copright notice to mkscript.c as well. 35 years ago
news.sc * news.sc: Add alignment for data segment. 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.