New port: National Semiconductor's CR16
[deliverable/binutils-gdb.git] / binutils / NEWS
CommitLineData
252b5132 1-*- text -*-
1e4cf259 2
692ed3e7
NC
3* A new tool "windmc" has been added for some targets. This is a message
4 compiler which attempts to be compatible with the MS version.
5
6* Add codepage support to the windres tool. It now supports many new
7 resource types (e.g. MANIFEST, TOOLBAR, etc). The output generation
8 for binary files is done now via bfd itself. The endianess problems
9 for different hosts are solved. Dumps of .res files can now be
10 re-compiled by windres without lossing resources or compilation errors.
11 Some problems on dialog resource translations are corrected.
d856f2dd 12
d3e52d40
RS
13* Add --extract-symbol command line option to objcopy, which will
14 strip everything out of an ordinary object file or executable except
15 for its symbol table. Files containing just symbols can be useful
16 to some OSes.
17
aef1f6d0
DJ
18* Add "-x NAME" to readelf in addition to "-x NUMBER".
19
cbf1f5df
NC
20* Add -i and -t switches to cxxfilt. -i disables the display of implementation
21 specific extra demangling information (if any) and -t disables the demangling
22 of types.
23
24* Add support for the "@<file>" syntax to the command lines of all tools, so
25 that extra switches can be read from <file>.
26
4de2ad99 27* Add "-W/--dwarf" to objdump to display the contents of the DWARF
cbf1f5df 28 debug sections.
4de2ad99 29
5477e8a0 30* Add "-t/--section-details" to readelf to display section details.
cbf1f5df 31 "-N/--full-section-name" is deprecated.
5477e8a0 32
b12fe839
AM
33* powerpc-linux ld now supports a variant form of PLT and GOT for the security
34 conscious. This form will automatically be chosen when ld detects that all
35 code in regular object files was generated by gcc -msecure-plt. The old PLT
36 and GOT may be forced by a new ld option, --bss-plt.
37
0c552dc1
FF
38* Add "-i/--inlines" to addr2line to print enclosing scope information
39 for inlined function chains, back to first non-inlined function.
40
81fc812e
L
41* Add "-N/--full-section-name" to readelf to display full section name.
42
ec72cfe5
NC
43* Add "-M entry:<addr>" switch to objdump to specify a function entry address
44 when disassembling VAX binaries.
45
7b4a0685
NC
46* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
47 to objcopy to convert local symbols into global symbols.
9fbad737
VP
48
49* gprof now allows input files to have histogram records for
50 several memory ranges, provided those ranges are disjoint.
7b4a0685
NC
51
52Changes in 2.16:
53
b12fe839 54* Add "-g/--section-groups" to readelf to display section groups.
81fc812e 55
bcf32829
JB
56* objcopy recognizes two new options --strip-unneeded-symbol and
57 --strip-unneeded-symbols, namely for use together with the wildcard
58 matching the original --strip-symbol/--strip-symbols provided, but
59 retaining any symbols matching but needed by relocations.
60
18bd398b
NC
61* readelf can now display address ranges from .debug_range sections. This
62 happens automatically when a DW_AT_range attribute is encountered. The
63 command line switch --debug-dump=Ranges (or -wR) can also be used to display
64 the contents of the .debug_range section.
65
3c9458e9
NC
66* nm and objdump now have a switch "--special-syms" to enable the displaying of
67 symbols which the target considers to be special. By default these symbols
68 are no longer displayed. Currently the only special symbols are the Mapping
69 symbols used by the ARM port to mark transitions between text and data and
70 between ARM and THUMB code.
71
607dea97
NC
72* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
73 import and export symbols with <preifx> prepended to them.
74
75Changes in 2.15:
76
e39893d7 77* objcopy for MIPS targets now accepts "-M no-aliases" as an option to the
9d317d34 78 disassembler to print the "raw" mips instruction mnemonic instead of some
e39893d7
FF
79 pseudo instruction name. I.E. print "daddu" or "or" instead of "move",
80 "sll" instead of "nop", etc.
81
5fe11841
NC
82* objcopy and strip can now take wildcard patterns in symbol names specified on
83 the command line provided that the --wildcard switch is used to enable them.
84
fb52b2f4
NC
85* readelf can now parse archives.
86
51cdc6e0
NC
87* objdump now accepts --debugging-tags to print the debug information in a
88 format compatible with ctags tool.
89
ed1653a7
NC
90* objcopy and strip now accept --only-keep-debug to create a file containing
91 those sections that would be stripped out by --strip-debug. The idea is that
92 this can be used in conjunction with the --add-gnu-debuglink switch to create
93 a two part program distribution - one a stripped executable and the other the
94 debugging info.
95
2593f09a
NC
96* objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
97 section into a (presumably stripped) executable. This allows the debug
50c2245b 98 information for the file to be held in a separate file.
2593f09a 99
a3b6428f
NC
100* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
101 single-character representation. This can be checked by running nm
102 with the -a switch.
103
43c58ae6
CD
104Changes in 2.14:
105
7c29036b
NC
106* Added --info switch to objcopy and strip.
107
3b36097d
SC
108* Support for Vitesse IQ2000 added by Red Hat.
109
8745eafa
NC
110* Added 'S' encoding to strings to allow the display of 8-bit characters.
111
d7fb0dd2
NC
112* Added --prefix-symbols=<text>, --prefix-sections=<text> and
113 --prefix-alloc-sections=<text> to objcopy.
114
84ad6ede
NC
115* readelf can handle the extensions to the DWARF2 spec used by the Unified
116 Parallel C compiler.
117
7d036af2
AM
118* BFD no longer declares a "boolean" type, to avoid clashes with other
119 headers that declare the same. Users of BFD should replace boolean,
120 false and true, with int, 0 and 1, or define their own boolean type.
121
1e4cf259
NC
122* Support for IP2K added by Denis Chertykov.
123
2cbb2eef
NC
124Changes in 2.13:
125
126* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
127 and FR500 included.
252b5132 128
9a66911f
NC
129Changes in version 2.12:
130
49fda6c8
HPN
131* Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
132
15c82623
NC
133* size: Add --totals to display summary of sizes (Berkeley format only).
134
d974e256
JJ
135* readelf: Add --wide option to not break section header or segment listing
136 lines to fit into 80 columns.
137
d132876a
NC
138* strings: Add --encoding to display wide character strings. By Markus Kuhn.
139
594ef5db
NC
140* objcopy: Add --rename-section to change section names.
141
e0c60db2
NC
142* readelf: Support added for DWARF 2.1 extensions. Support added for
143 displaying the contents of .debug.macinfo sections.
144
16b2b71c
NC
145* New command line switches added to objcopy to allow symbols to be kept as
146 global symbols, and also to specify files containing lists of such symbols.
147 by Honda Hiroki.
148
87e6d782
NC
149* Support for OpenRISC by Johan Rydberg.
150
1ae8b3d2
AO
151* New command line switch to objcopy --alt-machine-code which creates a binary
152 with an alternate machine code if one is defined in the architecture
153 description. Only supported for ELF targets. By Alexandre Oliva.
154
43a0748c 155* New command line switch to objcopy -B (or --binary-architecture) which sets
09ad7db3 156 the architecture of the output file to the given argument. This option only
43a0748c
NC
157 makes sense, if the input target is binary. Otherwise it is ignored.
158 By Stefan Geuken.
159
e135f41b
NC
160* Support for PDP-11 by Lars Brinkhoff.
161
09ad7db3
AM
162Changes in binutils 2.11:
163
077b8428
NC
164* Add support for ARM v5t and v5te architectures and Intel's XScale ARM
165 extenstions.
166
167* Add --srec-len and --srec-forceS3 command line switch to objcopy.
168 By Luciano Gemme.
7d036af2 169
156c2f8b
NC
170* Support for the MIPS32, by Anders Norlander.
171
22b36938
JE
172* Support for the i860, by Jason Eckhardt.
173
5bcac8a4
HPN
174* Support for CRIS (Axis Communications ETRAX series).
175
252b5132
RH
176Changes in binutils 2.10:
177
09ad7db3
AM
178* Support for 64-bit ELF on HPPA.
179
f1563258
TW
180* New command line switch to objdump --file-start-context which shows the
181 entire file contents up to the source line first encountered for a given
7d036af2 182 file.
f1563258 183
dd92f639
NC
184* New command line switch to objdump -M (or --disassembler-options) which takes
185 a parameter which can then be interpreted on a per-target basis by the
186 disassembler. Used by ARM targets to select register name sets, ISA, APCS or
187 raw verions.
7d036af2 188
c2c40d93
ILT
189* objdump support for -mi386:intel which causes disassembly to be displayed
190 with intel syntax.
252b5132
RH
191
192* New program: readelf. This displays the contents of ELF format files,
193 regardless of target machine.
194
195* objcopy now takes --change-section-lma, --change-section-vma, and
196 --change-section-address options. The old --adjust-section-vma option is
197 equivalent to --change-section-address. The other --adjust-* options are now
198 renamed to --change-*, although --adjust-* continues to work.
199
57938635
AM
200* objcopy has a --redefine-sym option that lets you rename symbols.
201
202* objcopy now takes a -j/--only-section option to copy only the specified
203 sections.
204
252b5132
RH
205* dlltool now supports the IMPORTS command.
206
207* dlltool now takes --export-all-symbols, --no-export-all-symbols,
208 --exclude-symbols, and --no-default-excludes options.
209
210Changes in binutils 2.9:
211
212* Added windres program, which can be used to manipulate resources in WIN32
213 files as used on Windows 95 and Windows NT.
214
215* The objcopy --gap-fill and --pad-to options operate on the LMA rather than
216 the VMA of the sections.
217
218* Added S modifier to ar to not build a symbol table.
219
220Changes in binutils 2.8:
221
222* The objdump disassembly format has been changed, and hopefully improved. Use
223 the new --prefix-addresses option to get the old format. There are also new
224 --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
225 output.
226
227* Formats may now be specified as configuration triplets. For example,
228 objdump -b i386-pc-linux. The triplets are not passed through config.sub,
229 so they must be in canonical form.
230
231* Added new addr2line program. This uses the debugging information to convert
232 an address into a file name and line number within a program.
233
234* Added --change-leading-char argument to objcopy.
235
236* Added --weaken argument to objcopy.
237
238* objdump --dynamic-reloc now works on ELF executables and shared libraries.
239
240* Added --adjust-vma option to objdump.
241
242* Added -C/--demangle option to objdump.
243
244* Added -p/--preserve-dates option to strip and objcopy.
245
246Changes in binutils 2.7:
247
248* Added --enable-shared and --enable-commonbfdlib options to configure.
249
250* Added --debugging argument to objdump and objcopy.
251
252* Added --defined-only argument to nm.
253
254* Added --remove-leading-char argument to objcopy.
255
256* The objdump --line-numbers option is now meaningful with --reloc.
257
258* Added --line-numbers option to nm.
259
260* Added --endian/-EB/-EL option to objdump.
261
262* Added support for Alpha OpenVMS/AXP.
263
264Changes in binutils 2.6:
265
266* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
267
268* Added several arguments to objcopy to provide some control over how the new
269 file is laid out in memory. Also added binary output format to BFD to permit
270 generating plain binary files.
271
272* Added --start-address and --stop-address options to objdump.
273
274* ar and ranlib now work on AIX. The tools are now built by default on AIX.
275
276Changes in binutils 2.5:
277
278* Changed objdump -dr to dump the relocs interspersed with the assembly
1049f94e 279 listing, for a more useful listing of relocatable files.
252b5132
RH
280
281* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
282 Added -D/--disassemble-all option to disassemble all sections.
283
284* Added --size-sort option to nm.
285
286* strip and objcopy should now be able to handle dynamically linked ELF
287 executables.
288
289Changes in binutils 2.4:
290
291* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
292 PowerPC (except ar and ranlib; by Ian Taylor).
293
294* Support for Irix 5.
295
296* Programs `strip' and `objcopy' will not attempt to write dynamically linked
297 ELF output files, since BFD currently can't create them properly.
298
299Changes in binutils 2.3:
300
301* A new --stabs argument has been added to objdump to dump stabs sections in
302 ELF and COFF files.
303
304* A new program, nlmconv, has been added. It can convert object files into
305 Novell NetWare Loadable Modules.
306
307* The strings program has been added.
308
309Changes in binutils 2.2:
310
311* The 'copy' program has been renamed to 'objcopy', for consistency with
312 'objdump', and because 'copy' might more plausibly be used as a synonym for
313 'cp'.
314
315* The new stand-alone program c++filt is a filter that converts encoded
316 (mangled) C++ assembly-level identifiers to user-level names. (Note: This
317 may get moved to the gcc distribution.)
318
319* nm -o on an archive now prefixes each line with the archive name, matching
320 the output from BSD nm.
321
322* ar (and ld) can now read (but not write) BSD4.4-style archives.
323
324* New support for H8500, Z8000, and the Hitach SH.
325
326* Dis-assembler interface changed to allow sharing with gdb.
327
328* There is new Elf code, but it is not yet ready for general use.
329
330* There is the beginnings of a test suite.
331
332Changes in binutils 2.1:
333
334* There is now support for writing ECOFF files, so ld and the other utilities
335 should work on Risc/Ultrix and Irix. Please let us know how well this works.
336
337* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
338 version), if there are any object files in the archive. So running ranlib is
339 now redundant (unless the non-standard q command is used). This is required
340 for Posix.2 conformance.
341
342* The archive-reading code now reads both BSD-style and SYSV-style archives
343 independently of the selected target format. This is to encourage people to
344 switch to SYSV-format, which has a number of advantages.
345
346* The strip and copy programs now have options to remove debug-symbols only
347 and/or local symbols only. They now also support long options.
348
349\f
350Local variables:
351fill-column: 79
352End:
This page took 0.326892 seconds and 4 git commands to generate.