]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - binutils/NEWS
[gdb/testsuite] Remove more uses of "eval"
[thirdparty/binutils-gdb.git] / binutils / NEWS
... / ...
CommitLineData
1-*- text -*-
2
3* Add --got-contents option to readelf to display the contents of
4 Global Offset Table (GOT) sections.
5
6* Internal changes to plugin support, and stricter target checking may result
7 in some errors being exposed in user options passed to the various binutils.
8 For example objcopy --target=TARGET now will only work if the input file is
9 for TARGET whereas prior versions of objcopy accepted other target input
10 files and produced a TARGET output. If you do in fact want the old
11 behaviour the correct usage is objcopy --output-target=TARGET.
12
13* NaCl target support is removed.
14
15Changes in 2.45:
16
17* New versioned release of libsframe: libsframe.so.2. This release introduces
18 versioned symbols with version node name LIBSFRAME_2.0. Some new symbols
19 have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and
20 retrieving flags from SFrame decoder and encoder objects:
21 - Addition of sframe_decoder_get_flags,
22 sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags,
23 sframe_encoder_get_offsetof_fde_start_addr.
24 This release also includes backward-incompatible ABI changes:
25 - Removal of sframe_get_funcdesc_with_addr.
26 - Change in the behavior of sframe_decoder_get_funcdesc_v2,
27 sframe_encoder_add_funcdesc_v2 and sframe_encoder_write.
28
29* On s390 64-bit (s390x), gas, ld, objdump, and readelf now support generating
30 and processing SFrame V2 stack trace information (.sframe). The assembler
31 generates SFrame info from CFI directives with option "--gsframe". The
32 linker generates SFrame info for the linker-generated .plt section and merges
33 all .sframe sections. Both objdump and readelf dump SFrame info with option
34 "--sframe[=<section-name>]".
35
36* For SFrame stack trace format, the function start address in each SFrame
37 FDE has a changed encoding: The 32-bit signed integer now holds the offset
38 of the start PC of the associated function from the sfde_func_start_address
39 field itself (instead of the earlier where it was the offset from the start
40 of the SFrame section itself). All SFrame sections generated by gas and ld
41 now default to this new encoding, setting the (new)
42 SFRAME_F_FDE_FUNC_START_PCREL flag.
43
44 Relocatable SFrame links are now fixed.
45
46* Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and
47 GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp
48 extensions.
49
50* For RISC-V dis-assembler, the definition of mapping symbol $x is changed,
51 so the file needs to be rebuilt since 2.45 once used .option arch directives.
52
53* The LoongArch disassembler now properly accepts multiple disassembly
54 options given by -M, such as "-M no-aliases,numeric". (Previously only the
55 first option took effect.)
56
57Changes in 2.44:
58
59* Support for Nios II targets has been removed except in the readelf utility,
60 as this architecture has been EOL'ed by Intel.
61
62* RISC-V disassembly now supports -M,max option like QEMU to dump instruction
63 without checking architecture support as usual.
64
65* gprofng:
66 Support for hardware event counters for Neoverse-N1, Ampere-1, and
67 Appliedmicro processors.
68
69Changes in 2.43:
70
71* The MIPS port now supports microMIPS MT Application Specific Extension
72 instructions for assembly and disassembly.
73
74* Readelf now displays RELR relocations in full detail.
75
76* Readelf now has a -j/--display-section option which takes the name or index
77 of a section and displays its contents according to its type. The option can
78 be used multiple times on the command line to display multiple sections.
79
80* Base register 0 is now printed as "0" instead of "%r0" in s390 disassembly.
81
82* When objdump or readelf are used to display the contents of a .eh_frame
83 section they will now also display the contents of the .eh_frame_hdr section,
84 if present.
85
86* Support for the Maverick co-processor (via -mfpu=maverick) on Arm has been
87 removed. The CPU name ep9312 is still recognized, but treated as an alias
88 for arm920t.
89
90* Support for the FPA co-procossor on Arm has been removed. In cases where a
91 legacy CPU previously defaulted to using this instruction set extension, the
92 assembler now defaults to no-FPU to avoid quietly misassembling legacy code.
93
94* gprofng:
95 Improved the support for hardware event counters:
96 - Re-designed and streamlined the implementation.
97 - Defined a common set of events for ARM processors.
98 - Added specific events for AMD ZEN3 / ZEN4, and Intel Ice Lake processors.
99 Added a minimal support for RISC-V.
100
101Changes in 2.42:
102
103* The objdump program has a new command line option -Z/--decompress which
104 changes the behaviour of the -s/--full-contents option, forcing it to
105 decompress the contents of any compressed section before they are displayed.
106
107 In addition when objdump is displaying sections headers (via the -h/--headers
108 command line option) it will now display "COMPRESSED" in the Flags field of
109 any compressed section.
110
111* The readelf program has a new command line option --extra-sym-info which
112 extends the information displayed by the --symbols option. When enabled
113 the display will include the name of the section referenced by a symbol's
114 index field (st_shndx). In the future more information may also be displayed
115 when this option is enabled.
116
117* objcopy --set-section-flags now supports "large" to set SHF_X86_64_LARGE
118 for ELF x86-64 objects.
119
120* objdump --visualize-jumps is now supported on s390 architecture.
121
122* The s390 disassembly now optionally includes the instruction description as
123 comment with the s390-specific disassembler option "insndesc":
124 - For objdump it can be enabled with "objdump -M insndesc ...".
125 - In gdb it can be enabled with "set disassembler-options insndesc".
126
127Changes in 2.41:
128
129* The MIPS port now supports the Sony Interactive Entertainment Allegrex
130 processor, used with the PlayStation Portable, which implements the MIPS
131 II ISA along with a single-precision FPU and a few implementation-specific
132 integer instructions.
133
134* Objdump's --private option can now be used on PE format files to display the
135 fields in the file header and section headers.
136
137* New versioned release of libsframe: libsframe.so.1. This release introduces
138 versioned symbols with version node name LIBSFRAME_1.0. This release also
139 updates the ABI in an incompatible way: this includes removal of
140 sframe_get_funcdesc_with_addr API, change in the behavior of
141 sframe_fre_get_ra_offset and sframe_fre_get_fp_offset APIs.
142
143* SFrame Version 2 is now the default (and only) format version supported by
144 gas, ld, readelf and objdump.
145
146* Add command-line option, --strip-section-headers, to objcopy and strip to
147 remove ELF section header from ELF file.
148
149* The RISC-V port now supports the following new standard extensions:
150 - Zicond (conditional zero instructions)
151 - Zfa (additional floating-point instructions)
152 - Zvbb, Zvbc, Zvkg, Zvkned, Zvknh[ab], Zvksed, Zvksh, Zvkn, Zvknc, Zvkng,
153 Zvks, Zvksc, Zvkg, Zvkt (vector crypto instructions)
154
155* The RISC-V port now supports the following vendor-defined extensions:
156 - XVentanaCondOps
157
158* The LoongArch port now supports the following extensions:
159 - LSX (Loongson SIMD eXtension; 128-bit vectors)
160 - LASX (Loongson Advanced SIMD eXtension; 256-bit vectors)
161 - LVZ (Loongson Virtualization extension)
162 - LBT (Loongson Binary Translation extension)
163
164* The LoongArch disassembly output received the following tweaks:
165 - Colored output is now supported.
166 - Some pseudo-instructions are now shown in place of the canonical forms,
167 where semantics are equivalent. A disassembler option '-M no-aliases' is
168 added to disable the new behavior.
169 - Signed immediates are no longer printed with their hex representation.
170 - Unrecognized instruction words are now shown with '.word'.
171
172Changes in 2.40:
173
174* Objdump has a new command line option --show-all-symbols which will make it
175 display all symbols that match a given address when disassembling. (Normally
176 only the first symbol that matches an address is shown).
177
178* Add --enable-colored-disassembly configure time option to enable colored
179 disassembly output by default, if the output device is a terminal. Note,
180 this configure option is disabled by default.
181
182* DCO signed contributions are now accepted.
183
184* objcopy --decompress-debug-sections now supports zstd compressed debug
185 sections. The new option --compress-debug-sections=zstd compresses debug
186 sections with zstd.
187
188* addr2line and objdump --dwarf now support zstd compressed debug sections.
189
190* The dlltool program now accepts --deterministic-libraries and
191 --non-deterministic-libraries as command line options to control whether or
192 not it generates deterministic output libraries. If neither of these options
193 are used the default is whatever was set when the binutils were configured.
194
195* readelf and objdump now have a newly added option --sframe which dumps the
196 SFrame section.
197
198Changes in 2.39:
199
200* Add --no-weak/-W option to nm to make it ignore weak symbols.
201
202* Add an option to objdump and readelf to prevent attempts to access debuginfod
203 servers when following links.
204
205* objcopy --weaken, --weaken-symbol, and --weaken-symbols now make ELF
206 STB_GNU_UNIQUE symbols weak.
207
208* objdump now supports syntax highlighting of disassembler output for some
209 architectures. Use the --disassembler-color=MODE command line flag, with
210 mode being either off, color, or extended-color.
211
212Changes in 2.38:
213
214* elfedit: Add --output-abiversion option to update ABIVERSION.
215
216* Add support for the LoongArch instruction set.
217
218* Tools which display symbols or strings (readelf, strings, nm, objdump)
219 have a new command line option which controls how unicode characters are
220 handled. By default they are treated as normal for the tool. Using
221 --unicode=locale will display them according to the current locale.
222 Using --unicode=hex will display them as hex byte values, whilst
223 --unicode=escape will display them as escape sequences. In addition
224 using --unicode=highlight will display them as unicode escape sequences
225 highlighted in red (if supported by the output device).
226
227* readelf -r dumps RELR relative relocations now.
228
229* Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been
230 added to objcopy in order to enable UEFI development using binutils.
231
232* ar: Add --thin for creating thin archives. -T is a deprecated alias without
233 diagnostics. In many ar implementations -T has a different meaning, as
234 specified by X/Open System Interface.
235
236Changes in 2.37:
237
238* The readelf tool has a new command line option which can be used to specify
239 how the numeric values of symbols are reported. --sym-base=0|8|10|16 tells
240 readelf to display the values in base 8, base 10 or base 16. A sym base of 0
241 represents the default action of displaying values under 10000 in base 10 and
242 values above that in base 16.
243
244* Binutils now requires a C99 compiler and library to build.
245
246* A new format has been added to the nm program. Specifying
247 --format=just-symbols (or just using -j) will tell the program to only
248 display symbol names and nothing else.
249
250* A new command line --keep-section-symbols has been added to objcopy and
251 strip. This stops the removal of unused section symbols when the file is
252 copied. Removing these symbols saves space, but sometimes they are needed by
253 other tools.
254
255* objcopy --weaken, --weaken-symbol and --weaken-symbols now make undefined
256 symbols weak on targets that support weak symbols.
257
258* Readelf and objdump can now display and use the contents of .debug_sup
259 sections.
260
261* Readelf and objdump will now follow links to separate debug info files by
262 default. This behaviour can be stopped via the use of the new -wN or
263 --debug-dump=no-follow-links options for readelf and the -WN or
264 --dwarf=no-follow-links options for objdump. Also the old behaviour can be
265 restored by the use of the --enable-follow-debug-links=no configure time
266 option.
267
268 The semantics of the =follow-links option have also been slightly changed.
269 When enabled, the option allows for the loading of symbol tables and string
270 tables from the separate files which can be used to enhance the information
271 displayed when dumping other sections, but it does not automatically imply
272 that information from the separate files should be displayed.
273
274 If other debug section display options are also enabled (eg
275 --debug-dump=info) then the contents of matching sections in both the main
276 file and the separate debuginfo file *will* be displayed. This is because in
277 most cases the debug section will only be present in one of the files.
278
279 If however non-debug section display options are enabled (eg --sections) then
280 the contents of matching parts of the separate debuginfo file will *not* be
281 displayed. This is because in most cases the user probably only wanted to
282 load the symbol information from the separate debuginfo file. In order to
283 change this behaviour a new command line option --process-links can be used.
284 This will allow di0pslay options to applied to both the main file and any
285 separate debuginfo files.
286
287* Nm has a new command line option: --quiet. This suppresses "no symbols"
288 diagnostic.
289
290Changes in 2.36:
291
292* Update elfedit and readelf with LAM_U48 and LAM_U57 support.
293
294* Nm has a new command line option: --ifunc-chars=CHARS. This specifies a
295 string of one or two characters. The first character is used as the type
296 character when displaying global ifunc symbols. The second character, if
297 present is used when displaying local ifunc symbols.
298
299 In addition a new configure time option --enable-f-for-ifunc-symbols has been
300 created, which if used will change nm's default characters for ifunc symbols
301 from i (both local and global) to F (global) and f (local).
302
303* The ar tool's previously unused l modifier is now used for specifying
304 dependencies of a static library. The arguments of this option
305 (or --record-libdeps long form option) will be stored verbatim in the
306 __.LIBDEP member of the archive, which the linker may read at link time.
307
308* Readelf can now display the contents of LTO symbol table sections when asked
309 to do so via the --lto-syms command line option.
310
311* Readelf now accepts the -C command line option to enable the demangling of
312 symbol names. In addition the --demangle=<style>, --no-demangle,
313 --recurse-limit and --no-recurse-limit options are also now availale.
314
315* Add support for the SHF_GNU_RETAIN ELF section flag.
316 This flag specifies that the section should not be garbage collected by the
317 linker.
318
319Changes in 2.35:
320
321* Changed readelf's display of symbol names when wide mode is not enabled.
322 If the name is too long it will be truncated and the last five characters
323 replaced with "[...]". The old behaviour of displaying 5 more characters but
324 not indicating that truncation has happened can be restored by the use of the
325 -T or --silent-truncation options.
326
327* X86 NaCl target support is removed.
328
329* The readelf tool now has a -L or --lint or --enable-checks option which turns
330 on warning messages about possible problems with the file(s) being examined.
331 These checks include things like zero-sized sections, which are allowed by
332 the ELF standard but which nevertheless might be of concern if the user
333 was expecting them to actually contain something.
334
335Changes in 2.34:
336
337* Binutils now supports debuginfod, an HTTP server for distributing
338 ELF/DWARF debugging information as well as source code. When built with
339 debuginfod, readelf and objdump can automatically query debuginfod
340 servers for separate debug files when they otherwise cannot be found.
341 To build binutils with debuginfod, pass --with-debuginfod to configure.
342 This requires libdebuginfod, the debuginfod client library. debuginfod
343 is distributed with elfutils, starting with version 0.178. For more
344 information see https://sourceware.org/elfutils.
345
346* Add --output option to the "ar" program. This option can be used to specify
347 the output directory when extracting members from an archive.
348
349* Add --keep-section option to objcopy and strip. This option keeps the
350 specified section from being removed.
351
352 * Add visualization of jumps inside a function by drawing an ascii character
353 graph between the address and the disassembler column. Enabled via the
354 --visualize-jumps command line option for objdump. Currently supported by
355 the x86, x86_64, and ARM targets. The output looks something like this:
356
357 c6: | | \----------> be 00 00 00 00 mov $0x0,%esi
358 cb: | | /----> 48 8b 3d 00 00 00 00 mov 0x0(%rip),%rdi # d2 <main+0xd2>
359 d2: | | | 31 c0 xor %eax,%eax
360 d4: | | | /-- e8 00 00 00 00 callq d9 <main+0xd9>
361 d9: | | | \-> bf 02 00 00 00 mov $0x2,%edi
362 de: | +-----------|----- e8 00 00 00 00 callq e3 <main+0xe3>
363 e3: | \-----------|----> 48 89 da mov %rbx,%rdx
364 e6: | | be 00 00 00 00 mov $0x0,%esi
365 eb: | \----- eb de jmp cb <main+0xcb>
366 ed: \-------------------> 48 8b 16 mov (%rsi),%rdx
367
368 Additional arguments to the --visualize-jumps option add colors to the
369 output.
370
371Changes in 2.33:
372
373* Add --source-comment[=<txt>] option to objdump which if present,
374 provides a prefix to source code lines displayed in a disassembly.
375
376* Add --set-section-alignment <section-name>=<align> option to objcopy to allow
377 the changing of section alignments.
378
379* Add --verilog-data-width option to objcopy for verilog targets to control
380 width of data elements in verilog hex format.
381
382* Add support for the Armv8.1-M Mainline and M-profile Vector Extension (MVE)
383 instructions.
384
385* The separate debug info file options of readelf (--debug-dump=links
386 and --debug-dump=follow) and objdump (--dwarf=links and
387 --dwarf=follow-links) will now display and/or follow multiple links if
388 more than one are present in a file. (This usually happens when gcc's
389 -gsplit-dwarf option is used).
390
391 In addition objdump's --dwarf=follow-links now also affects its other
392 display options, so that for example, when combined with --syms it will
393 cause the symbol tables in any linked debug info files to also be
394 displayed. In addition when combined with --disassemble the --dwarf=
395 follow-links option will ensure that any symbol tables in the linked
396 files are read and used when disassembling code in the main file.
397
398 * Add support for dumping types encoded in the Compact Type Format
399 to objdump and readelf.
400
401Changes in 2.32:
402
403* The addr2line, c++filt, nm and objdump tools now have a limit on the
404 maximum amount of recursion that is allowed whilst demangling strings.
405 The value for this limit is defined by the DEMANGLE_RECRUSE_LIMIT
406 constant declared in the include/demangle.h header file. At the time
407 of writing this constant has the value of 2048.
408
409 The --no-recurse-limit option can be used to remove the limit, restoring
410 the behaviour of earlier versions of these tools. This may be needed in
411 order to dmangle truly complicated names, but it also leaves the tools
412 vulnerable to stack exhaustion from maliciously constructed mangled names.
413
414* Objdump's --disassemble option can now take a parameter, specifying the
415 starting symbol for disassembly. Disassembly will continue from this
416 symbol up to the next symbol or the end of the function.
417
418* The MIPS port now supports the Loongson 2K1000 processor which implements
419 the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE, Loongson-ext ASE,
420 Loongson-ext2 ASE and MSA ASE instructions. Add -march=gs264e option for
421 Loongson 2K1000 processor.
422
423* The MIPS port now supports the Loongson 3A2000/3A3000 processor which
424 implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE,
425 Loongson-ext ASE and Loongson-ext2 ASE instructions. Add -march=gs464e
426 option for Loongson 3A2000/3A3000 processor.
427
428* The MIPS port now supports the Loongson 3A1000 processor, aka Loongson3a,
429 which implements the MIPS64r2 ISA, the Loongson-mmi ASE, Loongson-cam ASE
430 and Loongson-ext ASE instructions. Add -march=gs464 option for Loongson
431 3A1000 processor, The -march=loongson3a is an alias of -march=gs464 for
432 compatibility.
433
434* The size tool now has a new output format '--format=GNU' or '-G'. The
435 results are displayed in a similar manor to the default berkeley layout,
436 except read-only data is counted in the data column, not the text column.
437 Additionally the total is only included once.
438
439Changes in 2.31:
440
441* Add support for disassembling netronome Flow Processor (NFP) firmware files.
442
443* The AArch64 port now supports showing disassembly notes which are emitted
444 when inconsistencies are found with the instruction that may result in the
445 instruction being invalid. These can be turned on with the option -M notes
446 to objdump.
447
448* The AArch64 port now emits warnings when a combination of an instruction and
449 a named register could be invalid.
450
451* Added O modifier to ar to display member offsets inside an archive
452
453Changes in 2.30:
454
455* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
456 which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
457 sections.
458
459 Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
460 option to objdump which causes indirect links into separate debug info files
461 to be followed when dumping other DWARF sections.
462
463Changes in 2.29:
464
465* The MIPS port now supports microMIPS eXtended Physical Addressing (XPA)
466 instructions for assembly and disassembly.
467
468* The MIPS port now supports the microMIPS Release 5 ISA for assembly and
469 disassembly.
470
471* The MIPS port now supports the Imagination interAptiv MR2 processor,
472 which implements the MIPS32r3 ISA, the MIPS16e2 ASE as well as a couple
473 of implementation-specific regular MIPS and MIPS16e2 ASE instructions.
474
475* The SPARC port now supports the SPARC M8 processor, which implements the
476 Oracle SPARC Architecture 2017.
477
478* The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly.
479
480* Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX.
481
482* Add support for the wasm32 ELF conversion of the WebAssembly file format.
483
484* Add --inlines option to objdump, which extends the --line-numbers option
485 so that inlined functions will display their nesting information.
486
487* Add --merge-notes options to objcopy to reduce the size of notes in
488 a binary file by merging and deleting redundant notes.
489
490* Add support for locating separate debug info files using the build-id
491 method, where the separate file has a name based upon the build-id of
492 the original file.
493
494Changes in 2.28:
495
496* This version of binutils fixes a problem with PowerPC VLE 16A and 16D
497 relocations which were functionally swapped, for example,
498 R_PPC_VLE_HA16A performed like R_PPC_VLE_HA16D while R_PPC_VLE_HA16D
499 performed like R_PPC_VLE_HA16A. This could have been fixed by
500 renumbering relocations, which would keep object files created by an
501 older version of gas compatible with a newer ld. However, that would
502 require an ABI update, affecting other assemblers and linkers that
503 create and process the relocations correctly. It is recommended that
504 all VLE object files be recompiled, but ld can modify the relocations
505 if --vle-reloc-fixup is passed to ld. If the new ld command-line
506 option is not used, ld will ld warn on finding relocations inconsistent
507 with the instructions being relocated.
508
509* The nm program has a new command-line option (--with-version-strings)
510 which will display a symbol's version information, if any, after the
511 symbol's name.
512
513* The ARC port of objdump now accepts a -M option to specify the extra
514 instruction class(es) that should be disassembled.
515
516* The --remove-section option for objcopy and strip now accepts section
517 patterns starting with an exclamation point to indicate a non-matching
518 section. A non-matching section is removed from the set of sections
519 matched by an earlier --remove-section pattern.
520
521* The --only-section option for objcopy now accepts section patterns
522 starting with an exclamation point to indicate a non-matching section.
523 A non-matching section is removed from the set of sections matched by
524 an earlier --only-section pattern.
525
526* New --remove-relocations=SECTIONPATTERN option for objcopy and strip.
527 This option can be used to remove sections containing relocations.
528 The SECTIONPATTERN is the section to which the relocations apply, not
529 the relocation section itself.
530
531Changes in 2.27:
532
533* Add a configure option, --enable-64-bit-archive, to force use of a
534 64-bit format when creating an archive symbol index.
535
536* Add --elf-stt-common= option to objcopy for ELF targets to control
537 whether to convert common symbols to the STT_COMMON type.
538
539Changes in 2.26:
540
541* Add option to objcopy to insert new symbols into a file:
542 --add-symbol <name>=[<section>:]<value>[,<flags>]
543
544* Add support for the ARC EM/HS, and ARC600/700 architectures.
545
546* Extend objcopy --compress-debug-sections option to support
547 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
548 targets.
549
550* Add --update-section option to objcopy.
551
552* Add --output-separator option to strings.
553
554Changes in 2.25:
555
556* Add --data option to strings to only print strings in loadable, initialized
557 data sections. Change the default behaviour to be --all, but add a new
558 configure time option of --disable-default-strings-all to restore the old
559 default behaviour.
560
561* Add --include-all-whitespace to strings.
562
563* Add --dump-section option to objcopy.
564
565* Add support for the Andes NDS32.
566
567Changes in 2.24:
568
569* Objcopy now supports wildcard characters in command-line options that take
570 section names.
571
572* Add support for Altera Nios II.
573
574Changes in 2.23:
575
576* Add support for the VLE extension to the PowerPC architecture.
577
578* Add support for x64 Windows target of the delayed-load-library.
579
580* Add support for the Renesas RL78 architecture.
581
582Changes in 2.22:
583
584* Add support for displaying the contents of .debug.macro sections.
585
586* Add --preprocessor-arg option to windres to specify additional options
587 passed to preprocessor.
588
589* Add --dwarf-start and --dwarf-end to readelf and objdump. These are used by
590 the new Emacs mode, see dwarf-mode.el.
591
592* Add support for the Tilera TILEPro and TILE-Gx architectures.
593
594changes in 2.21:
595
596* Add --interleave-width option to objcopy to allowing copying a range of
597 bytes from the input to the output with the --interleave option.
598
599* Add support for the TMS320C6000 (TI C6X) processor family.
600
601* Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using
602 the -u / --unwind option.
603
604* Add --dyn-syms to readelf to dump dynamic symbol table.
605
606* A new tool - elfedit - has been added to directly manipulate ELF format
607 binaries.
608
609* Add to dlltool .def file feature of aliasing PE internal symbol name by
610 '== <ID>' option.
611
612* Add a new command-line option -a / --addresses to addr2line to display the
613 address before function name or source filename.
614
615* Add a new command-line option -p / --pretty-print to addr2line to have
616 a more human readable output.
617
618* The hppa/som targets can now be compiled on any host.
619
620Changes in 2.20:
621
622* Add support for delay importing to dlltool. Use the --output-delaylib <file>
623 switch to create a delay-import library. The resulting app will load the dll
624 as soon as the first function is called. It will link to __delayLoadHelper2()
625 from the static delayimp library, which will import LoadLibraryA and
626 GetProcAddress from kernel32.
627
628* Add a new command-line option, --insn-width=WIDTH, to objdump to specify
629 number of bytes to be displayed on a single line when disassembling
630 instructions.
631
632* Readelf can now display the relocated contents of a section as a sequence
633 of bytes via the --relocated-dump=<name|number> command-line option.
634
635* The gprof program has been given a new command-line option:
636 --external-symbols-table=<filename> which reads in symbols from a specified
637 file.
638
639* The plugin target has been added to bfd. It can load the same shared objects
640 used by gold and uses them to provide basic support for new file formats.
641
642* The verilog memory hex dump file format is now supported as an output format
643 for objcopy.
644
645* Add --file-alignment, --heap, --image-base, --section-alignment,
646 --stack and --subsystem command-line options to objcopy, which will
647 set PE optional header.
648
649* Option --dwarf/-W of objdump is now as flexible as readelf --debug-dump/-w.
650
651* --as-needed now links in a dynamic library if it satisfies undefined
652 symbols in regular objects, or in other dynamic libraries. In the
653 latter case the library is not linked if it is found in a DT_NEEDED
654 entry of one of the libraries already linked.
655
656* Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to
657 add absolute paths for -S.
658
659* Add new option --use-nul-prefixed-import-tables to dlltool to allow fall-
660 back to old import table generation with null element prefix.
661
662* Added --identify-strict switch to cause --identify <implib> to
663 report an error when the import library is associated with
664 multiple DLLs.
665
666* Added --identify <implib> option to dlltool, which determines the
667 name of the DLL associated with the specified <implib>.
668
669* Support for PowerPC booke64 instructions has been removed. The assembler no
670 longer accepts -mbooke32 or -mbooke64 and the disassembler no longer accepts
671 -Mbooke32 or -Mbooke64. Instead, -mbooke and -Mbooke should be used.
672
673Changes in 2.19:
674
675* Added -wL switch to dump decoded contents of .debug_line.
676
677* Added support for "thin" archives which contain pathnames pointing to
678 object files rather than the files themselves and which contain a
679 flattened symbol index for all objects, and archives, which have been
680 added to the archive.
681
682* Added -F switch to objdump to include file offsets in the disassembly.
683
684* Added -c switch to readelf to allow string dumps of archive symbol index.
685
686* Support for SSE5 has been added to the i386 port.
687
688* Added -p switch to readelf to allow string dumps of sections.
689
690Changes in 2.18:
691
692* Resolved 37 coding problems in bfd including static array overruns, null
693 pointer dereferences and use of a malloc buffer after it has been freed, as
694 revealed by static analysis donated by Coverity, Inc. (http://scan.coverity.com).
695
696* The binutils sources are now released under version 3 of the GNU General
697 Public License.
698
699* A new tool "windmc" has been added for some targets. This is a message
700 compiler which attempts to be compatible with the MS version.
701
702* Add codepage support to the windres tool. It now supports many new
703 resource types (e.g. MANIFEST, TOOLBAR, etc). The output generation
704 for binary files is done now via bfd itself. The endianess problems
705 for different hosts are solved. Dumps of .res files can now be
706 re-compiled by windres without lossing resources or compilation errors.
707 Some problems on dialog resource translations are corrected.
708
709* Add --extract-symbol command-line option to objcopy, which will
710 strip everything out of an ordinary object file or executable except
711 for its symbol table. Files containing just symbols can be useful
712 to some OSes.
713
714Changes in 2.17:
715
716* Add "-x NAME" to readelf in addition to "-x NUMBER".
717
718* Add -i and -t switches to cxxfilt. -i disables the display of implementation
719 specific extra demangling information (if any) and -t disables the demangling
720 of types.
721
722* Add support for the "@<file>" syntax to the command lines of all tools, so
723 that extra switches can be read from <file>.
724
725* Add "-W/--dwarf" to objdump to display the contents of the DWARF
726 debug sections.
727
728* Add "-t/--section-details" to readelf to display section details.
729 "-N/--full-section-name" is deprecated.
730
731* powerpc-linux ld now supports a variant form of PLT and GOT for the security
732 conscious. This form will automatically be chosen when ld detects that all
733 code in regular object files was generated by gcc -msecure-plt. The old PLT
734 and GOT may be forced by a new ld option, --bss-plt.
735
736* Add "-i/--inlines" to addr2line to print enclosing scope information
737 for inlined function chains, back to first non-inlined function.
738
739* Add "-N/--full-section-name" to readelf to display full section name.
740
741* Add "-M entry:<addr>" switch to objdump to specify a function entry address
742 when disassembling VAX binaries.
743
744* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
745 to objcopy to convert local symbols into global symbols.
746
747* gprof now allows input files to have histogram records for
748 several memory ranges, provided those ranges are disjoint.
749
750Changes in 2.16:
751
752* Add "-g/--section-groups" to readelf to display section groups.
753
754* objcopy recognizes two new options --strip-unneeded-symbol and
755 --strip-unneeded-symbols, namely for use together with the wildcard
756 matching the original --strip-symbol/--strip-symbols provided, but
757 retaining any symbols matching but needed by relocations.
758
759* readelf can now display address ranges from .debug_range sections. This
760 happens automatically when a DW_AT_range attribute is encountered. The
761 command-line switch --debug-dump=Ranges (or -wR) can also be used to display
762 the contents of the .debug_range section.
763
764* nm and objdump now have a switch "--special-syms" to enable the displaying of
765 symbols which the target considers to be special. By default these symbols
766 are no longer displayed. Currently the only special symbols are the Mapping
767 symbols used by the ARM port to mark transitions between text and data and
768 between ARM and THUMB code.
769
770* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
771 import and export symbols with <preifx> prepended to them.
772
773Changes in 2.15:
774
775* objcopy for MIPS targets now accepts "-M no-aliases" as an option to the
776 disassembler to print the "raw" mips instruction mnemonic instead of some
777 pseudo instruction name. I.E. print "daddu" or "or" instead of "move",
778 "sll" instead of "nop", etc.
779
780* objcopy and strip can now take wildcard patterns in symbol names specified on
781 the command line provided that the --wildcard switch is used to enable them.
782
783* readelf can now parse archives.
784
785* objdump now accepts --debugging-tags to print the debug information in a
786 format compatible with ctags tool.
787
788* objcopy and strip now accept --only-keep-debug to create a file containing
789 those sections that would be stripped out by --strip-debug. The idea is that
790 this can be used in conjunction with the --add-gnu-debuglink switch to create
791 a two part program distribution - one a stripped executable and the other the
792 debugging info.
793
794* objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
795 section into a (presumably stripped) executable. This allows the debug
796 information for the file to be held in a separate file.
797
798* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
799 single-character representation. This can be checked by running nm
800 with the -a switch.
801
802Changes in 2.14:
803
804* Added --info switch to objcopy and strip.
805
806* Support for Vitesse IQ2000 added by Red Hat.
807
808* Added 'S' encoding to strings to allow the display of 8-bit characters.
809
810* Added --prefix-symbols=<text>, --prefix-sections=<text> and
811 --prefix-alloc-sections=<text> to objcopy.
812
813* readelf can handle the extensions to the DWARF2 spec used by the Unified
814 Parallel C compiler.
815
816* BFD no longer declares a "boolean" type, to avoid clashes with other
817 headers that declare the same. Users of BFD should replace boolean,
818 false and true, with int, 0 and 1, or define their own boolean type.
819
820* Support for IP2K added by Denis Chertykov.
821
822Changes in 2.13:
823
824* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
825 and FR500 included.
826
827Changes in version 2.12:
828
829* Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
830
831* size: Add --totals to display summary of sizes (Berkeley format only).
832
833* readelf: Add --wide option to not break section header or segment listing
834 lines to fit into 80 columns.
835
836* strings: Add --encoding to display wide character strings. By Markus Kuhn.
837
838* objcopy: Add --rename-section to change section names.
839
840* readelf: Support added for DWARF 2.1 extensions. Support added for
841 displaying the contents of .debug.macinfo sections.
842
843* New command-line switches added to objcopy to allow symbols to be kept as
844 global symbols, and also to specify files containing lists of such symbols.
845 by Honda Hiroki.
846
847* Support for OpenRISC by Johan Rydberg.
848
849* New command-line switch to objcopy --alt-machine-code which creates a binary
850 with an alternate machine code if one is defined in the architecture
851 description. Only supported for ELF targets. By Alexandre Oliva.
852
853* New command-line switch to objcopy -B (or --binary-architecture) which sets
854 the architecture of the output file to the given argument. This option only
855 makes sense, if the input target is binary. Otherwise it is ignored.
856 By Stefan Geuken.
857
858* Support for PDP-11 by Lars Brinkhoff.
859
860Changes in binutils 2.11:
861
862* Add support for ARM v5t and v5te architectures and Intel's XScale ARM
863 extenstions.
864
865* Add --srec-len and --srec-forceS3 command-line switch to objcopy.
866 By Luciano Gemme.
867
868* Support for the MIPS32, by Anders Norlander.
869
870* Support for the i860, by Jason Eckhardt.
871
872* Support for CRIS (Axis Communications ETRAX series).
873
874Changes in binutils 2.10:
875
876* Support for 64-bit ELF on HPPA.
877
878* New command-line switch to objdump --file-start-context which shows the
879 entire file contents up to the source line first encountered for a given
880 file.
881
882* New command-line switch to objdump -M (or --disassembler-options) which takes
883 a parameter which can then be interpreted on a per-target basis by the
884 disassembler. Used by ARM targets to select register name sets, ISA, APCS or
885 raw verions.
886
887* objdump support for -mi386:intel which causes disassembly to be displayed
888 with intel syntax.
889
890* New program: readelf. This displays the contents of ELF format files,
891 regardless of target machine.
892
893* objcopy now takes --change-section-lma, --change-section-vma, and
894 --change-section-address options. The old --adjust-section-vma option is
895 equivalent to --change-section-address. The other --adjust-* options are now
896 renamed to --change-*, although --adjust-* continues to work.
897
898* objcopy has a --redefine-sym option that lets you rename symbols.
899
900* objcopy now takes a -j/--only-section option to copy only the specified
901 sections.
902
903* dlltool now supports the IMPORTS command.
904
905* dlltool now takes --export-all-symbols, --no-export-all-symbols,
906 --exclude-symbols, and --no-default-excludes options.
907
908Changes in binutils 2.9:
909
910* Added windres program, which can be used to manipulate resources in WIN32
911 files as used on Windows 95 and Windows NT.
912
913* The objcopy --gap-fill and --pad-to options operate on the LMA rather than
914 the VMA of the sections.
915
916* Added S modifier to ar to not build a symbol table.
917
918Changes in binutils 2.8:
919
920* The objdump disassembly format has been changed, and hopefully improved. Use
921 the new --prefix-addresses option to get the old format. There are also new
922 --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
923 output.
924
925* Formats may now be specified as configuration triplets. For example,
926 objdump -b i386-pc-linux. The triplets are not passed through config.sub,
927 so they must be in canonical form.
928
929* Added new addr2line program. This uses the debugging information to convert
930 an address into a file name and line number within a program.
931
932* Added --change-leading-char argument to objcopy.
933
934* Added --weaken argument to objcopy.
935
936* objdump --dynamic-reloc now works on ELF executables and shared libraries.
937
938* Added --adjust-vma option to objdump.
939
940* Added -C/--demangle option to objdump.
941
942* Added -p/--preserve-dates option to strip and objcopy.
943
944Changes in binutils 2.7:
945
946* Added --enable-shared and --enable-commonbfdlib options to configure.
947
948* Added --debugging argument to objdump and objcopy.
949
950* Added --defined-only argument to nm.
951
952* Added --remove-leading-char argument to objcopy.
953
954* The objdump --line-numbers option is now meaningful with --reloc.
955
956* Added --line-numbers option to nm.
957
958* Added --endian/-EB/-EL option to objdump.
959
960* Added support for Alpha OpenVMS/AXP.
961
962Changes in binutils 2.6:
963
964* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
965
966* Added several arguments to objcopy to provide some control over how the new
967 file is laid out in memory. Also added binary output format to BFD to permit
968 generating plain binary files.
969
970* Added --start-address and --stop-address options to objdump.
971
972* ar and ranlib now work on AIX. The tools are now built by default on AIX.
973
974Changes in binutils 2.5:
975
976* Changed objdump -dr to dump the relocs interspersed with the assembly
977 listing, for a more useful listing of relocatable files.
978
979* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
980 Added -D/--disassemble-all option to disassemble all sections.
981
982* Added --size-sort option to nm.
983
984* strip and objcopy should now be able to handle dynamically linked ELF
985 executables.
986
987Changes in binutils 2.4:
988
989* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
990 PowerPC (except ar and ranlib; by Ian Taylor).
991
992* Support for Irix 5.
993
994* Programs `strip' and `objcopy' will not attempt to write dynamically linked
995 ELF output files, since BFD currently can't create them properly.
996
997Changes in binutils 2.3:
998
999* A new --stabs argument has been added to objdump to dump stabs sections in
1000 ELF and COFF files.
1001
1002* A new program, nlmconv, has been added. It can convert object files into
1003 Novell NetWare Loadable Modules.
1004
1005* The strings program has been added.
1006
1007Changes in binutils 2.2:
1008
1009* The 'copy' program has been renamed to 'objcopy', for consistency with
1010 'objdump', and because 'copy' might more plausibly be used as a synonym for
1011 'cp'.
1012
1013* The new stand-alone program c++filt is a filter that converts encoded
1014 (mangled) C++ assembly-level identifiers to user-level names. (Note: This
1015 may get moved to the gcc distribution.)
1016
1017* nm -o on an archive now prefixes each line with the archive name, matching
1018 the output from BSD nm.
1019
1020* ar (and ld) can now read (but not write) BSD4.4-style archives.
1021
1022* New support for H8500, Z8000, and the Hitach SH.
1023
1024* Dis-assembler interface changed to allow sharing with gdb.
1025
1026* There is new Elf code, but it is not yet ready for general use.
1027
1028* There is the beginnings of a test suite.
1029
1030Changes in binutils 2.1:
1031
1032* There is now support for writing ECOFF files, so ld and the other utilities
1033 should work on Risc/Ultrix and Irix. Please let us know how well this works.
1034
1035* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
1036 version), if there are any object files in the archive. So running ranlib is
1037 now redundant (unless the non-standard q command is used). This is required
1038 for Posix.2 conformance.
1039
1040* The archive-reading code now reads both BSD-style and SYSV-style archives
1041 independently of the selected target format. This is to encourage people to
1042 switch to SYSV-format, which has a number of advantages.
1043
1044* The strip and copy programs now have options to remove debug-symbols only
1045 and/or local symbols only. They now also support long options.
1046
1047\f
1048Copyright (C) 2012-2025 Free Software Foundation, Inc.
1049
1050Copying and distribution of this file, with or without modification,
1051are permitted in any medium without royalty provided the copyright
1052notice and this notice are preserved.
1053
1054Local variables:
1055fill-column: 79
1056End: