binutils-gdb/ld
David Edelsohn 73f5d5febb * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
types of different sizes (eg: 64 and 32 bits), so coerce.
* ld.h (ALIGN_N): Add warning about usage.
1993-10-15 09:29:32 +00:00
..
config mipsb-elf32.mt: New configuration file for big endian MIPS ELF. 1993-10-12 21:33:57 +00:00
emulparams elf32mipb.sh: New emulation parameter file for big endian MIPS ELF. 1993-10-12 21:36:05 +00:00
emultempl From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: 1993-08-24 23:45:26 +00:00
scripttempl From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: 1993-08-24 23:45:26 +00:00
testsuite Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp 1993-09-10 17:00:19 +00:00
.Sanitize
cdtest-foo.cc
cdtest-foo.h
cdtest-func.cc
cdtest-main.cc
cdtest.exp
ChangeLog * ldmain.c (enter_global_ref): Just ignore any weak symbol for 1993-10-13 20:04:30 +00:00
config.h
configure
configure.bat
configure.in
genscripts.sh
h8-doc.texi
ld.1 add -warn-common option 1993-08-03 22:47:28 +00:00
ld.h * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle 1993-10-15 09:29:32 +00:00
ld.texinfo Makefile.in: correct out-of-date TEXIDIR default 1993-10-01 21:08:13 +00:00
ldctor.h
ldemul.c
lderror.c
lderror.h
ldexp.c add missing newlines in messages 1993-08-05 02:52:17 +00:00
ldexp.h
ldfile.c
ldfile.h
ldgram.y
ldindr.c add missing newlines in messages 1993-08-05 02:52:17 +00:00
ldindr.h
ldlang.c * ldlang.c (lang_add_input_file): If it's a library brought in by 1993-10-01 01:28:55 +00:00
ldlang.h
ldlex.h
ldlex.l add missing newlines in messages 1993-08-05 02:52:17 +00:00
ldmain.c add -warn-common option 1993-08-03 22:47:28 +00:00
ldmain.h
ldmisc.c add -warn-common option 1993-08-03 22:47:28 +00:00
ldmisc.h
ldsym.c Lynx support 1993-09-28 20:51:22 +00:00
ldsym.h
ldver.c
ldver.h
ldwarn.c Lynx support 1993-09-28 20:51:22 +00:00
ldwarn.h
ldwrite.c
ldwrite.h
Makefile.in Changed CXX back to g++. Using ../gcc/xgcc breaks because of <assert.h> 1993-09-10 16:53:33 +00:00
mri.c
NEWS
README
relax.c
relax.h
TODO

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.