dlltool.c (ext_prefix_alias): New global variable.
[external/binutils.git] / binutils / NEWS
1 -*- text -*-
2
3 * dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
4   import and export symbols with <preifx> prepended to them.
5
6 Changes in 2.15:
7
8 * objcopy and strip can now take wildcard patterns in symbol names specified on
9   the command line provided that the --wildcard switch is used to enable them.
10
11 * readelf can now parse archives.
12
13 * objdump now accepts --debugging-tags to print the debug information in a
14   format compatible with ctags tool.
15
16 * objcopy and strip now accept --only-keep-debug to create a file containing
17   those sections that would be stripped out by --strip-debug.  The idea is that
18   this can be used in conjunction with the --add-gnu-debuglink switch to create
19   a two part program distribution - one a stripped executable and the other the
20   debugging info.
21
22 * objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
23   section into a (presumably stripped) executable.  This allows the debug
24   information for the file to be held in a separate file.
25   
26 * BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
27   single-character representation.  This can be checked by running nm
28   with the -a switch.
29
30 Changes in 2.14:
31
32 * Added --info switch to objcopy and strip.
33
34 * Support for Vitesse IQ2000 added by Red Hat.
35
36 * Added 'S' encoding to strings to allow the display of 8-bit characters.
37
38 * Added --prefix-symbols=<text>, --prefix-sections=<text> and
39   --prefix-alloc-sections=<text> to objcopy.
40
41 * readelf can handle the extensions to the DWARF2 spec used by the Unified
42   Parallel C compiler.
43
44 * BFD no longer declares a "boolean" type, to avoid clashes with other
45   headers that declare the same.  Users of BFD should replace boolean,
46   false and true, with int, 0 and 1, or define their own boolean type.
47
48 * Support for IP2K added by Denis Chertykov.
49
50 Changes in 2.13:
51
52 * Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
53   and FR500 included.
54
55 Changes in version 2.12:
56
57 * Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
58
59 * size: Add --totals to display summary of sizes (Berkeley format only).
60
61 * readelf: Add --wide option to not break section header or segment listing
62   lines to fit into 80 columns.
63
64 * strings: Add --encoding to display wide character strings.  By Markus Kuhn.
65
66 * objcopy: Add --rename-section to change section names.
67
68 * readelf: Support added for DWARF 2.1 extensions.  Support added for
69   displaying the contents of .debug.macinfo sections.
70
71 * New command line switches added to objcopy to allow symbols to be kept as
72   global symbols, and also to specify files containing lists of such symbols.
73   by Honda Hiroki.
74
75 * Support for OpenRISC by Johan Rydberg.
76
77 * New command line switch to objcopy --alt-machine-code which creates a binary
78   with an alternate machine code if one is defined in the architecture
79   description.  Only supported for ELF targets.  By Alexandre Oliva.
80
81 * New command line switch to objcopy -B (or --binary-architecture) which sets
82   the architecture of the output file to the given argument.  This option only
83   makes sense, if the input target is binary.  Otherwise it is ignored.
84   By Stefan Geuken.
85
86 * Support for PDP-11 by Lars Brinkhoff.
87
88 Changes in binutils 2.11:
89
90 * Add support for ARM v5t and v5te architectures and Intel's XScale ARM
91   extenstions.
92
93 * Add --srec-len and --srec-forceS3 command line switch to objcopy.
94   By Luciano Gemme.
95
96 * Support for the MIPS32, by Anders Norlander.
97
98 * Support for the i860, by Jason Eckhardt.
99
100 * Support for CRIS (Axis Communications ETRAX series).
101
102 Changes in binutils 2.10:
103
104 * Support for 64-bit ELF on HPPA.
105
106 * New command line switch to objdump --file-start-context which shows the
107   entire file contents up to the source line first encountered for a given
108   file.
109
110 * New command line switch to objdump -M (or --disassembler-options) which takes
111   a parameter which can then be interpreted on a per-target basis by the
112   disassembler.  Used by ARM targets to select register name sets, ISA, APCS or
113   raw verions.
114
115 * objdump support for -mi386:intel which causes disassembly to be displayed
116   with intel syntax.
117
118 * New program: readelf.  This displays the contents of ELF format files,
119   regardless of target machine.
120
121 * objcopy now takes --change-section-lma, --change-section-vma, and
122   --change-section-address options.  The old --adjust-section-vma option is
123   equivalent to --change-section-address.  The other --adjust-* options are now
124   renamed to --change-*, although --adjust-* continues to work.
125
126 * objcopy has a --redefine-sym option that lets you rename symbols.
127
128 * objcopy now takes a -j/--only-section option to copy only the specified
129   sections.
130
131 * dlltool now supports the IMPORTS command.
132
133 * dlltool now takes --export-all-symbols, --no-export-all-symbols,
134   --exclude-symbols, and --no-default-excludes options.
135
136 Changes in binutils 2.9:
137
138 * Added windres program, which can be used to manipulate resources in WIN32
139   files as used on Windows 95 and Windows NT.
140
141 * The objcopy --gap-fill and --pad-to options operate on the LMA rather than
142   the VMA of the sections.
143
144 * Added S modifier to ar to not build a symbol table.
145
146 Changes in binutils 2.8:
147
148 * The objdump disassembly format has been changed, and hopefully improved.  Use
149   the new --prefix-addresses option to get the old format.  There are also new
150   --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
151   output.
152
153 * Formats may now be specified as configuration triplets.  For example,
154   objdump -b i386-pc-linux.  The triplets are not passed through config.sub,
155   so they must be in canonical form.
156
157 * Added new addr2line program.  This uses the debugging information to convert
158   an address into a file name and line number within a program.
159
160 * Added --change-leading-char argument to objcopy.
161
162 * Added --weaken argument to objcopy.
163
164 * objdump --dynamic-reloc now works on ELF executables and shared libraries.
165
166 * Added --adjust-vma option to objdump.
167
168 * Added -C/--demangle option to objdump.
169
170 * Added -p/--preserve-dates option to strip and objcopy.
171
172 Changes in binutils 2.7:
173
174 * Added --enable-shared and --enable-commonbfdlib options to configure.
175
176 * Added --debugging argument to objdump and objcopy.
177
178 * Added --defined-only argument to nm.
179
180 * Added --remove-leading-char argument to objcopy.
181
182 * The objdump --line-numbers option is now meaningful with --reloc.
183
184 * Added --line-numbers option to nm.
185
186 * Added --endian/-EB/-EL option to objdump.
187
188 * Added support for Alpha OpenVMS/AXP.
189
190 Changes in binutils 2.6:
191
192 * Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
193
194 * Added several arguments to objcopy to provide some control over how the new
195   file is laid out in memory.  Also added binary output format to BFD to permit
196   generating plain binary files.
197
198 * Added --start-address and --stop-address options to objdump.
199
200 * ar and ranlib now work on AIX.  The tools are now built by default on AIX.
201
202 Changes in binutils 2.5:
203
204 * Changed objdump -dr to dump the relocs interspersed with the assembly
205   listing, for a more useful listing of relocatable files.
206
207 * Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
208   Added -D/--disassemble-all option to disassemble all sections.
209
210 * Added --size-sort option to nm.
211
212 * strip and objcopy should now be able to handle dynamically linked ELF
213   executables.
214
215 Changes in binutils 2.4:
216
217 * Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
218   PowerPC (except ar and ranlib; by Ian Taylor).
219
220 * Support for Irix 5.
221
222 * Programs `strip' and `objcopy' will not attempt to write dynamically linked
223   ELF output files, since BFD currently can't create them properly.
224
225 Changes in binutils 2.3:
226
227 * A new --stabs argument has been added to objdump to dump stabs sections in
228   ELF and COFF files.
229
230 * A new program, nlmconv, has been added.  It can convert object files into
231   Novell NetWare Loadable Modules.
232
233 * The strings program has been added.
234
235 Changes in binutils 2.2:
236
237 * The 'copy' program has been renamed to 'objcopy', for consistency with
238   'objdump', and because 'copy' might more plausibly be used as a synonym for
239   'cp'.
240
241 * The new stand-alone program c++filt is a filter that converts encoded
242   (mangled) C++ assembly-level identifiers to user-level names.  (Note: This
243   may get moved to the gcc distribution.)
244
245 * nm -o on an archive now prefixes each line with the archive name, matching
246   the output from BSD nm.
247
248 * ar (and ld) can now read (but not write) BSD4.4-style archives.
249
250 * New support for H8500, Z8000, and the Hitach SH.
251
252 * Dis-assembler interface changed to allow sharing with gdb.
253
254 * There is new Elf code, but it is not yet ready for general use.
255
256 * There is the beginnings of a test suite.
257
258 Changes in binutils 2.1:
259
260 * There is now support for writing ECOFF files, so ld and the other utilities
261   should work on Risc/Ultrix and Irix.  Please let us know how well this works.
262
263 * ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
264   version), if there are any object files in the archive.  So running ranlib is
265   now redundant (unless the non-standard q command is used).  This is required
266   for Posix.2 conformance.
267
268 * The archive-reading code now reads both BSD-style and SYSV-style archives
269   independently of the selected target format.  This is to encourage people to
270   switch to SYSV-format, which has a number of advantages.
271
272 * The strip and copy programs now have options to remove debug-symbols only
273   and/or local symbols only.  They now also support long options.
274
275 \f
276 Local variables:
277 fill-column: 79
278 End: