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