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