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