Extend readelf and objdump so that they will display and follow multiple links to...
[deliverable/binutils-gdb.git] / binutils / NEWS
CommitLineData
252b5132 1-*- text -*-
2c610e4b 2
24841daa
NC
3* The separate debug info file options of readelf (--debug-dump=links
4 and --debug-dump=follow) and objdump (--dwarf=links and
5 --dwarf=follow-links) will now display and/or follow multiple links if
6 more than one are present in a file. (This usually happens when gcc's
7 -gsplit-dwarf option is used).
8
f974f26c
NC
9Changes in 2.32:
10
af03af8f
NC
11* The addr2line, c++filt, nm and objdump tools now have a limit on the
12 maximum amount of recursion that is allowed whilst demangling strings.
13 The value for this limit is defined by the DEMANGLE_RECRUSE_LIMIT
14 constant declared in the include/demangle.h header file. At the time
69799d67 15 of writing this constant has the value of 2048.
af03af8f
NC
16
17 The --no-recurse-limit option can be used to remove the limit, restoring
18 the behaviour of earlier versions of these tools. This may be needed in
19 order to dmangle truly complicated names, but it also leaves the tools
20 vulnerable to stack exhaustion from maliciously constructed mangled names.
21
d3def5d7
MY
22* Objdump's --disassemble option can now take a parameter, specifying the
23 starting symbol for disassembly. Disassembly will continue from this
baae986a 24 symbol up to the next symbol or the end of the function.
d3def5d7 25
9108bc33
CX
26* The MIPS port now supports the Loongson 2K1000 processor which implements
27 the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE, Loongson-ext ASE,
28 Loongson-ext2 ASE and MSA ASE instructions. Add -march=gs264e option for
29 Loongson 2K1000 processor.
30
bd782c07
CX
31* The MIPS port now supports the Loongson 3A2000/3A3000 processor which
32 implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE,
33 Loongson-ext ASE and Loongson-ext2 ASE instructions. Add -march=gs464e
34 option for Loongson 3A2000/3A3000 processor.
35
ac8cb70f
CX
36* The MIPS port now supports the Loongson 3A1000 processor, aka Loongson3a,
37 which implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE
38 and Loongson-ext ASE instructions. Add -march=gs464 option for Loongson
39 3A1000 processor, The -march=loongson3a is an alias of -march=gs464 for
40 compatibility.
41
46cbf38d
AB
42* The size tool now has a new output format '--format=GNU' or '-G'. The
43 results are displayed in a similar manor to the default berkeley layout,
44 except read-only data is counted in the data column, not the text column.
45 Additionally the total is only included once.
46
719d8288
NC
47Changes in 2.31:
48
fe944acf
FT
49* Add support for disassembling netronome Flow Processor (NFP) firmware files.
50
7d02540a
TC
51* The AArch64 port now supports showing disassembly notes which are emitted
52 when inconsistencies are found with the instruction that may result in the
53 instruction being invalid. These can be turned on with the option -M notes
54 to objdump.
55
56* The AArch64 port now emits warnings when a combination of an instruction and
57 a named register could be invalid.
58
1869e86f
AB
59* Added O modifier to ar to display member offsets inside an archive
60
9176ac5b
NC
61Changes in 2.30:
62
dda8d76d
NC
63* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
64 which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
65 sections.
66
67 Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
68 option to objdump which causes indirect links into separate debug info files
69 to be followed when dumping other DWARF sections.
70
55a09eb6
TG
71Changes in 2.29:
72
909b4e3d
MR
73* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
74 instructions for assembly and disassembly.
75
f5b2fd52
MR
76* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
77 disassembly.
78
38bf472a
MR
79* The MIPS port now supports the Imagination interAptiv MR2 processor,
80 which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
81 of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
82
64517994
JM
83* The SPARC port now supports the SPARC M8 processor, which implements the
84 Oracle SPARC Architecture 2017.
85
25499ac7
MR
86* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
87
a91e1603
L
88* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
89
efdf7a02 90* Add support for the wasm32 ELF conversion of the WebAssembly file format.
f96bd6c2 91
4a14e306
AK
92* Add --inlines option to objdump, which extends the --line-numbers option
93 so that inlined functions will display their nesting information.
94
9ef920e9
NC
95* Add --merge-notes options to objcopy to reduce the size of notes in
96 a binary file by merging and deleting redundant notes.
97
2425a30e
NC
98* Add support for locating separate debug info files using the build-id
99 method, where the separate file has a name based upon the build-id of
100 the original file.
101
9703a4ef
TG
102Changes in 2.28:
103
08dc996f
AM
104* This version of binutils fixes a problem with PowerPC VLE 16A and 16D
105 relocations which were functionally swapped, for example,
106 R_PPC_VLE_HA16A performed like R_PPC_VLE_HA16D while R_PPC_VLE_HA16D
107 performed like R_PPC_VLE_HA16A. This could have been fixed by
108 renumbering relocations, which would keep object files created by an
109 older version of gas compatible with a newer ld. However, that would
110 require an ABI update, affecting other assemblers and linkers that
111 create and process the relocations correctly. It is recommended that
112 all VLE object files be recompiled, but ld can modify the relocations
a05a5b64 113 if --vle-reloc-fixup is passed to ld. If the new ld command-line
08dc996f
AM
114 option is not used, ld will ld warn on finding relocations inconsistent
115 with the instructions being relocated.
116
a05a5b64 117* The nm program has a new command-line option (--with-version-strings)
df2c87b5
NC
118 which will display a symbol's version information, if any, after the
119 symbol's name.
120
37fd5ef3
CZ
121* The ARC port of objdump now accepts a -M option to specify the extra
122 instruction class(es) that should be disassembled.
123
e511c9b1
AB
124* The --remove-section option for objcopy and strip now accepts section
125 patterns starting with an exclamation point to indicate a non-matching
126 section. A non-matching section is removed from the set of sections
127 matched by an earlier --remove-section pattern.
128
129* The --only-section option for objcopy now accepts section patterns
130 starting with an exclamation point to indicate a non-matching section.
131 A non-matching section is removed from the set of sections matched by
132 an earlier --only-section pattern.
133
d3e5f6c8
AB
134* New --remove-relocations=SECTIONPATTERN option for objcopy and strip.
135 This option can be used to remove sections containing relocations.
136 The SECTIONPATTERN is the section to which the relocations apply, not
137 the relocation section itself.
138
96a84ea3
TG
139Changes in 2.27:
140
e6cc316a
L
141* Add a configure option, --enable-64-bit-archive, to force use of a
142 64-bit format when creating an archive symbol index.
143
b8871f35
L
144* Add --elf-stt-common= option to objcopy for ELF targets to control
145 whether to convert common symbols to the STT_COMMON type.
146
7feec526
TG
147Changes in 2.26:
148
2b35fb28
RH
149* Add option to objcopy to insert new symbols into a file:
150 --add-symbol <name>=[<section>:]<value>[,<flags>]
151
886a2506
NC
152* Add support for the ARC EM/HS, and ARC600/700 architectures.
153
ea556d25
L
154* Extend objcopy --compress-debug-sections option to support
155 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
156 targets.
157
acf1419f
AB
158* Add --update-section option to objcopy.
159
55edd97b
EA
160* Add --output-separator option to strings.
161
c50415e2
TG
162Changes in 2.25:
163
7fac9594
NC
164* Add --data option to strings to only print strings in loadable, initialized
165 data sections. Change the default behaviour to be --all, but add a new
166 configure time option of --disable-default-strings-all to restore the old
167 default behaviour.
168
334ac421
EA
169* Add --include-all-whitespace to strings.
170
bbad633b
NC
171* Add --dump-section option to objcopy.
172
35c08157
KLC
173* Add support for the Andes NDS32.
174
58ca03a2
TG
175Changes in 2.24:
176
a05a5b64 177* Objcopy now supports wildcard characters in command-line options that take
2e62b721
NC
178 section names.
179
36591ba1
SL
180* Add support for Altera Nios II.
181
af18cb59
TG
182Changes in 2.23:
183
b9c361e0
JL
184* Add support for the VLE extension to the PowerPC architecture.
185
9a30f236
KT
186* Add support for x64 Windows target of the delayed-load-library.
187
99c513f6
DD
188* Add support for the Renesas RL78 architecture.
189
a7142d94
TG
190Changes in 2.22:
191
4ccf1e31
JJ
192* Add support for displaying the contents of .debug.macro sections.
193
ec25acb3
NC
194* Add --preprocessor-arg option to windres to specify additional options
195 passed to preprocessor.
44f45767 196
fd2f0033
TT
197* Add --dwarf-start and --dwarf-end to readelf and objdump. These are used by
198 the new Emacs mode, see dwarf-mode.el.
199
69f56ae1
WL
200* Add support for the Tilera TILEPro and TILE-Gx architectures.
201
202changes in 2.21:
44f45767 203
b7dd81f7
NC
204* Add --interleave-width option to objcopy to allowing copying a range of
205 bytes from the input to the output with the --interleave option.
206
40b36596
JM
207* Add support for the TMS320C6000 (TI C6X) processor family.
208
0b6ae522
DJ
209* Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using
210 the -u / --unwind option.
211
2c610e4b
L
212* Add --dyn-syms to readelf to dump dynamic symbol table.
213
d2420a8c
NC
214* A new tool - elfedit - has been added to directly manipulate ELF format
215 binaries.
81c23f82 216
bf201fdd
KT
217* Add to dlltool .def file feature of aliasing PE internal symbol name by
218 '== <ID>' option.
219
a05a5b64 220* Add a new command-line option -a / --addresses to addr2line to display the
be6f6493
TG
221 address before function name or source filename.
222
a05a5b64 223* Add a new command-line option -p / --pretty-print to addr2line to have
68cdf72f
TG
224 a more human readable output.
225
75875724
TG
226* The hppa/som targets can now be compiled on any host.
227
81c23f82
TG
228Changes in 2.20:
229
10e636d2
DK
230* Add support for delay importing to dlltool. Use the --output-delaylib <file>
231 switch to create a delay-import library. The resulting app will load the dll
232 as soon as the first function is called. It will link to __delayLoadHelper2()
233 from the static delayimp library, which will import LoadLibraryA and
234 GetProcAddress from kernel32.
235
a05a5b64 236* Add a new command-line option, --insn-width=WIDTH, to objdump to specify
10e636d2
DK
237 number of bytes to be displayed on a single line when disassembling
238 instructions.
3dcb3fcb 239
cf13d699 240* Readelf can now display the relocated contents of a section as a sequence
a05a5b64 241 of bytes via the --relocated-dump=<name|number> command-line option.
cf13d699 242
a05a5b64 243* The gprof program has been given a new command-line option:
0e27a8f6
NC
244 --external-symbols-table=<filename> which reads in symbols from a specified
245 file.
6e33da12 246
ce3c775b
NC
247* The plugin target has been added to bfd. It can load the same shared objects
248 used by gold and uses them to provide basic support for new file formats.
249
43cd3ced
AG
250* The verilog memory hex dump file format is now supported as an output format
251 for objcopy.
c067354b 252
92dd4511 253* Add --file-alignment, --heap, --image-base, --section-alignment,
a05a5b64 254 --stack and --subsystem command-line options to objcopy, which will
92dd4511
L
255 set PE optional header.
256
4cb93e3b
TG
257* Option --dwarf/-W of objdump is now as flexible as readelf --debug-dump/-w.
258
259* --as-needed now links in a dynamic library if it satisfies undefined
260 symbols in regular objects, or in other dynamic libraries. In the
261 latter case the library is not linked if it is found in a DT_NEEDED
262 entry of one of the libraries already linked.
263
0dafdf3f 264* Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to
28024d9d 265 add absolute paths for -S.
0dafdf3f 266
e77b97d4
KT
267* Add new option --use-nul-prefixed-import-tables to dlltool to allow fall-
268 back to old import table generation with null element prefix.
269
3aade688 270* Added --identify-strict switch to cause --identify <implib> to
71c57c16
NC
271 report an error when the import library is associated with
272 multiple DLLs.
273
274* Added --identify <implib> option to dlltool, which determines the
275 name of the DLL associated with the specified <implib>.
276
2f3bb96a
BE
277* Support for PowerPC booke64 instructions has been removed. The assembler no
278 longer accepts -mbooke32 or -mbooke64 and the disassembler no longer accepts
279 -Mbooke32 or -Mbooke64. Instead, -mbooke and -Mbooke should be used.
280
6e33da12
TG
281Changes in 2.19:
282
a262ae96
NC
283* Added -wL switch to dump decoded contents of .debug_line.
284
a8da6403
NC
285* Added support for "thin" archives which contain pathnames pointing to
286 object files rather than the files themselves and which contain a
287 flattened symbol index for all objects, and archives, which have been
288 added to the archive.
3aade688 289
98ec6e72
NC
290* Added -F switch to objdump to include file offsets in the disassembly.
291
4145f1d5
NC
292* Added -c switch to readelf to allow string dumps of archive symbol index.
293
85f10a01
MM
294* Support for SSE5 has been added to the i386 port.
295
09c11c86
NC
296* Added -p switch to readelf to allow string dumps of sections.
297
876c34bf 298Changes in 2.18:
98ec6e72 299
ad71ef64
NC
300* Resolved 37 coding problems in bfd including static array overruns, null
301 pointer dereferences and use of a malloc buffer after it has been freed, as
302 revealed by static analysis donated by Coverity, Inc. (http://scan.coverity.com).
1e4cf259 303
32866df7
NC
304* The binutils sources are now released under version 3 of the GNU General
305 Public License.
306
692ed3e7
NC
307* A new tool "windmc" has been added for some targets. This is a message
308 compiler which attempts to be compatible with the MS version.
309
310* Add codepage support to the windres tool. It now supports many new
311 resource types (e.g. MANIFEST, TOOLBAR, etc). The output generation
312 for binary files is done now via bfd itself. The endianess problems
313 for different hosts are solved. Dumps of .res files can now be
314 re-compiled by windres without lossing resources or compilation errors.
315 Some problems on dialog resource translations are corrected.
d856f2dd 316
a05a5b64 317* Add --extract-symbol command-line option to objcopy, which will
d3e52d40
RS
318 strip everything out of an ordinary object file or executable except
319 for its symbol table. Files containing just symbols can be useful
320 to some OSes.
321
32866df7
NC
322Changes in 2.17:
323
aef1f6d0
DJ
324* Add "-x NAME" to readelf in addition to "-x NUMBER".
325
cbf1f5df
NC
326* Add -i and -t switches to cxxfilt. -i disables the display of implementation
327 specific extra demangling information (if any) and -t disables the demangling
328 of types.
329
330* Add support for the "@<file>" syntax to the command lines of all tools, so
331 that extra switches can be read from <file>.
332
4de2ad99 333* Add "-W/--dwarf" to objdump to display the contents of the DWARF
cbf1f5df 334 debug sections.
4de2ad99 335
5477e8a0 336* Add "-t/--section-details" to readelf to display section details.
cbf1f5df 337 "-N/--full-section-name" is deprecated.
5477e8a0 338
b12fe839
AM
339* powerpc-linux ld now supports a variant form of PLT and GOT for the security
340 conscious. This form will automatically be chosen when ld detects that all
341 code in regular object files was generated by gcc -msecure-plt. The old PLT
342 and GOT may be forced by a new ld option, --bss-plt.
343
0c552dc1
FF
344* Add "-i/--inlines" to addr2line to print enclosing scope information
345 for inlined function chains, back to first non-inlined function.
346
81fc812e
L
347* Add "-N/--full-section-name" to readelf to display full section name.
348
ec72cfe5
NC
349* Add "-M entry:<addr>" switch to objdump to specify a function entry address
350 when disassembling VAX binaries.
351
7b4a0685
NC
352* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
353 to objcopy to convert local symbols into global symbols.
3aade688 354
9fbad737 355* gprof now allows input files to have histogram records for
3aade688 356 several memory ranges, provided those ranges are disjoint.
7b4a0685
NC
357
358Changes in 2.16:
359
b12fe839 360* Add "-g/--section-groups" to readelf to display section groups.
81fc812e 361
bcf32829
JB
362* objcopy recognizes two new options --strip-unneeded-symbol and
363 --strip-unneeded-symbols, namely for use together with the wildcard
364 matching the original --strip-symbol/--strip-symbols provided, but
365 retaining any symbols matching but needed by relocations.
366
18bd398b
NC
367* readelf can now display address ranges from .debug_range sections. This
368 happens automatically when a DW_AT_range attribute is encountered. The
a05a5b64 369 command-line switch --debug-dump=Ranges (or -wR) can also be used to display
18bd398b
NC
370 the contents of the .debug_range section.
371
3c9458e9
NC
372* nm and objdump now have a switch "--special-syms" to enable the displaying of
373 symbols which the target considers to be special. By default these symbols
374 are no longer displayed. Currently the only special symbols are the Mapping
375 symbols used by the ARM port to mark transitions between text and data and
376 between ARM and THUMB code.
377
607dea97
NC
378* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
379 import and export symbols with <preifx> prepended to them.
380
381Changes in 2.15:
382
e39893d7 383* objcopy for MIPS targets now accepts "-M no-aliases" as an option to the
9d317d34 384 disassembler to print the "raw" mips instruction mnemonic instead of some
e39893d7
FF
385 pseudo instruction name. I.E. print "daddu" or "or" instead of "move",
386 "sll" instead of "nop", etc.
387
5fe11841
NC
388* objcopy and strip can now take wildcard patterns in symbol names specified on
389 the command line provided that the --wildcard switch is used to enable them.
390
fb52b2f4
NC
391* readelf can now parse archives.
392
51cdc6e0
NC
393* objdump now accepts --debugging-tags to print the debug information in a
394 format compatible with ctags tool.
395
ed1653a7
NC
396* objcopy and strip now accept --only-keep-debug to create a file containing
397 those sections that would be stripped out by --strip-debug. The idea is that
398 this can be used in conjunction with the --add-gnu-debuglink switch to create
399 a two part program distribution - one a stripped executable and the other the
400 debugging info.
401
2593f09a
NC
402* objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
403 section into a (presumably stripped) executable. This allows the debug
50c2245b 404 information for the file to be held in a separate file.
3aade688 405
a3b6428f
NC
406* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
407 single-character representation. This can be checked by running nm
408 with the -a switch.
409
43c58ae6
CD
410Changes in 2.14:
411
7c29036b
NC
412* Added --info switch to objcopy and strip.
413
3b36097d
SC
414* Support for Vitesse IQ2000 added by Red Hat.
415
8745eafa
NC
416* Added 'S' encoding to strings to allow the display of 8-bit characters.
417
d7fb0dd2
NC
418* Added --prefix-symbols=<text>, --prefix-sections=<text> and
419 --prefix-alloc-sections=<text> to objcopy.
420
84ad6ede
NC
421* readelf can handle the extensions to the DWARF2 spec used by the Unified
422 Parallel C compiler.
423
7d036af2
AM
424* BFD no longer declares a "boolean" type, to avoid clashes with other
425 headers that declare the same. Users of BFD should replace boolean,
426 false and true, with int, 0 and 1, or define their own boolean type.
427
1e4cf259
NC
428* Support for IP2K added by Denis Chertykov.
429
2cbb2eef
NC
430Changes in 2.13:
431
432* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
433 and FR500 included.
252b5132 434
9a66911f
NC
435Changes in version 2.12:
436
49fda6c8
HPN
437* Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
438
15c82623
NC
439* size: Add --totals to display summary of sizes (Berkeley format only).
440
d974e256
JJ
441* readelf: Add --wide option to not break section header or segment listing
442 lines to fit into 80 columns.
443
d132876a
NC
444* strings: Add --encoding to display wide character strings. By Markus Kuhn.
445
594ef5db
NC
446* objcopy: Add --rename-section to change section names.
447
e0c60db2
NC
448* readelf: Support added for DWARF 2.1 extensions. Support added for
449 displaying the contents of .debug.macinfo sections.
450
a05a5b64 451* New command-line switches added to objcopy to allow symbols to be kept as
16b2b71c
NC
452 global symbols, and also to specify files containing lists of such symbols.
453 by Honda Hiroki.
454
87e6d782
NC
455* Support for OpenRISC by Johan Rydberg.
456
a05a5b64 457* New command-line switch to objcopy --alt-machine-code which creates a binary
1ae8b3d2
AO
458 with an alternate machine code if one is defined in the architecture
459 description. Only supported for ELF targets. By Alexandre Oliva.
460
a05a5b64 461* New command-line switch to objcopy -B (or --binary-architecture) which sets
09ad7db3 462 the architecture of the output file to the given argument. This option only
43a0748c
NC
463 makes sense, if the input target is binary. Otherwise it is ignored.
464 By Stefan Geuken.
465
e135f41b
NC
466* Support for PDP-11 by Lars Brinkhoff.
467
09ad7db3
AM
468Changes in binutils 2.11:
469
077b8428
NC
470* Add support for ARM v5t and v5te architectures and Intel's XScale ARM
471 extenstions.
472
a05a5b64 473* Add --srec-len and --srec-forceS3 command-line switch to objcopy.
077b8428 474 By Luciano Gemme.
7d036af2 475
156c2f8b
NC
476* Support for the MIPS32, by Anders Norlander.
477
22b36938
JE
478* Support for the i860, by Jason Eckhardt.
479
5bcac8a4
HPN
480* Support for CRIS (Axis Communications ETRAX series).
481
252b5132
RH
482Changes in binutils 2.10:
483
09ad7db3
AM
484* Support for 64-bit ELF on HPPA.
485
a05a5b64 486* New command-line switch to objdump --file-start-context which shows the
f1563258 487 entire file contents up to the source line first encountered for a given
7d036af2 488 file.
f1563258 489
a05a5b64 490* New command-line switch to objdump -M (or --disassembler-options) which takes
dd92f639
NC
491 a parameter which can then be interpreted on a per-target basis by the
492 disassembler. Used by ARM targets to select register name sets, ISA, APCS or
493 raw verions.
7d036af2 494
c2c40d93
ILT
495* objdump support for -mi386:intel which causes disassembly to be displayed
496 with intel syntax.
252b5132
RH
497
498* New program: readelf. This displays the contents of ELF format files,
499 regardless of target machine.
500
501* objcopy now takes --change-section-lma, --change-section-vma, and
502 --change-section-address options. The old --adjust-section-vma option is
503 equivalent to --change-section-address. The other --adjust-* options are now
504 renamed to --change-*, although --adjust-* continues to work.
505
57938635
AM
506* objcopy has a --redefine-sym option that lets you rename symbols.
507
508* objcopy now takes a -j/--only-section option to copy only the specified
509 sections.
510
252b5132
RH
511* dlltool now supports the IMPORTS command.
512
513* dlltool now takes --export-all-symbols, --no-export-all-symbols,
514 --exclude-symbols, and --no-default-excludes options.
515
516Changes in binutils 2.9:
517
518* Added windres program, which can be used to manipulate resources in WIN32
519 files as used on Windows 95 and Windows NT.
520
521* The objcopy --gap-fill and --pad-to options operate on the LMA rather than
522 the VMA of the sections.
523
524* Added S modifier to ar to not build a symbol table.
525
526Changes in binutils 2.8:
527
528* The objdump disassembly format has been changed, and hopefully improved. Use
529 the new --prefix-addresses option to get the old format. There are also new
530 --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
531 output.
532
533* Formats may now be specified as configuration triplets. For example,
534 objdump -b i386-pc-linux. The triplets are not passed through config.sub,
535 so they must be in canonical form.
536
537* Added new addr2line program. This uses the debugging information to convert
538 an address into a file name and line number within a program.
539
540* Added --change-leading-char argument to objcopy.
541
542* Added --weaken argument to objcopy.
543
544* objdump --dynamic-reloc now works on ELF executables and shared libraries.
545
546* Added --adjust-vma option to objdump.
547
548* Added -C/--demangle option to objdump.
549
550* Added -p/--preserve-dates option to strip and objcopy.
551
552Changes in binutils 2.7:
553
554* Added --enable-shared and --enable-commonbfdlib options to configure.
555
556* Added --debugging argument to objdump and objcopy.
557
558* Added --defined-only argument to nm.
559
560* Added --remove-leading-char argument to objcopy.
561
562* The objdump --line-numbers option is now meaningful with --reloc.
563
564* Added --line-numbers option to nm.
565
566* Added --endian/-EB/-EL option to objdump.
567
568* Added support for Alpha OpenVMS/AXP.
569
570Changes in binutils 2.6:
571
572* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
573
574* Added several arguments to objcopy to provide some control over how the new
575 file is laid out in memory. Also added binary output format to BFD to permit
576 generating plain binary files.
577
578* Added --start-address and --stop-address options to objdump.
579
580* ar and ranlib now work on AIX. The tools are now built by default on AIX.
581
582Changes in binutils 2.5:
583
584* Changed objdump -dr to dump the relocs interspersed with the assembly
1049f94e 585 listing, for a more useful listing of relocatable files.
252b5132
RH
586
587* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
588 Added -D/--disassemble-all option to disassemble all sections.
589
590* Added --size-sort option to nm.
591
592* strip and objcopy should now be able to handle dynamically linked ELF
593 executables.
594
595Changes in binutils 2.4:
596
597* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
598 PowerPC (except ar and ranlib; by Ian Taylor).
599
600* Support for Irix 5.
601
602* Programs `strip' and `objcopy' will not attempt to write dynamically linked
603 ELF output files, since BFD currently can't create them properly.
604
605Changes in binutils 2.3:
606
607* A new --stabs argument has been added to objdump to dump stabs sections in
608 ELF and COFF files.
609
610* A new program, nlmconv, has been added. It can convert object files into
611 Novell NetWare Loadable Modules.
612
613* The strings program has been added.
614
615Changes in binutils 2.2:
616
617* The 'copy' program has been renamed to 'objcopy', for consistency with
618 'objdump', and because 'copy' might more plausibly be used as a synonym for
619 'cp'.
620
621* The new stand-alone program c++filt is a filter that converts encoded
622 (mangled) C++ assembly-level identifiers to user-level names. (Note: This
623 may get moved to the gcc distribution.)
624
625* nm -o on an archive now prefixes each line with the archive name, matching
626 the output from BSD nm.
627
628* ar (and ld) can now read (but not write) BSD4.4-style archives.
629
630* New support for H8500, Z8000, and the Hitach SH.
631
632* Dis-assembler interface changed to allow sharing with gdb.
633
634* There is new Elf code, but it is not yet ready for general use.
635
636* There is the beginnings of a test suite.
637
638Changes in binutils 2.1:
639
640* There is now support for writing ECOFF files, so ld and the other utilities
641 should work on Risc/Ultrix and Irix. Please let us know how well this works.
642
643* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
644 version), if there are any object files in the archive. So running ranlib is
645 now redundant (unless the non-standard q command is used). This is required
646 for Posix.2 conformance.
647
648* The archive-reading code now reads both BSD-style and SYSV-style archives
649 independently of the selected target format. This is to encourage people to
650 switch to SYSV-format, which has a number of advantages.
651
652* The strip and copy programs now have options to remove debug-symbols only
653 and/or local symbols only. They now also support long options.
654
655\f
82704155 656Copyright (C) 2012-2019 Free Software Foundation, Inc.
5bf135a7
NC
657
658Copying and distribution of this file, with or without modification,
659are permitted in any medium without royalty provided the copyright
660notice and this notice are preserved.
661
252b5132
RH
662Local variables:
663fill-column: 79
664End:
This page took 0.729855 seconds and 4 git commands to generate.