mention addr2line
[external/binutils.git] / binutils / NEWS
1 -*- text -*-
2
3 Changes in binutils 2.8:
4
5 * The objdump disassembly format has been changed, and hopefully improved.  Use
6   the new --prefix-addresses option to get the old format.  There are also new
7   --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
8   output.
9
10 * Formats may now be specified as configuration triplets.  For example,
11   objdump -b i386-pc-linux.  The triplets are not passed through config.sub,
12   so they must be in canonical form.
13
14 * Added new addr2line program.  This uses the debugging information to convert
15   an address into a file name and line number within a program.
16
17 * Added --change-leading-char argument to objcopy.
18
19 * Added --weaken argument to objcopy.
20
21 * objdump --dynamic-reloc now works on ELF executables and shared libraries.
22
23 * Added --adjust-vma option to objdump.
24
25 * Added -C/--demangle option to objdump.
26
27 Changes in binutils 2.7:
28
29 * Added --enable-shared and --enable-commonbfdlib options to configure.
30
31 * Added --debugging argument to objdump and objcopy.
32
33 * Added --defined-only argument to nm.
34
35 * Added --remove-leading-char argument to objcopy.
36
37 * The objdump --line-numbers option is now meaningful with --reloc.
38
39 * Added --line-numbers option to nm.
40
41 * Added --endian/-EB/-EL option to objdump.
42
43 * Added support for Alpha OpenVMS/AXP.
44
45 Changes in binutils 2.6:
46
47 * Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
48
49 * Added several arguments to objcopy to provide some control over how the new
50   file is laid out in memory.  Also added binary output format to BFD to permit
51   generating plain binary files.
52
53 * Added --start-address and --stop-address options to objdump.
54
55 * ar and ranlib now work on AIX.  The tools are now built by default on AIX.
56
57 Changes in binutils 2.5:
58
59 * Changed objdump -dr to dump the relocs interspersed with the assembly
60   listing, for a more useful listing of relocateable files.
61
62 * Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
63   Added -D/--disassemble-all option to disassemble all sections.
64
65 * Added --size-sort option to nm.
66
67 * strip and objcopy should now be able to handle dynamically linked ELF
68   executables.
69
70 Changes in binutils 2.4:
71
72 * Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
73   PowerPC (except ar and ranlib; by Ian Taylor).
74
75 * Support for Irix 5.
76
77 * Programs `strip' and `objcopy' will not attempt to write dynamically linked
78   ELF output files, since BFD currently can't create them properly.
79
80 Changes in binutils 2.3:
81
82 * A new --stabs argument has been added to objdump to dump stabs sections in
83   ELF and COFF files.
84
85 * A new program, nlmconv, has been added.  It can convert object files into
86   Novell NetWare Loadable Modules.
87
88 * The strings program has been added.
89
90 Changes in binutils 2.2:
91
92 * The 'copy' program has been renamed to 'objcopy', for consistency with
93   'objdump', and because 'copy' might more plausibly be used as a synonym for
94   'cp'.
95
96 * The new stand-alone program c++filt is a filter that converts encoded
97   (mangled) C++ assembly-level identifiers to user-level names.  (Note: This
98   may get moved to the gcc distribution.)
99
100 * nm -o on an archive now prefixes each line with the archive name, matching
101   the output from BSD nm.
102
103 * ar (and ld) can now read (but not write) BSD4.4-style archives.
104
105 * New support for H8500, Z8000, and the Hitach SH.
106
107 * Dis-assembler interface changed to allow sharing with gdb.
108
109 * There is new Elf code, but it is not yet ready for general use.
110
111 * There is the beginnings of a test suite.
112
113 Changes in binutils 2.1:
114
115 * There is now support for writing ECOFF files, so ld and the other utilities
116   should work on Risc/Ultrix and Irix.  Please let us know how well this works.
117
118 * ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
119   version), if there are any object files in the archive.  So running ranlib is
120   now redundant (unless the non-standard q command is used).  This is required
121   for Posix.2 conformance.
122
123 * The archive-reading code now reads both BSD-style and SYSV-style archives
124   independently of the selected target format.  This is to encourage people to
125   switch to SYSV-format, which has a number of advantages.
126
127 * The strip and copy programs now have options to remove debug-symbols only
128   and/or local symbols only.  They now also support long options.
129
130 \f
131 Local variables:
132 fill-column: 79
133 End: