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