* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
[deliverable/binutils-gdb.git] / binutils / NEWS
CommitLineData
252b5132 1-*- text -*-
1e4cf259 2
7b4a0685
NC
3* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
4 to objcopy to convert local symbols into global symbols.
5
6Changes in 2.16:
7
bcf32829
JB
8* objcopy recognizes two new options --strip-unneeded-symbol and
9 --strip-unneeded-symbols, namely for use together with the wildcard
10 matching the original --strip-symbol/--strip-symbols provided, but
11 retaining any symbols matching but needed by relocations.
12
18bd398b
NC
13* readelf can now display address ranges from .debug_range sections. This
14 happens automatically when a DW_AT_range attribute is encountered. The
15 command line switch --debug-dump=Ranges (or -wR) can also be used to display
16 the contents of the .debug_range section.
17
3c9458e9
NC
18* nm and objdump now have a switch "--special-syms" to enable the displaying of
19 symbols which the target considers to be special. By default these symbols
20 are no longer displayed. Currently the only special symbols are the Mapping
21 symbols used by the ARM port to mark transitions between text and data and
22 between ARM and THUMB code.
23
607dea97
NC
24* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
25 import and export symbols with <preifx> prepended to them.
26
27Changes in 2.15:
28
e39893d7 29* objcopy for MIPS targets now accepts "-M no-aliases" as an option to the
9d317d34 30 disassembler to print the "raw" mips instruction mnemonic instead of some
e39893d7
FF
31 pseudo instruction name. I.E. print "daddu" or "or" instead of "move",
32 "sll" instead of "nop", etc.
33
5fe11841
NC
34* objcopy and strip can now take wildcard patterns in symbol names specified on
35 the command line provided that the --wildcard switch is used to enable them.
36
fb52b2f4
NC
37* readelf can now parse archives.
38
51cdc6e0
NC
39* objdump now accepts --debugging-tags to print the debug information in a
40 format compatible with ctags tool.
41
ed1653a7
NC
42* objcopy and strip now accept --only-keep-debug to create a file containing
43 those sections that would be stripped out by --strip-debug. The idea is that
44 this can be used in conjunction with the --add-gnu-debuglink switch to create
45 a two part program distribution - one a stripped executable and the other the
46 debugging info.
47
2593f09a
NC
48* objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
49 section into a (presumably stripped) executable. This allows the debug
50c2245b 50 information for the file to be held in a separate file.
2593f09a 51
a3b6428f
NC
52* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
53 single-character representation. This can be checked by running nm
54 with the -a switch.
55
43c58ae6
CD
56Changes in 2.14:
57
7c29036b
NC
58* Added --info switch to objcopy and strip.
59
3b36097d
SC
60* Support for Vitesse IQ2000 added by Red Hat.
61
8745eafa
NC
62* Added 'S' encoding to strings to allow the display of 8-bit characters.
63
d7fb0dd2
NC
64* Added --prefix-symbols=<text>, --prefix-sections=<text> and
65 --prefix-alloc-sections=<text> to objcopy.
66
84ad6ede
NC
67* readelf can handle the extensions to the DWARF2 spec used by the Unified
68 Parallel C compiler.
69
7d036af2
AM
70* BFD no longer declares a "boolean" type, to avoid clashes with other
71 headers that declare the same. Users of BFD should replace boolean,
72 false and true, with int, 0 and 1, or define their own boolean type.
73
1e4cf259
NC
74* Support for IP2K added by Denis Chertykov.
75
2cbb2eef
NC
76Changes in 2.13:
77
78* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
79 and FR500 included.
252b5132 80
9a66911f
NC
81Changes in version 2.12:
82
49fda6c8
HPN
83* Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
84
15c82623
NC
85* size: Add --totals to display summary of sizes (Berkeley format only).
86
d974e256
JJ
87* readelf: Add --wide option to not break section header or segment listing
88 lines to fit into 80 columns.
89
d132876a
NC
90* strings: Add --encoding to display wide character strings. By Markus Kuhn.
91
594ef5db
NC
92* objcopy: Add --rename-section to change section names.
93
e0c60db2
NC
94* readelf: Support added for DWARF 2.1 extensions. Support added for
95 displaying the contents of .debug.macinfo sections.
96
16b2b71c
NC
97* New command line switches added to objcopy to allow symbols to be kept as
98 global symbols, and also to specify files containing lists of such symbols.
99 by Honda Hiroki.
100
87e6d782
NC
101* Support for OpenRISC by Johan Rydberg.
102
1ae8b3d2
AO
103* New command line switch to objcopy --alt-machine-code which creates a binary
104 with an alternate machine code if one is defined in the architecture
105 description. Only supported for ELF targets. By Alexandre Oliva.
106
43a0748c 107* New command line switch to objcopy -B (or --binary-architecture) which sets
09ad7db3 108 the architecture of the output file to the given argument. This option only
43a0748c
NC
109 makes sense, if the input target is binary. Otherwise it is ignored.
110 By Stefan Geuken.
111
e135f41b
NC
112* Support for PDP-11 by Lars Brinkhoff.
113
09ad7db3
AM
114Changes in binutils 2.11:
115
077b8428
NC
116* Add support for ARM v5t and v5te architectures and Intel's XScale ARM
117 extenstions.
118
119* Add --srec-len and --srec-forceS3 command line switch to objcopy.
120 By Luciano Gemme.
7d036af2 121
156c2f8b
NC
122* Support for the MIPS32, by Anders Norlander.
123
22b36938
JE
124* Support for the i860, by Jason Eckhardt.
125
5bcac8a4
HPN
126* Support for CRIS (Axis Communications ETRAX series).
127
252b5132
RH
128Changes in binutils 2.10:
129
09ad7db3
AM
130* Support for 64-bit ELF on HPPA.
131
f1563258
TW
132* New command line switch to objdump --file-start-context which shows the
133 entire file contents up to the source line first encountered for a given
7d036af2 134 file.
f1563258 135
dd92f639
NC
136* New command line switch to objdump -M (or --disassembler-options) which takes
137 a parameter which can then be interpreted on a per-target basis by the
138 disassembler. Used by ARM targets to select register name sets, ISA, APCS or
139 raw verions.
7d036af2 140
c2c40d93
ILT
141* objdump support for -mi386:intel which causes disassembly to be displayed
142 with intel syntax.
252b5132
RH
143
144* New program: readelf. This displays the contents of ELF format files,
145 regardless of target machine.
146
147* objcopy now takes --change-section-lma, --change-section-vma, and
148 --change-section-address options. The old --adjust-section-vma option is
149 equivalent to --change-section-address. The other --adjust-* options are now
150 renamed to --change-*, although --adjust-* continues to work.
151
57938635
AM
152* objcopy has a --redefine-sym option that lets you rename symbols.
153
154* objcopy now takes a -j/--only-section option to copy only the specified
155 sections.
156
252b5132
RH
157* dlltool now supports the IMPORTS command.
158
159* dlltool now takes --export-all-symbols, --no-export-all-symbols,
160 --exclude-symbols, and --no-default-excludes options.
161
162Changes in binutils 2.9:
163
164* Added windres program, which can be used to manipulate resources in WIN32
165 files as used on Windows 95 and Windows NT.
166
167* The objcopy --gap-fill and --pad-to options operate on the LMA rather than
168 the VMA of the sections.
169
170* Added S modifier to ar to not build a symbol table.
171
172Changes in binutils 2.8:
173
174* The objdump disassembly format has been changed, and hopefully improved. Use
175 the new --prefix-addresses option to get the old format. There are also new
176 --disassemble-zeroes and --no-show-raw-insn options which affect disassembler
177 output.
178
179* Formats may now be specified as configuration triplets. For example,
180 objdump -b i386-pc-linux. The triplets are not passed through config.sub,
181 so they must be in canonical form.
182
183* Added new addr2line program. This uses the debugging information to convert
184 an address into a file name and line number within a program.
185
186* Added --change-leading-char argument to objcopy.
187
188* Added --weaken argument to objcopy.
189
190* objdump --dynamic-reloc now works on ELF executables and shared libraries.
191
192* Added --adjust-vma option to objdump.
193
194* Added -C/--demangle option to objdump.
195
196* Added -p/--preserve-dates option to strip and objcopy.
197
198Changes in binutils 2.7:
199
200* Added --enable-shared and --enable-commonbfdlib options to configure.
201
202* Added --debugging argument to objdump and objcopy.
203
204* Added --defined-only argument to nm.
205
206* Added --remove-leading-char argument to objcopy.
207
208* The objdump --line-numbers option is now meaningful with --reloc.
209
210* Added --line-numbers option to nm.
211
212* Added --endian/-EB/-EL option to objdump.
213
214* Added support for Alpha OpenVMS/AXP.
215
216Changes in binutils 2.6:
217
218* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy.
219
220* Added several arguments to objcopy to provide some control over how the new
221 file is laid out in memory. Also added binary output format to BFD to permit
222 generating plain binary files.
223
224* Added --start-address and --stop-address options to objdump.
225
226* ar and ranlib now work on AIX. The tools are now built by default on AIX.
227
228Changes in binutils 2.5:
229
230* Changed objdump -dr to dump the relocs interspersed with the assembly
1049f94e 231 listing, for a more useful listing of relocatable files.
252b5132
RH
232
233* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections.
234 Added -D/--disassemble-all option to disassemble all sections.
235
236* Added --size-sort option to nm.
237
238* strip and objcopy should now be able to handle dynamically linked ELF
239 executables.
240
241Changes in binutils 2.4:
242
243* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and
244 PowerPC (except ar and ranlib; by Ian Taylor).
245
246* Support for Irix 5.
247
248* Programs `strip' and `objcopy' will not attempt to write dynamically linked
249 ELF output files, since BFD currently can't create them properly.
250
251Changes in binutils 2.3:
252
253* A new --stabs argument has been added to objdump to dump stabs sections in
254 ELF and COFF files.
255
256* A new program, nlmconv, has been added. It can convert object files into
257 Novell NetWare Loadable Modules.
258
259* The strings program has been added.
260
261Changes in binutils 2.2:
262
263* The 'copy' program has been renamed to 'objcopy', for consistency with
264 'objdump', and because 'copy' might more plausibly be used as a synonym for
265 'cp'.
266
267* The new stand-alone program c++filt is a filter that converts encoded
268 (mangled) C++ assembly-level identifiers to user-level names. (Note: This
269 may get moved to the gcc distribution.)
270
271* nm -o on an archive now prefixes each line with the archive name, matching
272 the output from BSD nm.
273
274* ar (and ld) can now read (but not write) BSD4.4-style archives.
275
276* New support for H8500, Z8000, and the Hitach SH.
277
278* Dis-assembler interface changed to allow sharing with gdb.
279
280* There is new Elf code, but it is not yet ready for general use.
281
282* There is the beginnings of a test suite.
283
284Changes in binutils 2.1:
285
286* There is now support for writing ECOFF files, so ld and the other utilities
287 should work on Risc/Ultrix and Irix. Please let us know how well this works.
288
289* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD
290 version), if there are any object files in the archive. So running ranlib is
291 now redundant (unless the non-standard q command is used). This is required
292 for Posix.2 conformance.
293
294* The archive-reading code now reads both BSD-style and SYSV-style archives
295 independently of the selected target format. This is to encourage people to
296 switch to SYSV-format, which has a number of advantages.
297
298* The strip and copy programs now have options to remove debug-symbols only
299 and/or local symbols only. They now also support long options.
300
301\f
302Local variables:
303fill-column: 79
304End:
This page took 0.331467 seconds and 4 git commands to generate.