NEWS revision 60484
133965Sjdp-*- text -*-
233965Sjdp
360484SobrienChanges in binutils 2.10:
460484Sobrien
560484Sobrien* New command line switch to objdump --file-start-context which shows the
660484Sobrien  entire file contents up to the source line first encountered for a given
760484Sobrien  file. 
860484Sobrien
960484Sobrien* New command line switch to objdump -M (or --disassembler-options) which takes
1060484Sobrien  a parameter which can then be interpreted on a per-target basis by the
1160484Sobrien  disassembler.  Used by ARM targets to select register name sets, ISA, APCS or
1260484Sobrien  raw verions.
1360484Sobrien  
1460484Sobrien* objdump support for -mi386:intel which causes disassembly to be displayed
1560484Sobrien  with intel syntax.
1660484Sobrien
1760484Sobrien* New program: readelf.  This displays the contents of ELF format files,
1860484Sobrien  regardless of target machine.
1960484Sobrien
2060484Sobrien* objcopy now takes --change-section-lma, --change-section-vma, and
2160484Sobrien  --change-section-address options.  The old --adjust-section-vma option is
2260484Sobrien  equivalent to --change-section-address.  The other --adjust-* options are now
2360484Sobrien  renamed to --change-*, although --adjust-* continues to work.
2460484Sobrien
2560484Sobrien* objcopy has a --redefine-sym option that lets you rename symbols.
2660484Sobrien
2760484Sobrien* objcopy now takes a -j/--only-section option to copy only the specified
2860484Sobrien  sections.
2960484Sobrien
3060484Sobrien* dlltool now supports the IMPORTS command.
3160484Sobrien
3260484Sobrien* dlltool now takes --export-all-symbols, --no-export-all-symbols,
3360484Sobrien  --exclude-symbols, and --no-default-excludes options.
3460484Sobrien
3538889SjdpChanges in binutils 2.9:
3638889Sjdp
3738889Sjdp* Added windres program, which can be used to manipulate resources in WIN32
3838889Sjdp  files as used on Windows 95 and Windows NT.
3938889Sjdp
4038889Sjdp* The objcopy --gap-fill and --pad-to options operate on the LMA rather than
4138889Sjdp  the VMA of the sections.
4238889Sjdp
4338889Sjdp* Added S modifier to ar to not build a symbol table.
4438889Sjdp
4533965SjdpChanges in binutils 2.8:
4633965Sjdp
4733965Sjdp* The objdump disassembly format has been changed, and hopefully improved.  Use
4833965Sjdp  the new --prefix-addresses option to get the old format.  There are also new
4933965Sjdp  --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
5033965Sjdp  output.
5133965Sjdp
5233965Sjdp* Formats may now be specified as configuration triplets.  For example,
5333965Sjdp  objdump -b i386-pc-linux.  The triplets are not passed through config.sub,
5433965Sjdp  so they must be in canonical form.
5533965Sjdp
5633965Sjdp* Added new addr2line program.  This uses the debugging information to convert
5733965Sjdp  an address into a file name and line number within a program.
5833965Sjdp
5933965Sjdp* Added --change-leading-char argument to objcopy.
6033965Sjdp
6133965Sjdp* Added --weaken argument to objcopy.
6233965Sjdp
6333965Sjdp* objdump --dynamic-reloc now works on ELF executables and shared libraries.
6433965Sjdp
6533965Sjdp* Added --adjust-vma option to objdump.
6633965Sjdp
6733965Sjdp* Added -C/--demangle option to objdump.
6833965Sjdp
6933965Sjdp* Added -p/--preserve-dates option to strip and objcopy.
7033965Sjdp
7133965SjdpChanges in binutils 2.7:
7233965Sjdp
7333965Sjdp* Added --enable-shared and --enable-commonbfdlib options to configure.
7433965Sjdp
7533965Sjdp* Added --debugging argument to objdump and objcopy.
7633965Sjdp
7733965Sjdp* Added --defined-only argument to nm.
7833965Sjdp
7933965Sjdp* Added --remove-leading-char argument to objcopy.
8033965Sjdp
8133965Sjdp* The objdump --line-numbers option is now meaningful with --reloc.
8233965Sjdp
8333965Sjdp* Added --line-numbers option to nm.
8433965Sjdp
8533965Sjdp* Added --endian/-EB/-EL option to objdump.
8633965Sjdp
8733965Sjdp* Added support for Alpha OpenVMS/AXP.
8833965Sjdp
8933965SjdpChanges in binutils 2.6:
9033965Sjdp
9133965Sjdp* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
9233965Sjdp
9333965Sjdp* Added several arguments to objcopy to provide some control over how the new
9433965Sjdp  file is laid out in memory.  Also added binary output format to BFD to permit
9533965Sjdp  generating plain binary files.
9633965Sjdp
9733965Sjdp* Added --start-address and --stop-address options to objdump.
9833965Sjdp
9933965Sjdp* ar and ranlib now work on AIX.  The tools are now built by default on AIX.
10033965Sjdp
10133965SjdpChanges in binutils 2.5:
10233965Sjdp
10333965Sjdp* Changed objdump -dr to dump the relocs interspersed with the assembly
10433965Sjdp  listing, for a more useful listing of relocateable files.
10533965Sjdp
10633965Sjdp* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
10733965Sjdp  Added -D/--disassemble-all option to disassemble all sections.
10833965Sjdp
10933965Sjdp* Added --size-sort option to nm.
11033965Sjdp
11133965Sjdp* strip and objcopy should now be able to handle dynamically linked ELF
11233965Sjdp  executables.
11333965Sjdp
11433965SjdpChanges in binutils 2.4:
11533965Sjdp
11633965Sjdp* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
11733965Sjdp  PowerPC (except ar and ranlib; by Ian Taylor).
11833965Sjdp
11933965Sjdp* Support for Irix 5.
12033965Sjdp
12133965Sjdp* Programs `strip' and `objcopy' will not attempt to write dynamically linked
12233965Sjdp  ELF output files, since BFD currently can't create them properly.
12333965Sjdp
12433965SjdpChanges in binutils 2.3:
12533965Sjdp
12633965Sjdp* A new --stabs argument has been added to objdump to dump stabs sections in
12733965Sjdp  ELF and COFF files.
12833965Sjdp
12933965Sjdp* A new program, nlmconv, has been added.  It can convert object files into
13033965Sjdp  Novell NetWare Loadable Modules.
13133965Sjdp
13233965Sjdp* The strings program has been added.
13333965Sjdp
13433965SjdpChanges in binutils 2.2:
13533965Sjdp
13633965Sjdp* The 'copy' program has been renamed to 'objcopy', for consistency with
13733965Sjdp  'objdump', and because 'copy' might more plausibly be used as a synonym for
13833965Sjdp  'cp'.
13933965Sjdp
14033965Sjdp* The new stand-alone program c++filt is a filter that converts encoded
14133965Sjdp  (mangled) C++ assembly-level identifiers to user-level names.  (Note: This
14233965Sjdp  may get moved to the gcc distribution.)
14333965Sjdp
14433965Sjdp* nm -o on an archive now prefixes each line with the archive name, matching
14533965Sjdp  the output from BSD nm.
14633965Sjdp
14733965Sjdp* ar (and ld) can now read (but not write) BSD4.4-style archives.
14833965Sjdp
14933965Sjdp* New support for H8500, Z8000, and the Hitach SH.
15033965Sjdp
15133965Sjdp* Dis-assembler interface changed to allow sharing with gdb.
15233965Sjdp
15333965Sjdp* There is new Elf code, but it is not yet ready for general use.
15433965Sjdp
15533965Sjdp* There is the beginnings of a test suite.
15633965Sjdp
15733965SjdpChanges in binutils 2.1:
15833965Sjdp
15933965Sjdp* There is now support for writing ECOFF files, so ld and the other utilities
16033965Sjdp  should work on Risc/Ultrix and Irix.  Please let us know how well this works.
16133965Sjdp
16233965Sjdp* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
16333965Sjdp  version), if there are any object files in the archive.  So running ranlib is
16433965Sjdp  now redundant (unless the non-standard q command is used).  This is required
16533965Sjdp  for Posix.2 conformance.
16633965Sjdp
16733965Sjdp* The archive-reading code now reads both BSD-style and SYSV-style archives
16833965Sjdp  independently of the selected target format.  This is to encourage people to
16933965Sjdp  switch to SYSV-format, which has a number of advantages.
17033965Sjdp
17133965Sjdp* The strip and copy programs now have options to remove debug-symbols only
17233965Sjdp  and/or local symbols only.  They now also support long options.
17333965Sjdp
17433965Sjdp
17533965SjdpLocal variables:
17633965Sjdpfill-column: 79
17733965SjdpEnd:
178