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