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