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.
 
 
 
 
 
 
Per Bothner e06ba18dad * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.) 35 years ago
..
config HOSTING_LIBS now reflects where libgnu lives 35 years ago
.Sanitize *** empty log message *** 35 years ago
ChangeLog * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.) 35 years ago
Makefile *** empty log message *** 36 years ago
Makefile.in * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.) 35 years ago
README Initial revision 35 years ago
config.h Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) 35 years ago
config.sub steves h8 patches 35 years ago
configure resync 35 years ago
configure.in Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) 35 years ago
ebmon29k.sc Uses something which will actuall work on an ebmon system 35 years ago
gld.1 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 Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) 35 years ago
i386aout.c Initial revision 35 years ago
i386aout.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 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 Smallbook format fixes. 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
ldexp.c Fixed the shift reduce errors in the grammer using the yacc debugger. 36 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 Initial revision 35 years ago
ldgld.script Added new keyword 'CONSTRUCTORS' 36 years ago
ldgld68k.c Initial revision 36 years ago
ldgld68k.sc * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.) 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 Initial revision 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 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. 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 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 * ldindr.h: added to contain prototypes of ldindr.c 35 years ago
ldlang.c * configure.in: Fixed typo. Also, a fix for hp300bsd. 35 years ago
ldlang.h *** empty log message *** 36 years ago
ldlex.h Initial revision 36 years ago
ldlex.l *** empty log message *** 36 years ago
ldlnk960.c * ldmisc.c, ldmisc.h: Re-write info() to take a filename 35 years ago
ldlnk960.sc Initial revision 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 * Makefile.in: Take out the version number for install 35 years ago
ldm88kUr.sc Initial revision 35 years ago
ldm88kr.sc Initial revision 35 years ago
ldmain.c Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) 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 uses __inline for now for gcc 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 Fixed error message text 36 years ago
ldwrite.h Initial revision 36 years ago
mkscript.c Add copright notice to mkscript.c as well. 35 years ago
news.sc * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.) 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.