]>
Commit | Line | Data |
---|---|---|
252b5132 | 1 | -*- text -*- |
0bd09323 | 2 | |
81e90cf6 L |
3 | * Add --got-contents option to readelf to display the contents of |
4 | Global Offset Table (GOT) sections. | |
5 | ||
5e83077d AM |
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 | ||
014ae6af L |
13 | * NaCl target support is removed. |
14 | ||
5c778308 NC |
15 | Changes in 2.45: |
16 | ||
6a959b12 IB |
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 | ||
2b1dd315 JR |
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 | ||
54f153a3 IB |
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 | ||
1c391a08 NC |
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 | ||
614d1b72 NC |
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 | ||
8b0a5988 WX |
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 | ||
b49d12e2 NC |
57 | Changes in 2.44: |
58 | ||
e7a16d9f SL |
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 | ||
004a5bfc NC |
62 | * RISC-V disassembly now supports -M,max option like QEMU to dump instruction |
63 | without checking architecture support as usual. | |
64 | ||
b715bf1f VM |
65 | * gprofng: |
66 | Support for hardware event counters for Neoverse-N1, Ampere-1, and | |
67 | Appliedmicro processors. | |
68 | ||
e1b9d58e | 69 | Changes in 2.43: |
b33c4f8f | 70 | |
08e6af1b YS |
71 | * The MIPS port now supports microMIPS MT Application Specific Extension |
72 | instructions for assembly and disassembly. | |
73 | ||
fcf8f323 NC |
74 | * Readelf now displays RELR relocations in full detail. |
75 | ||
8e8d0b63 NC |
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 | ||
75a28d1a JR |
80 | * Base register 0 is now printed as "0" instead of "%r0" in s390 disassembly. |
81 | ||
1878f44b NC |
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 | ||
30d57f2e RE |
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 | ||
ecc5fed7 RE |
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 | ||
f769dcdb VM |
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 | ||
299b91cd NC |
101 | Changes in 2.42: |
102 | ||
fab62191 NC |
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 | ||
b6ac461a NC |
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 | ||
b5c37946 SJ |
117 | * objcopy --set-section-flags now supports "large" to set SHF_X86_64_LARGE |
118 | for ELF x86-64 objects. | |
119 | ||
c5306fed JR |
120 | * objdump --visualize-jumps is now supported on s390 architecture. |
121 | ||
f96fe7f4 JR |
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 | ||
d501d384 NC |
127 | Changes in 2.41: |
128 | ||
9012d781 MR |
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 | ||
45b8517a NC |
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. | |
fa3d73eb IB |
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. | |
a47cd2a1 IB |
142 | |
143 | * SFrame Version 2 is now the default (and only) format version supported by | |
144 | gas, ld, readelf and objdump. | |
45b8517a | 145 | |
96cc7918 KB |
146 | * Add command-line option, --strip-section-headers, to objcopy and strip to |
147 | remove ELF section header from ELF file. | |
148 | ||
e5075707 PT |
149 | * The RISC-V port now supports the following new standard extensions: |
150 | - Zicond (conditional zero instructions) | |
151 | - Zfa (additional floating-point instructions) | |
9fdc1b15 CM |
152 | - Zvbb, Zvbc, Zvkg, Zvkned, Zvknh[ab], Zvksed, Zvksh, Zvkn, Zvknc, Zvkng, |
153 | Zvks, Zvksc, Zvkg, Zvkt (vector crypto instructions) | |
e5075707 PT |
154 | |
155 | * The RISC-V port now supports the following vendor-defined extensions: | |
156 | - XVentanaCondOps | |
157 | ||
0ed3ac2f WX |
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 | ||
a72b0718 NC |
172 | Changes in 2.40: |
173 | ||
c7ce51d8 NC |
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 | ||
18bf5643 NC |
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 | ||
816be8d8 NC |
182 | * DCO signed contributions are now accepted. |
183 | ||
2cac01e3 FS |
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 | ||
25ee24d9 NC |
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 | ||
9968a11f IB |
195 | * readelf and objdump now have a newly added option --sframe which dumps the |
196 | SFrame section. | |
197 | ||
0bd09323 NC |
198 | Changes in 2.39: |
199 | ||
2c3cc81e | 200 | * Add --no-weak/-W option to nm to make it ignore weak symbols. |
60391a25 | 201 | |
bed566bb NC |
202 | * Add an option to objdump and readelf to prevent attempts to access debuginfod |
203 | servers when following links. | |
2c3cc81e | 204 | |
260ecdce FS |
205 | * objcopy --weaken, --weaken-symbol, and --weaken-symbols now make ELF |
206 | STB_GNU_UNIQUE symbols weak. | |
bed566bb | 207 | |
60a3da00 AB |
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 | ||
a74e1cb3 NC |
212 | Changes in 2.38: |
213 | ||
c9dcc18f L |
214 | * elfedit: Add --output-abiversion option to update ABIVERSION. |
215 | ||
e9a0721f | 216 | * Add support for the LoongArch instruction set. |
217 | ||
b3aa80b4 NC |
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 | ||
a7fd1186 FS |
227 | * readelf -r dumps RELR relative relocations now. |
228 | ||
b69c9d41 TC |
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 | ||
d1b69c50 FS |
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 | ||
51419248 NC |
236 | Changes in 2.37: |
237 | ||
047c3dbf NL |
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 | ||
4db29512 AM |
244 | * Binutils now requires a C99 compiler and library to build. |
245 | ||
1996d0f1 NC |
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 | ||
ca0e11aa NC |
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 | ||
fd5c076a AM |
255 | * objcopy --weaken, --weaken-symbol and --weaken-symbols now make undefined |
256 | symbols weak on targets that support weak symbols. | |
257 | ||
e38332c2 NC |
258 | * Readelf and objdump can now display and use the contents of .debug_sup |
259 | sections. | |
260 | ||
c46b7066 NC |
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 | ||
ca0e11aa NC |
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 | ||
7fe1b138 FS |
287 | * Nm has a new command line option: --quiet. This suppresses "no symbols" |
288 | diagnostic. | |
289 | ||
055bc77a NC |
290 | Changes in 2.36: |
291 | ||
279d901e L |
292 | * Update elfedit and readelf with LAM_U48 and LAM_U57 support. |
293 | ||
e6f6aa8d NC |
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 | ||
f3016d6c HC |
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 | ||
0f03783c NC |
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 | ||
79bc120c NC |
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 | ||
99fabbc9 JL |
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 | ||
b115b9fd NC |
319 | Changes in 2.35: |
320 | ||
0942c7ab NC |
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 | ||
bbd19b19 L |
327 | * X86 NaCl target support is removed. |
328 | ||
1b513401 NC |
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 | ||
ae774686 NC |
335 | Changes in 2.34: |
336 | ||
301a9420 AM |
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 | ||
197245e3 FS |
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 | ||
64f52b3e FS |
349 | * Add --keep-section option to objcopy and strip. This option keeps the |
350 | specified section from being removed. | |
351 | ||
1d67fe3b TT |
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 | ||
60391a25 PB |
371 | Changes in 2.33: |
372 | ||
a1c110a3 NC |
373 | * Add --source-comment[=<txt>] option to objdump which if present, |
374 | provides a prefix to source code lines displayed in a disassembly. | |
2c610e4b | 375 | |
fa463e9f N |
376 | * Add --set-section-alignment <section-name>=<align> option to objcopy to allow |
377 | the changing of section alignments. | |
378 | ||
37d0d091 JH |
379 | * Add --verilog-data-width option to objcopy for verilog targets to control |
380 | width of data elements in verilog hex format. | |
381 | ||
514bbb0f AV |
382 | * Add support for the Armv8.1-M Mainline and M-profile Vector Extension (MVE) |
383 | instructions. | |
384 | ||
24841daa NC |
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 | ||
39f0547e NC |
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. | |
7d9813f1 NA |
397 | |
398 | * Add support for dumping types encoded in the Compact Type Format | |
399 | to objdump and readelf. | |
400 | ||
f974f26c NC |
401 | Changes in 2.32: |
402 | ||
af03af8f NC |
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 | |
69799d67 | 407 | of writing this constant has the value of 2048. |
af03af8f NC |
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 | ||
d3def5d7 MY |
414 | * Objdump's --disassemble option can now take a parameter, specifying the |
415 | starting symbol for disassembly. Disassembly will continue from this | |
baae986a | 416 | symbol up to the next symbol or the end of the function. |
d3def5d7 | 417 | |
9108bc33 CX |
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 | ||
bd782c07 CX |
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 | ||
ac8cb70f CX |
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 | ||
46cbf38d AB |
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 | ||
719d8288 NC |
439 | Changes in 2.31: |
440 | ||
fe944acf FT |
441 | * Add support for disassembling netronome Flow Processor (NFP) firmware files. |
442 | ||
7d02540a TC |
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 | ||
1869e86f AB |
451 | * Added O modifier to ar to display member offsets inside an archive |
452 | ||
9176ac5b NC |
453 | Changes in 2.30: |
454 | ||
dda8d76d NC |
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 | ||
55a09eb6 TG |
463 | Changes in 2.29: |
464 | ||
909b4e3d MR |
465 | * The MIPS port now supports microMIPS eXtended Physical Addressing (XPA) |
466 | instructions for assembly and disassembly. | |
467 | ||
f5b2fd52 MR |
468 | * The MIPS port now supports the microMIPS Release 5 ISA for assembly and |
469 | disassembly. | |
470 | ||
38bf472a MR |
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 | ||
64517994 JM |
475 | * The SPARC port now supports the SPARC M8 processor, which implements the |
476 | Oracle SPARC Architecture 2017. | |
477 | ||
25499ac7 MR |
478 | * The MIPS port now supports the MIPS16e2 ASE for assembly and disassembly. |
479 | ||
a91e1603 L |
480 | * Add support for ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX. |
481 | ||
efdf7a02 | 482 | * Add support for the wasm32 ELF conversion of the WebAssembly file format. |
f96bd6c2 | 483 | |
4a14e306 AK |
484 | * Add --inlines option to objdump, which extends the --line-numbers option |
485 | so that inlined functions will display their nesting information. | |
486 | ||
9ef920e9 NC |
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 | ||
2425a30e NC |
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 | ||
9703a4ef TG |
494 | Changes in 2.28: |
495 | ||
08dc996f AM |
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 | |
a05a5b64 | 505 | if --vle-reloc-fixup is passed to ld. If the new ld command-line |
08dc996f AM |
506 | option is not used, ld will ld warn on finding relocations inconsistent |
507 | with the instructions being relocated. | |
508 | ||
a05a5b64 | 509 | * The nm program has a new command-line option (--with-version-strings) |
df2c87b5 NC |
510 | which will display a symbol's version information, if any, after the |
511 | symbol's name. | |
512 | ||
37fd5ef3 CZ |
513 | * The ARC port of objdump now accepts a -M option to specify the extra |
514 | instruction class(es) that should be disassembled. | |
515 | ||
e511c9b1 AB |
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 | ||
d3e5f6c8 AB |
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 | ||
96a84ea3 TG |
531 | Changes in 2.27: |
532 | ||
e6cc316a L |
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 | ||
b8871f35 L |
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 | ||
7feec526 TG |
539 | Changes in 2.26: |
540 | ||
2b35fb28 RH |
541 | * Add option to objcopy to insert new symbols into a file: |
542 | --add-symbol <name>=[<section>:]<value>[,<flags>] | |
543 | ||
886a2506 NC |
544 | * Add support for the ARC EM/HS, and ARC600/700 architectures. |
545 | ||
ea556d25 L |
546 | * Extend objcopy --compress-debug-sections option to support |
547 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF | |
548 | targets. | |
549 | ||
acf1419f AB |
550 | * Add --update-section option to objcopy. |
551 | ||
55edd97b EA |
552 | * Add --output-separator option to strings. |
553 | ||
c50415e2 TG |
554 | Changes in 2.25: |
555 | ||
7fac9594 NC |
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 | ||
334ac421 EA |
561 | * Add --include-all-whitespace to strings. |
562 | ||
bbad633b NC |
563 | * Add --dump-section option to objcopy. |
564 | ||
35c08157 KLC |
565 | * Add support for the Andes NDS32. |
566 | ||
58ca03a2 TG |
567 | Changes in 2.24: |
568 | ||
a05a5b64 | 569 | * Objcopy now supports wildcard characters in command-line options that take |
2e62b721 NC |
570 | section names. |
571 | ||
36591ba1 SL |
572 | * Add support for Altera Nios II. |
573 | ||
af18cb59 TG |
574 | Changes in 2.23: |
575 | ||
b9c361e0 JL |
576 | * Add support for the VLE extension to the PowerPC architecture. |
577 | ||
9a30f236 KT |
578 | * Add support for x64 Windows target of the delayed-load-library. |
579 | ||
99c513f6 DD |
580 | * Add support for the Renesas RL78 architecture. |
581 | ||
a7142d94 TG |
582 | Changes in 2.22: |
583 | ||
4ccf1e31 JJ |
584 | * Add support for displaying the contents of .debug.macro sections. |
585 | ||
ec25acb3 NC |
586 | * Add --preprocessor-arg option to windres to specify additional options |
587 | passed to preprocessor. | |
44f45767 | 588 | |
fd2f0033 TT |
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 | ||
69f56ae1 WL |
592 | * Add support for the Tilera TILEPro and TILE-Gx architectures. |
593 | ||
594 | changes in 2.21: | |
44f45767 | 595 | |
b7dd81f7 NC |
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 | ||
40b36596 JM |
599 | * Add support for the TMS320C6000 (TI C6X) processor family. |
600 | ||
0b6ae522 DJ |
601 | * Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using |
602 | the -u / --unwind option. | |
603 | ||
2c610e4b L |
604 | * Add --dyn-syms to readelf to dump dynamic symbol table. |
605 | ||
d2420a8c NC |
606 | * A new tool - elfedit - has been added to directly manipulate ELF format |
607 | binaries. | |
81c23f82 | 608 | |
bf201fdd KT |
609 | * Add to dlltool .def file feature of aliasing PE internal symbol name by |
610 | '== <ID>' option. | |
611 | ||
a05a5b64 | 612 | * Add a new command-line option -a / --addresses to addr2line to display the |
be6f6493 TG |
613 | address before function name or source filename. |
614 | ||
a05a5b64 | 615 | * Add a new command-line option -p / --pretty-print to addr2line to have |
68cdf72f TG |
616 | a more human readable output. |
617 | ||
75875724 TG |
618 | * The hppa/som targets can now be compiled on any host. |
619 | ||
81c23f82 TG |
620 | Changes in 2.20: |
621 | ||
10e636d2 DK |
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 | ||
a05a5b64 | 628 | * Add a new command-line option, --insn-width=WIDTH, to objdump to specify |
10e636d2 DK |
629 | number of bytes to be displayed on a single line when disassembling |
630 | instructions. | |
3dcb3fcb | 631 | |
cf13d699 | 632 | * Readelf can now display the relocated contents of a section as a sequence |
a05a5b64 | 633 | of bytes via the --relocated-dump=<name|number> command-line option. |
cf13d699 | 634 | |
a05a5b64 | 635 | * The gprof program has been given a new command-line option: |
0e27a8f6 NC |
636 | --external-symbols-table=<filename> which reads in symbols from a specified |
637 | file. | |
6e33da12 | 638 | |
ce3c775b NC |
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 | ||
43cd3ced AG |
642 | * The verilog memory hex dump file format is now supported as an output format |
643 | for objcopy. | |
c067354b | 644 | |
92dd4511 | 645 | * Add --file-alignment, --heap, --image-base, --section-alignment, |
a05a5b64 | 646 | --stack and --subsystem command-line options to objcopy, which will |
92dd4511 L |
647 | set PE optional header. |
648 | ||
4cb93e3b TG |
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 | ||
0dafdf3f | 656 | * Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to |
28024d9d | 657 | add absolute paths for -S. |
0dafdf3f | 658 | |
e77b97d4 KT |
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 | ||
3aade688 | 662 | * Added --identify-strict switch to cause --identify <implib> to |
71c57c16 NC |
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 | ||
2f3bb96a BE |
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 | ||
6e33da12 TG |
673 | Changes in 2.19: |
674 | ||
a262ae96 NC |
675 | * Added -wL switch to dump decoded contents of .debug_line. |
676 | ||
a8da6403 NC |
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. | |
3aade688 | 681 | |
98ec6e72 NC |
682 | * Added -F switch to objdump to include file offsets in the disassembly. |
683 | ||
4145f1d5 NC |
684 | * Added -c switch to readelf to allow string dumps of archive symbol index. |
685 | ||
85f10a01 MM |
686 | * Support for SSE5 has been added to the i386 port. |
687 | ||
09c11c86 NC |
688 | * Added -p switch to readelf to allow string dumps of sections. |
689 | ||
876c34bf | 690 | Changes in 2.18: |
98ec6e72 | 691 | |
ad71ef64 NC |
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). | |
1e4cf259 | 695 | |
32866df7 NC |
696 | * The binutils sources are now released under version 3 of the GNU General |
697 | Public License. | |
698 | ||
692ed3e7 NC |
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. | |
d856f2dd | 708 | |
a05a5b64 | 709 | * Add --extract-symbol command-line option to objcopy, which will |
d3e52d40 RS |
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 | ||
32866df7 NC |
714 | Changes in 2.17: |
715 | ||
aef1f6d0 DJ |
716 | * Add "-x NAME" to readelf in addition to "-x NUMBER". |
717 | ||
cbf1f5df NC |
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 | ||
4de2ad99 | 725 | * Add "-W/--dwarf" to objdump to display the contents of the DWARF |
cbf1f5df | 726 | debug sections. |
4de2ad99 | 727 | |
5477e8a0 | 728 | * Add "-t/--section-details" to readelf to display section details. |
cbf1f5df | 729 | "-N/--full-section-name" is deprecated. |
5477e8a0 | 730 | |
b12fe839 AM |
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 | ||
0c552dc1 FF |
736 | * Add "-i/--inlines" to addr2line to print enclosing scope information |
737 | for inlined function chains, back to first non-inlined function. | |
738 | ||
81fc812e L |
739 | * Add "-N/--full-section-name" to readelf to display full section name. |
740 | ||
ec72cfe5 NC |
741 | * Add "-M entry:<addr>" switch to objdump to specify a function entry address |
742 | when disassembling VAX binaries. | |
743 | ||
7b4a0685 NC |
744 | * Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches |
745 | to objcopy to convert local symbols into global symbols. | |
3aade688 | 746 | |
9fbad737 | 747 | * gprof now allows input files to have histogram records for |
3aade688 | 748 | several memory ranges, provided those ranges are disjoint. |
7b4a0685 NC |
749 | |
750 | Changes in 2.16: | |
751 | ||
b12fe839 | 752 | * Add "-g/--section-groups" to readelf to display section groups. |
81fc812e | 753 | |
bcf32829 JB |
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 | ||
18bd398b NC |
759 | * readelf can now display address ranges from .debug_range sections. This |
760 | happens automatically when a DW_AT_range attribute is encountered. The | |
a05a5b64 | 761 | command-line switch --debug-dump=Ranges (or -wR) can also be used to display |
18bd398b NC |
762 | the contents of the .debug_range section. |
763 | ||
3c9458e9 NC |
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 | ||
607dea97 NC |
770 | * dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional |
771 | import and export symbols with <preifx> prepended to them. | |
772 | ||
773 | Changes in 2.15: | |
774 | ||
e39893d7 | 775 | * objcopy for MIPS targets now accepts "-M no-aliases" as an option to the |
9d317d34 | 776 | disassembler to print the "raw" mips instruction mnemonic instead of some |
e39893d7 FF |
777 | pseudo instruction name. I.E. print "daddu" or "or" instead of "move", |
778 | "sll" instead of "nop", etc. | |
779 | ||
5fe11841 NC |
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 | ||
fb52b2f4 NC |
783 | * readelf can now parse archives. |
784 | ||
51cdc6e0 NC |
785 | * objdump now accepts --debugging-tags to print the debug information in a |
786 | format compatible with ctags tool. | |
787 | ||
ed1653a7 NC |
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 | ||
2593f09a NC |
794 | * objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink |
795 | section into a (presumably stripped) executable. This allows the debug | |
50c2245b | 796 | information for the file to be held in a separate file. |
3aade688 | 797 | |
a3b6428f NC |
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 | ||
43c58ae6 CD |
802 | Changes in 2.14: |
803 | ||
7c29036b NC |
804 | * Added --info switch to objcopy and strip. |
805 | ||
3b36097d SC |
806 | * Support for Vitesse IQ2000 added by Red Hat. |
807 | ||
8745eafa NC |
808 | * Added 'S' encoding to strings to allow the display of 8-bit characters. |
809 | ||
d7fb0dd2 NC |
810 | * Added --prefix-symbols=<text>, --prefix-sections=<text> and |
811 | --prefix-alloc-sections=<text> to objcopy. | |
812 | ||
84ad6ede NC |
813 | * readelf can handle the extensions to the DWARF2 spec used by the Unified |
814 | Parallel C compiler. | |
815 | ||
7d036af2 AM |
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 | ||
1e4cf259 NC |
820 | * Support for IP2K added by Denis Chertykov. |
821 | ||
2cbb2eef NC |
822 | Changes in 2.13: |
823 | ||
824 | * Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400 | |
825 | and FR500 included. | |
252b5132 | 826 | |
9a66911f NC |
827 | Changes in version 2.12: |
828 | ||
49fda6c8 HPN |
829 | * Support for Don Knuth's MMIX, by Hans-Peter Nilsson. |
830 | ||
15c82623 NC |
831 | * size: Add --totals to display summary of sizes (Berkeley format only). |
832 | ||
d974e256 JJ |
833 | * readelf: Add --wide option to not break section header or segment listing |
834 | lines to fit into 80 columns. | |
835 | ||
d132876a NC |
836 | * strings: Add --encoding to display wide character strings. By Markus Kuhn. |
837 | ||
594ef5db NC |
838 | * objcopy: Add --rename-section to change section names. |
839 | ||
e0c60db2 NC |
840 | * readelf: Support added for DWARF 2.1 extensions. Support added for |
841 | displaying the contents of .debug.macinfo sections. | |
842 | ||
a05a5b64 | 843 | * New command-line switches added to objcopy to allow symbols to be kept as |
16b2b71c NC |
844 | global symbols, and also to specify files containing lists of such symbols. |
845 | by Honda Hiroki. | |
846 | ||
87e6d782 NC |
847 | * Support for OpenRISC by Johan Rydberg. |
848 | ||
a05a5b64 | 849 | * New command-line switch to objcopy --alt-machine-code which creates a binary |
1ae8b3d2 AO |
850 | with an alternate machine code if one is defined in the architecture |
851 | description. Only supported for ELF targets. By Alexandre Oliva. | |
852 | ||
a05a5b64 | 853 | * New command-line switch to objcopy -B (or --binary-architecture) which sets |
09ad7db3 | 854 | the architecture of the output file to the given argument. This option only |
43a0748c NC |
855 | makes sense, if the input target is binary. Otherwise it is ignored. |
856 | By Stefan Geuken. | |
857 | ||
e135f41b NC |
858 | * Support for PDP-11 by Lars Brinkhoff. |
859 | ||
09ad7db3 AM |
860 | Changes in binutils 2.11: |
861 | ||
077b8428 NC |
862 | * Add support for ARM v5t and v5te architectures and Intel's XScale ARM |
863 | extenstions. | |
864 | ||
a05a5b64 | 865 | * Add --srec-len and --srec-forceS3 command-line switch to objcopy. |
077b8428 | 866 | By Luciano Gemme. |
7d036af2 | 867 | |
156c2f8b NC |
868 | * Support for the MIPS32, by Anders Norlander. |
869 | ||
22b36938 JE |
870 | * Support for the i860, by Jason Eckhardt. |
871 | ||
5bcac8a4 HPN |
872 | * Support for CRIS (Axis Communications ETRAX series). |
873 | ||
252b5132 RH |
874 | Changes in binutils 2.10: |
875 | ||
09ad7db3 AM |
876 | * Support for 64-bit ELF on HPPA. |
877 | ||
a05a5b64 | 878 | * New command-line switch to objdump --file-start-context which shows the |
f1563258 | 879 | entire file contents up to the source line first encountered for a given |
7d036af2 | 880 | file. |
f1563258 | 881 | |
a05a5b64 | 882 | * New command-line switch to objdump -M (or --disassembler-options) which takes |
dd92f639 NC |
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. | |
7d036af2 | 886 | |
c2c40d93 ILT |
887 | * objdump support for -mi386:intel which causes disassembly to be displayed |
888 | with intel syntax. | |
252b5132 RH |
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 | ||
57938635 AM |
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 | ||
252b5132 RH |
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 | ||
908 | Changes 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 | ||
918 | Changes 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 | ||
944 | Changes 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 | ||
962 | Changes 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 | ||
974 | Changes in binutils 2.5: | |
975 | ||
976 | * Changed objdump -dr to dump the relocs interspersed with the assembly | |
1049f94e | 977 | listing, for a more useful listing of relocatable files. |
252b5132 RH |
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 | ||
987 | Changes 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 | ||
997 | Changes 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 | ||
1007 | Changes 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 | ||
1030 | Changes 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 | |
e8e7cf2a | 1048 | Copyright (C) 2012-2025 Free Software Foundation, Inc. |
5bf135a7 NC |
1049 | |
1050 | Copying and distribution of this file, with or without modification, | |
1051 | are permitted in any medium without royalty provided the copyright | |
1052 | notice and this notice are preserved. | |
1053 | ||
252b5132 RH |
1054 | Local variables: |
1055 | fill-column: 79 | |
1056 | End: |