Add DWARF 2.1 attributes
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
12ab83a9
NC
12001-06-29 James Cownie <jcownie@etnus.com>
2
3 * readelf.c: Support DWARF 2.1 attributes.
4
a6e9f9df
AM
52001-06-28 Alan Modra <amodra@bigpond.net.au>
6
7 * readelf.c (GET_DATA_ALLOC): Remove.
8 (GET_DATA): Remove.
9 (get_data): New function combining above macros, with an extra
10 test for zero size.
11 (slurp_rela_relocs): Use get_data, and catch error return.
12 (slurp_rel_relocs): Likewise.
13 (get_32bit_program_headers): Likewise.
14 (get_64bit_program_headers): Likewise.
15 (get_32bit_section_headers): Likewise.
16 (get_64bit_section_headers): Likewise.
17 (get_32bit_elf_symbols): Likewise.
18 (get_64bit_elf_symbols): Likewise.
19 (process_section_headers): Likewise.
20 (process_relocs): Likewise.
21 (slurp_ia64_unwind_table): Likewise.
22 (process_unwind): Likewise.
23 (get_32bit_dynamic_segment): Likewise.
24 (get_64bit_dynamic_segment): Likewise.
25 (process_dynamic_segment): Likewise.
26 (process_version_sections): Likewise.
27 (process_symbol_table): Likewise.
28 (dump_section): Likewise.
29 (display_debug_info): Likewise.
30 (display_debug_section): Likewise.
31 (process_section_contents): Likewise.
32 (process_corefile_note_segment): Likewise.
33 (process_mips_specific): Likewise. Also free econf32, econf64.
34
af3fc3bc
AM
352001-06-25 Alan Modra <amodra@bigpond.net.au>
36
37 * readelf.c (dump_relocations): Print "bad symbol index" if
38 symtab == NULL with non-zero symtab_index.
39 (process_relocs): Don't bomb if reloc section has no symsec.
40
6d900bf6
L
412001-06-24 H.J. Lu <hjl@gnu.org>
42
43 * objcopy.c (strip_main): Revert the change made on 2001-05-30
44 by accident.
45 (copy_main): Apply the the change made to strip_main on
46 2001-05-30 by accident.
47
49b4e386
AJ
482001-06-23 Andreas Jaeger <aj@suse.de>
49
50 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
51 parameter 'code'.
52 (unw_decode_x2): Likewise.
53 (unw_decode_x3): Likewise.
54 (unw_decode_x4): Likewise.
55
d8dc71e3
BE
562001-06-23 Ben Elliston <bje@redhat.com>
57
58 * MAINTAINERS: Add myself as M88k maintainer.
59
af3bdff7
NC
602001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
61
62 * objcopy.c (strip_main): Support -o or --output-file command lien
63 switch.
64
105e7211
L
652001-06-19 H.J. Lu <hjl@gnu.org>
66
67 * doc/Makefile.in: Regenerated.
68
c45021f2
NC
692001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
70
71 * readelf.c: Restore formatting.
72
732001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
74
75 * Makefile.am: Move documentation into doc subdirectory.
76 * Makefile.in: Regenerated.
77 * binutils.texi: Move into doc subdirectory.
78 * addr2line.1: Removed.
79 * ar.1: Likewise.
80 * dlltool.1: Likewise.
81 * nlmconv.1: Likewise.
82 * nm.1: Likewise.
83 * objcopy.1: Likewise.
84 * objdump.1: Likewise.
85 * ranlib.1: Likewise.
86 * readelf.1: Likewise.
87 * size.1: Likewise.
88 * strings.1: Likewise.
89 * strip.1: Likewise.
90 * windres.1: Likewise.
91 * cxxfilt.man: Likewise.
92 * doc: New Directory.
93 * doc/Makefile.am: New file.
94 * doc/Makefile.in: Generate.
95
09ad7db3
AM
962001-06-09 Alan Modra <amodra@bigpond.net.au>
97
98 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
99
936260fe
AM
1002001-06-01 Alan Modra <amodra@bigpond.net.au>
101
102 * MAINTAINERS: Update my email address.
103
16b2b71c
NC
1042001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
105
106 * objcopy.c: Add new switches: --keep-global-symbol,
107 --keep-symbols, --localize-symbols, --keep-global-symbols and
108 --weaken-symbols.
109 * binutils.texi: Document new switches.
110 * objcopy.1: Regenerate.
111 * NEWS: Announce new feature.
112
7036c0e1
AJ
1132001-05-28 Andreas Jaeger <aj@suse.de>
114
115 * readelf.c (display_debug_frames): Fix warnings: Remove unused
116 variables, fix format strings.
117
76a406e5
NC
1182001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
119
120 * objdump.c (disassemble_bytes): Remove section VMA adjustment
121 when computing the address of the line to show.
122
31b6fca6
RH
1232001-05-16 Richard Henderson <rth@redhat.com>
124
125 * readelf.c (do_debug_frames_interp): New.
126 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
127 (byte_get_big_endian): Likewise.
128 (parse_args) ['F']: Set do_debug_frames_interp.
129 (Frame_Chunk): Make data_factor signed, add fde_encoding.
130 (frame_display_row): Don't trunc pc_begin to int.
131 (size_of_encoded_value): New.
132 (display_debug_frames): Handle 64-bit targets. Print raw data
133 unless do_debug_frames_interp.
134 (debug_displays): Remove duplicate .debug_frame.
135
4fe85591
NC
1362001-05-15 Ralf Baechle <ralf@gnu.org>
137
138 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
139 The former constant was never in active use and is used otherwise
140 by the ABI.
141
579f31ac
JJ
1422001-05-11 Jakub Jelinek <jakub@redhat.com>
143
144 * readelf.c (process_unwind): Print all unwind sections, not just
145 one.
146
78f4a3f7
AM
1472001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
148
149 * readelf.c (process_unwind): Remove const specifier.
150
1c529ca6
NC
1512001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
152
153 * strings.c (isgraphic): Do not use isascii() unless it is needed
154 for isprint() to work.
155 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
156
87e6d782
NC
1572001-04-27 Johan Rydberg <jrydberg@opencores.org>
158
159 * NEWS: Announce support for OpenRISC.
160
4bd3d870 1612001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
162
163 * dlltool.c (do_default_excludes): Initialise to true.
164
21211521
AM
1652001-04-10 Alan Modra <amodra@one.net.au>
166
167 * MAINTAINERS: Update my email address
168 * nm.c (print_symbol_info_bsd): Use a simple printf string.
169
0c66b61e 1702001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
171
172 * readelf.c (display_debug_lines): Fix typo for "Prologue".
173
e58d53af
L
1742001-03-30 H.J. Lu <hjl@gnu.org>
175
176 * readelf.c (process_unwind): Just return if do_unwind is 0.
177
bee72332
DD
1782001-03-28 Roger Sayle <roger@metaphorics.com>
179
180 * dlltool.c (make_one_lib_file): Fix section flags for
181 .text, .data and .bss in stub ds*.o files to match those
182 generated by gas.
183
f1467e33
L
1842001-03-29 H.J. Lu <hjl@gnu.org>
185
186 * readelf.c (process_unwind): Only do unwind sections for
187 IA64.
188
1c6fb4fe
L
1892001-03-28 H.J. Lu <hjl@gnu.org>
190
191 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
192 * Makefile.in: Regenerate.
193
0879a67a
AJ
1942001-03-26 Andreas Jaeger <aj@suse.de>
195
196 * binutils.texi (nm): Fix texi syntax.
197
0285c67d
NC
1982001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
199
200 * binutils.texi: Put @c man begin and @c man end indications
201 to generate man pages using texi2pod and pod2man. Put @c man title
202 to identify each man. Add SEEALSO entries.
203 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
204 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
205 sort the list.
206 (*.1): Build the man pages from binutils.texi.
207 * Makefile.in: Regenerate.
208
04847a4d
CF
2092001-03-13 Eric Kohl <ekohl@rz-online.de>
210
211 * defparse.y (opt_equal_name): allow "." in name.
212 * dlltool.c (def_exports): Added ability to generate forwarded exports.
213 (gen_exp_file): Likewise.
214
43a0748c
NC
2152001-03-12 Stefan Geuken <mail@stefan-geuken.de>
216
217 * NEWS: Document addition of -B switch to objcopy.
218 * binutils.texi: Document addition of -B switch to objcopy.
219 * objcopy.c: (copy_options): Add --binary-architecture.
220 (copy_usage): Document -B/--binary-architecture.
221 (copy_main): Support -B/--binary-architecture. Set
222 bfd_external_binary_architecture.
0879a67a 223
b7498e0e
NC
2242001-03-11 Andreas Jaeger <aj@suse.de>
225
226 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
227 (dump_relocations): Likewise.
228 (get_machine_name): Likewise.
229
a59e3bd7
NC
2302001-02-28 Nick Clifton <nickc@redhat.com>
231
232 * readelf.c: (struct unw_aux_info): Remove const modifier for
233 'strtab' field.
234 (process_unwind): Remove non-K&R compliant LHS type cast in call
235 to GET_DATA_ALLOC macro.
236
a5bcd848
PB
2372001-02-28 Philip Blundell <pb@futuretv.com>
238
239 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
240 ABI is in use; remove ambiguity between the "unknown" EABI and
241 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
242 renamed EF_xx constants.
243
27b7e12d
AM
2442001-02-27 Alan Modra <alan@linuxcare.com.au>
245
246 * configure.in (BFD_VERSION): New.
247 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
248 * configure: Regenerate.
249 * Makefile.am: Run "make dep-am"
250 * Makefile.in: Regenerate.
251
a9f10786
NC
2522001-02-14 Nick Clifton <nickc@redhat.com>
253
254 * MAINTAINERS: Add "Obvious Fix" rule.
255
3c44da9a
MS
2562001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
257
258 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
259 literal concatenation.
260
ecd03389
MS
2612001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
262
263 * readelf.c (struct unw_aux_info): Remove const from the info member.
264 (process_unwind): Don't type-cast the third argument to the
265 GET_DATA_ALLOC macro.
266
88ec60c7
NC
2672001-02-11 Nick Clifton <nickc@redhat.com>
268
269 * readelf.c (dump_relocations): Free corrected allocated
270 array.
271 (process_unwind): Fix compile time warning.
272
f5e21966
NC
2732001-02-10 Nick Clifton <nickc@redhat.com>
274
275 * binutils.texi: Document new --unwind option to readelf.
276
a85d7ed0
NC
2772001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
278
279 * readelf.c: Add linux target for S/390.
280
7bb10502
AM
2812001-02-10 Alan Modra <alan@linuxcare.com.au>
282
283 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
284 printf is a macro.
285
8ca8f343
HPN
2862001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
287
288 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
289 * aclocal.m4: Regenerate.
290 * configure: Regenerate.
291
7340082d
NC
2922001-02-07 Todd Vierling <tv@wasabisystems.com>
293
294 * bucomm.c (bfd_target_vector): Change extern array to pointer.
295 * objdump.c (bfd_target_vector): Likewise.
296
4d6ed7c8
NC
2972001-02-07 David Mosberger <davidm@hpl.hp.com>
298
299 * readelf.c (process_unwind): New function.
300 (slurp_ia64_unwind_table): Ditto.
301 (dump_ia64_unwind): Ditto.
302 (find_symbol_for_address): Ditto.
303 (slurp_rela_relocs): New function (split off from dump_relocations()).
304 (slurp_rel_relocs): Ditto.
305 (parse_args): Handle '-u' option.
306
307 * unwind-ia64.c: New file.
308 * unwind-ia64.h: New file.
309 * Makefile.am: Include unwind-ia64.c in readelf build.
310 * Makefile.in: Regenerate.
7340082d 311 * po/binutils.pot: Regenerate.
4d6ed7c8 312
c7217458
PB
3132001-02-04 Philip Blundell <philb@gnu.org>
314
315 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
316 * configure: Regenerate.
317
956eedd4
AM
3182001-01-31 Steve deRosier <sderosier@vari-lite.com>
319
320 * ieee.c (ieee_add_bb11): Don't check for backslashes
321 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
322
8855cbca
AM
3232001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
324
c7f2731e
AM
325 * ieee.c: Update copyright.
326 (ieee_start_compilation_unit): Don't check for backslashes
327 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
328
8855cbca
AM
329 * stabs.c: Update copyright. Include "filenames.h".
330 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
331
329de803 3322001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
333
334 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
335 sections are present before using them. Remove code duplication.
336 (process_symbol_table): Check if VERDEF or VERNEED sections are
337 present before using them.
338
23719f39
NC
3392001-01-17 Nick Clifton <nickc@redhat.com>
340
341 * objcopy.c (copy_object): Fail if attempting to convert the
342 endianness of the input object file.
343
344 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 345
f726e849
NC
3462001-01-16 Nick Clifton <nickc@redhat.com>
347
348 * readelf.c (string_table_length): New variable.
349 (SECTION_NAME): Catch out of range indices and missing section
350 pointers.
351 (process_section_headers): Delete useless local variable
352 string_table_offset. Set the value of string_table_length
353 after loading the string table.
354 (process_mips_specific): Use SECTION_NAME macro.
355 (process_file): Set string_table_length to 0 when it is freed.
356
d0398d6a
NC
3572001-01-12 Nick Clifton <nickc@redhat.com>
358
359 * version.c (print_version): Update copyright date.
360
0d2bcfaf
NC
3612001-01-11 Peter Targett <peter.targett@arccores.com>
362
363 * readelf.c (dump_relocations): Include selection with EM_ARC.
364 (get_machine_name) Update name to "ARC".
365
8b1e6df3
NC
3662001-01-09 Nick Clifton <nickc@redhat.com>
367
368 * Makefile.am: Add rule to build objdump.o from objdump.c and
369 using OBJDUMP_DEFS.
370 * Makefile.in: Regenerate.
371
372 * configure.in: Define OBJDUMP_DEFS. Default to empty.
373 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
374 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 375 * configure: Regenerate.
8b1e6df3
NC
376
377 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
378 is defined read in the relocs even if dump_reloc_info is
379 false.
380
2f952d20
PB
3812001-01-07 Philip Blundell <philb@gnu.org>
382
383 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
384 `bug-binutils'.
385 * README: Likewise.
386
a8c548cb
NC
3872000-12-19 Nick Clifton <nickc@redhat.com>
388
389 * dlltool.c: Add missing support for arm-epoc-pe.
390 * configure.in: Add missing support for arm-epoc-pe.
391 * configure: Regenerate.
392
cc5fda35
NC
3932000-12-15 Nick Clifton <nickc@redhat.com>
394
395 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
396 Mode parts of the x86 port.
397
bcedfee6
NC
3982000-12-04 Andreas Jaeger <aj@suse.de>
399
400 * readelf.c (guess_is_rela): Add EM_X86_64.
401 (dump_relocations): Add EM_X86_64.
402 (get_machine_name): Add EM_X86_64.
403 Include "elf/x86-64.h".
404
584da044
NC
4052000-12-12 Nick Clifton <nickc@redhat.com>
406
407 * readelf.c: Fix formatting.
408
b8355149
JH
409Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
410
411 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
412
a98cc2b2
AH
4132000-12-07 Andrew Haley <aph@redhat.com>
414
415 * readelf.c (display_debug_frames): Only display columns that are
416 referenced by the frame debug info.
417
c7987a69
NC
4182000-12-05 Nick Clifton <nickc@redhat.com>
419
420 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
421
09fd7e38
JM
4222000-12-04 Jason Merrill <jason@redhat.com>
423
424 * readelf.c (process_section_headers): Handle linkonce.wi sections.
425 (display_debug_section): Likewise.
426 (display_debug_info): Display CU header before bailing.
427
e7af610e
NC
4282000-12-01 Chris Demetriou <cgd@sibyte.com>
429
09fd7e38
JM
430 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
431 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
432 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 433
09fd7e38
JM
434 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
435 and E_MIPS_ARCH_64.
84ea6cf2 436
09fd7e38
JM
437 * readelf.c (get_machine_flags): Add case for
438 E_MIPS_MACH_SB1.
c6c98b38 439
75066968
DD
4402000-11-30 Richard Earnshaw <rearnsha@arm.com>
441
442 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
443
5c4666ea
HPN
4442000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
445