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