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