Initial revision
[binutils.git] / binutils / NEWS
blob76dcebdda08fb4acf471529e8a20864c80a2451b
1 -*- text -*-
3 Changes in binutils 2.10:
5 * objdump support for -mi386:intel which causes disassembly to be displayed with
6   intel syntax.
8 * New program: readelf.  This displays the contents of ELF format files,
9   regardless of target machine.
11 * objcopy now takes --change-section-lma, --change-section-vma, and
12   --change-section-address options.  The old --adjust-section-vma option is
13   equivalent to --change-section-address.  The other --adjust-* options are now
14   renamed to --change-*, although --adjust-* continues to work.
16 * dlltool now supports the IMPORTS command.
18 * dlltool now takes --export-all-symbols, --no-export-all-symbols,
19   --exclude-symbols, and --no-default-excludes options.
21 Changes in binutils 2.9:
23 * Added windres program, which can be used to manipulate resources in WIN32
24   files as used on Windows 95 and Windows NT.
26 * The objcopy --gap-fill and --pad-to options operate on the LMA rather than
27   the VMA of the sections.
29 * Added S modifier to ar to not build a symbol table.
31 Changes in binutils 2.8:
33 * The objdump disassembly format has been changed, and hopefully improved.  Use
34   the new --prefix-addresses option to get the old format.  There are also new
35   --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
36   output.
38 * Formats may now be specified as configuration triplets.  For example,
39   objdump -b i386-pc-linux.  The triplets are not passed through config.sub,
40   so they must be in canonical form.
42 * Added new addr2line program.  This uses the debugging information to convert
43   an address into a file name and line number within a program.
45 * Added --change-leading-char argument to objcopy.
47 * Added --weaken argument to objcopy.
49 * objdump --dynamic-reloc now works on ELF executables and shared libraries.
51 * Added --adjust-vma option to objdump.
53 * Added -C/--demangle option to objdump.
55 * Added -p/--preserve-dates option to strip and objcopy.
57 Changes in binutils 2.7:
59 * Added --enable-shared and --enable-commonbfdlib options to configure.
61 * Added --debugging argument to objdump and objcopy.
63 * Added --defined-only argument to nm.
65 * Added --remove-leading-char argument to objcopy.
67 * The objdump --line-numbers option is now meaningful with --reloc.
69 * Added --line-numbers option to nm.
71 * Added --endian/-EB/-EL option to objdump.
73 * Added support for Alpha OpenVMS/AXP.
75 Changes in binutils 2.6:
77 * Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
79 * Added several arguments to objcopy to provide some control over how the new
80   file is laid out in memory.  Also added binary output format to BFD to permit
81   generating plain binary files.
83 * Added --start-address and --stop-address options to objdump.
85 * ar and ranlib now work on AIX.  The tools are now built by default on AIX.
87 Changes in binutils 2.5:
89 * Changed objdump -dr to dump the relocs interspersed with the assembly
90   listing, for a more useful listing of relocateable files.
92 * Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
93   Added -D/--disassemble-all option to disassemble all sections.
95 * Added --size-sort option to nm.
97 * strip and objcopy should now be able to handle dynamically linked ELF
98   executables.
100 Changes in binutils 2.4:
102 * Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
103   PowerPC (except ar and ranlib; by Ian Taylor).
105 * Support for Irix 5.
107 * Programs `strip' and `objcopy' will not attempt to write dynamically linked
108   ELF output files, since BFD currently can't create them properly.
110 Changes in binutils 2.3:
112 * A new --stabs argument has been added to objdump to dump stabs sections in
113   ELF and COFF files.
115 * A new program, nlmconv, has been added.  It can convert object files into
116   Novell NetWare Loadable Modules.
118 * The strings program has been added.
120 Changes in binutils 2.2:
122 * The 'copy' program has been renamed to 'objcopy', for consistency with
123   'objdump', and because 'copy' might more plausibly be used as a synonym for
124   'cp'.
126 * The new stand-alone program c++filt is a filter that converts encoded
127   (mangled) C++ assembly-level identifiers to user-level names.  (Note: This
128   may get moved to the gcc distribution.)
130 * nm -o on an archive now prefixes each line with the archive name, matching
131   the output from BSD nm.
133 * ar (and ld) can now read (but not write) BSD4.4-style archives.
135 * New support for H8500, Z8000, and the Hitach SH.
137 * Dis-assembler interface changed to allow sharing with gdb.
139 * There is new Elf code, but it is not yet ready for general use.
141 * There is the beginnings of a test suite.
143 Changes in binutils 2.1:
145 * There is now support for writing ECOFF files, so ld and the other utilities
146   should work on Risc/Ultrix and Irix.  Please let us know how well this works.
148 * ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
149   version), if there are any object files in the archive.  So running ranlib is
150   now redundant (unless the non-standard q command is used).  This is required
151   for Posix.2 conformance.
153 * The archive-reading code now reads both BSD-style and SYSV-style archives
154   independently of the selected target format.  This is to encourage people to
155   switch to SYSV-format, which has a number of advantages.
157 * The strip and copy programs now have options to remove debug-symbols only
158   and/or local symbols only.  They now also support long options.
161 Local variables:
162 fill-column: 79
163 End: