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