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.
 
 
 
 
 
 
Jeff Law 79f7de91c4 * emultempl/hppaelf.em (hppaelf_finish): Only resize sections 33 years ago
..
config * config/i386bsd.mh: New file. 33 years ago
emulparams * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be 33 years ago
emultempl Remove ppc.em; do it all in nlmconv instead. 33 years ago
scripttempl * scripttempl/elf.sc: Force all sections to be aligned. 33 years ago
testsuite For some reason this directory was missing a .Sanitize file. 33 years ago
.Sanitize Lose mpw-build.in 33 years ago
ChangeLog * emultempl/hppaelf.em (hppaelf_finish): Only resize sections 33 years ago
ChangeLog.gm Mon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
ChangeLog.mpw Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
Makefile.in * ldgram.y (dirlist_ptr): Removed; not used. 33 years ago
NEWS note that pa support is elf only 33 years ago
README Initial revision 35 years ago
TODO * ldver.c: Bump to version 0.98. 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 Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe 33 years ago
dep-in.sed New file used for rebuilding dependencies. 33 years ago
genscripts.sh The default script is now compiled in; the others are still in the filesystem. 34 years ago
h8-doc.texi ld.texinfo: 34 years ago
ld.1 clarify reason for -sort-common 33 years ago
ld.h * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle 33 years ago
ld.texinfo Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldctor.c Made many changes to eliminate gcc warnings. Made various 33 years ago
ldctor.h Initial revision 35 years ago
ldemul.c A major rewrite to move the bulk of the linker into BFD so that 33 years ago
ldexp.c Made many changes to eliminate gcc warnings. Made various 33 years ago
ldexp.h Fixed some grammer ambiguities 36 years ago
ldfile.c Tue Jan 25 19:54:19 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
ldfile.h checkpoint before a merge 36 years ago
ldgram.y * ldgram.y (section): Reverse the order of memspec_opt and 33 years ago
ldint.texinfo minor fixes 33 years ago
ldlang.c * ldlang.c (print_input_section): For section size, use 33 years ago
ldlang.h * ldlang.c (relaxing): Removed global variable. 33 years ago
ldlex.h Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldlex.l Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldmain.c Use getopt instead of lex and yacc to parse the command line. 33 years ago
ldmain.h Made many changes to eliminate gcc warnings. Made various 33 years ago
ldmisc.c * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and 33 years ago
ldmisc.h Made many changes to eliminate gcc warnings. Made various 33 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
ldwrite.c Changes to make -Ur work again. 33 years ago
ldwrite.h Initial revision 36 years ago
lexsup.c * ldgram.y (dirlist_ptr): Removed; not used. 33 years ago
mpw-config.in Tue Jan 25 19:54:19 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
mpw-em.c Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
mpw-make.in Mon Feb 28 11:07:41 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
mpw-xconfig.in Mon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com) 33 years ago
mri.c Made many changes to eliminate gcc warnings. Made various 33 years ago
mri.h Made many changes to eliminate gcc warnings. Made various 33 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.