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