Handle new v9 insn argument codes, and delete support for obsolete ones.
[deliverable/binutils-gdb.git] / ld / README
CommitLineData
c1eeb9af
PB
1This is a BETA release of a completely rewritten GNU linker.
2It is distributed with other "binary utilities" which should
3be in ../binutils. See ../binutils/README for more general notes,
4including where to send bug reports.
5
6There are many new features of the linker:
7
8* The linker uses a Binary File Descriptor library (../bfd)
9that it uses to read and write object files. This helps
10insulate the linker itself from the format of object files.
11
12* The linker support a number of different object file
13formats. It can even handle multiple formats at once:
14Read two input formats and write a third.
15
16* The linker can be configured for cross-linking.
17
18* The linker contains a control language.
19
20* There is a manual.
21
22Installation
23============
24
25See ../binutils/README.
26If you want to make a cross-linker, you may want to specify
27a different search path of -lfoo libraries than the default.
28You can do this by setting the LIB_PATH variable in ./Makefile.
29
30Porting to a new target
31=======================
32
33A new target configuration may need a new linker script (.sc file)
34to specify linker actions (such as the layout of the output).
35See if one of the existing ones are suitable.
36Note that the Makefile generates variants of the standard script
37that are used when ld is passed -r -Ur -N or -n options.
38These variant default scripts are generated from the "master"
39script using sed scripts that may not work in all cases.
40Look at the rules and comments in ld/Makefile.in to make sure
41you stay with the rules.
42
43Otherwise, you may need to add a new "emulation" (a sample of a
44recently added target and emulation is for the SOny 68k News
45family - look for files named *news*).
46
47Also see the notes in ../binutils/README.
48
49Reporting bugs etc
50===========================
51See ../binutils/README.
This page took 0.04197 seconds and 4 git commands to generate.