* config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
[deliverable/binutils-gdb.git] / ld / NEWS
CommitLineData
632dcce8
KR
1-*- text -*-
2
86bc0974
ILT
3Changes since version 2.7:
4
5* Linker scripts may now contain shell wildcard characters for file and section
6 names.
7
8Changes since version 2.6:
9
10* New option --cref to print out a cross reference table.
11
12* New option --wrap SYMBOL.
13
14* New option --no-whole-archive, to turn off the effect of --whole-archive.
15
16* Input sections assigned to the output section /DISCARD/ in the linker script
17 are not included in the output file.
18
19* The SunOS and ELF linkers now merge stabs debugging information which uses
20 the N_BINCL and N_EINCL stab types. This reduces the amount of debugging
21 information generated.
22
bca8b442
ILT
23Changes since version 2.5:
24
25* When an ELF section name is representable as a C identifier (this is not true
26of most ELF section names), the linker will automatically define symbols
27__start_SECNAME and __stop_SECNAME, where SECNAME is the section name, at the
28beginning and the end of the section. This is used by glibc.
29
30* When an ELF section named .gnu.warning is encountered in an input file, the
31contents of the section are displayed as an error message, and the section is
32not copied into the output file. This is used by glibc.
33
b4f9d9bc
ILT
34* When an ELF section named .gnu.warning.SYMBOL is encountered in an input
35file, and the symbol SYMBOL is referenced by some object file, the contents of
36the section are displayed as an error message. The section is not copied into
37the output file, unless doing a relocateable or shared link. This is used by
38glibc.
39
bca8b442
ILT
40* New options -split-by-reloc and -split-by-file.
41
b4f9d9bc 42* The linker now supports linking PIC compiled code on SPARC SunOS. It can
86bc0974
ILT
43also create SPARC SunOS shared libraries, and, like the native SunOS linker,
44will do so whenever there is an undefined symbol in the link and neither the -e
45nor the -r option was used.
46
47* The -rpath option may be used on SunOS to set the list of directories to be
48searched at run time. This overrides the default of building the list from the
49-L options.
bca8b442
ILT
50
51* The COFF linker now combines debugging information for structs, unions, and
52enums, so that even if the same type is defined in multiple input files it will
53only be defined once in the output file. The --traditional-format switch will
54prevent this optimization.
55
8150b20a
ILT
56Changes since version 2.4:
57
58* The linker now supports linking against SunOS shared libraries. It still can
59not link SunOS PIC (Position Independent Code) files, so it can not be used to
60generate shared libaries.
61
62* The linker now supports linking against ELF shared libraries for the i386
63(UnixWare) and SPARC (Solaris). It can also link ELF PIC files, and can be
64used to generate shared libraries. Shared library generation is not well
65tested; please report any problems encountered. The linker is now enabled for
66Solaris again.
67
68* Eric Youngdale has contributed Linux support code, including linking against
69Linux a.out shared libraries. The linker produces Linux QMAGIC binaries.
70
71* The ELF backend has been converted to the new linker code. To use the new
bca8b442
ILT
72ELF linker, each particular target requires a relocation function. So far,
73this function has been written for i386 (UnixWare), SPARC (Solaris) MIPS (Irix
745), and HPPA ELF targets.
8150b20a
ILT
75
76* The -( (--start-group) and -) (--end-group) options have been added to
77support searching a group of archives as though they were a single archive.
78This can also be used in a linker script, as GROUP ( files ).
79
80* When a file is named on the command line, and the linker does not recognize
81it as an object file, the linker will now treat the file as a linker script
82file. A linker script named in this way augments, but does not replace, the
83default linker script.
84
85* The -warn-once option was added. It causes the linker to only warn once per
86undefined symbol, rather than once per reference.
87
bca8b442
ILT
88* The COFF backend has been converted to the new linker code. As with ELF, to
89use the new linker, each particular target requires a relocation function. So
90far, this function has been written for the i386, m68k, a29k and SH targets.
91
92* The -V flag was made a synonym for -v, for SVR4 compatibility. The old -V
93behaviour is available via --verbose.
94
632dcce8
KR
95Changes since version 2.3:
96
97* New linker code, by Steve Chamberlain and Ian Taylor. For a.out and ecoff
98 formats (so far), this should result in considerable savings in time
99 and memory used while linking; slightly poorer performance than
100 before for formats not converted yet.
101
632dcce8
KR
102* Command-line parsing is no longer done with flex. This means
103 oddball characters in filenames won't get treated as argument
104 separators.
105
106* HP-PA ELF support, by Jeff Law. (No SOM support yet.)
107
632dcce8
KR
108* Mach i386 support, by David Mackenzie.
109
8150b20a
ILT
110* Irix 4 shared libraries are now supported (Irix 5 uses ELF, and ELF shared
111 libraries are not yet supported).
112
113* COFF shared libraries (as on SCO) should work as well.
114
115* The linker is disabled for Solaris. (Actually, it was in 2.3 also, I just
116 forgot to note it.) Some of their C library routines don't work when
117 statically linked, and the GNU linker doesn't support dynamic linking yet.
118
632dcce8
KR
119Changes since version 2.2:
120
121* Weak symbols are now supported.
122
123* ELF support has been added. The linker has been bootstrapped on
124 UnixWare and Solaris.
125
126* Alpha OSF/1 support has been added (non dynamic linking only).
127
128Changes since version 2.1:
129
130* The `bfd' library has been updated to reduce a.out-format string
131 table size. The effect of this is that files linked from many input
132 files with duplicate symbols (`-g' debugging records, or identical
133 static symbols) should be much smaller.
134
135Changes since version 2.0:
bc3b479c
PB
136
137* The ld -ySYMBOL flag (to trace references to SYMBOL) is now implemented.
138
139* There is now support for writing ECOFF files, so ld and the
140 other utilities should work on Risc/Ultrix and Irix.
632dcce8
KR
141
142\f
143Local variables:
144fill-column: 79
145End:
This page took 0.129548 seconds and 4 git commands to generate.