]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* elfxx-sparc.c: New file.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
64c1196b
L
12005-04-17 H.J. Lu <hongjiu.lu@intel.com>
2
3 * objdump.c (dump_section_header): Support SEC_GROUP.
4
520494b6
NC
52005-04-16 Nick Clifton <nickc@redhat.com>
6
7 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
8 printf string.
9
ac559f4a
NC
102005-04-15 Nick Clifton <nickc@redhat.com>
11
12 * objcopy.c (copy_file): Issue an error message when attmepting to
13 copy an empty input file.
14
9e9b66a9
AM
152005-04-14 Alan Modra <amodra@bigpond.net.au>
16
17 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
18 * configure.in: Include ../bfd/warning.m4 contents.
19 * Makefile.in: Regenerate.
20 * configure: Regenerate.
21 * doc/Makefile.in: Regenerate.
22
ceae3e33
AM
232005-04-12 Alan Modra <amodra@bigpond.net.au>
24
25 * Makefile.am: Run "make dep-am".
26 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
27 (sysroff.o, defparse.o, deflex.o): Likewise.
28 (nlmheader.o, rcparse.o, rclex.o): Likewise.
29 * Makefile.in: Regenerate.
30 * aclocal.m4: Regenerate.
31 * config.in: Regenerate.
32 * configure: Regenerate.
33
53260797
JB
342005-04-11 Jan Beulich <jbeulich@novell.com>
35
36 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
37
52f3cf45
L
382005-04-06 Nick Clifton <nickc@redhat.com>
39 H.J. Lu <hongjiu.lu@intel.com>
40
41 * po/rw.po: New translation: Kinyarwanda.
42 * configure.in (ALL_LINGUAS): Add rw.
43 * configure: Regenerate.
44
a8b683fc
MR
452005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
46
47 * readelf.c (debug_apply_rela_addends): Reorder r_info as
48 necessary for 64-bit MIPS.
49
470e4bd1
MR
502005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
51
52 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
53
661f7c35
NC
542005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
55
56 PR binutils/813
57 * objdump.c (dump_symbols): Add a check to see if the section for
58 the symbol is chosen using process_section_p.
59
81fc812e
L
602005-04-01 H.J. Lu <hongjiu.lu@intel.com>
61
62 * NEWS: Mention new readelf options, "-N/--full-section-name"
63 and "-g/--section-groups".
64
65 * doc/binutils.texi: Document new readelf options,
66 "-N/--full-section-name" and "-g/--section-groups".
67
595cf52e
L
682005-03-31 H.J. Lu <hongjiu.lu@intel.com>
69
70 * readelf.c (do_full_section_name): New.
71 (options): Add "--full-section-name"/'N'.
72 (usage): Add -N/--full-section-name.
73 (parse_args): Handle 'N'.
74 (process_section_headers): Print out the full section name if
75 do_full_section_name isn't 0.
76
e46eba98
NC
772005-03-31 Nick Clifton <nickc@redhat.com>
78
79 * configure.in: Add a check for <unistd.h> providing a prototype
80 for getopt() which is compatible with the one in
81 include/getopt.h. If so then define HAVE_DECL_GETOPT.
82 * configure: Regenerate.
83 * config.in (HAVE_DECL_GETOPT): Add.
84 * aclocal.m4: Regenerate.
85 * addr2line.c: Include "config.h" before "bfd.h" so that
86 HAVE_DECL_GETOPT is defined before getopt.h is included.
87
ec72cfe5
NC
882005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
89
90 * doc/binutils.texi: Document new VAX disassembler-specific option
91 -M entry:0xfooba8.
92 * NEWS: Mention the new option.
93
abd18680
AP
942005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
95
96 * MAINTAINERS: Add myself as H8300 maintainer.
97
5810296b
AL
982005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
99
100 * objdump.c (disassemble_bytes): Remove cast.
101
335a0d39
DJ
1022005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
103
104 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
105 binutils-2_16-branch.
106
163730f0
MK
1072005-03-25 Mark Kettenis <kettenis@gnu.org>
108
109 * MAINTAINERS: Add myself as M88k maintainer.
110
bcfb5d77
DS
1112005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
112
113 * winduni.c (unicode_from_ascii): Don't declare variables
114 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
115 string len.
116
1acfb01b
DD
1172005-03-24 Dmitry Diky <diwil@spec.ru>
118
119 * MAINTAINERS: Add myself as MSP430 maintainer.
120
fa0c5056
NC
1212005-03-23 Nick Clifton <nickc@redhat.com>
122
123 * po/fr.po: Updated translation.
124
41772c33
NC
1252005-03-22 Nick Clifton <nickc@redhat.com>
126
127 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
128 privileges list.
129
b294bdf8
MM
1302005-03-17 Paul Brook <paul@codesourcery.com>
131 Dan Jacobowitz <dan@codesourcery.com>
132 Mark Mitchell <mark@codesourcery.com>
133
134 * binutils/readelf.c (get_arm_segment_type): New function.
135 (get_segment_type): Use it.
136
58450b3b
PB
1372005-03-18 Paul Brook <paul@codesourcery.com>
138
139 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
140
2115ce97
DN
1412005-03-17 Diego Novillo <dnovillo@redhat.com>
142
143 * MAINTAINERS: Remove self as maintainer of x86 intel
144 mode.
145
1ad12f97
NC
1462005-03-16 Nick Clifton <nickc@redhat.com>
147 Ben Elliston <bje@au.ibm.com>
148
569acd2c 149 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 150 compiler command line. Enabled by default. Disable via
569acd2c 151 --disable-werror.
1ad12f97
NC
152 * configure: Regenerate.
153
7b4a0685
NC
1542005-03-15 Daniel Marques <marques@cs.cornell.edu>
155 Nick Clifton <nickc@redhat.com>
156
157 * objcopy.c (globalize_specific_list): New linked list of symbols
158 to convert from local binding into global binding.
159 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
160 OPTION_GLOBALIZE_SYMBOLS.
161 (copy_options): Add "globalize-symbol" and "globalize-symbols".
162 (copy_usage): Document the new switches.
163 (filter_symbols): Convert defined local symbols mentioned on the
164 globalize_specific_list into global symbols.
165 (copy_object): Perform actions if the globalize_specific_list is
166 not empty.
167 (copy_main): Handle new switches.
168 * NEWS: Mention new feature.
169 * doc/binutils.texi: Document new switches.
170
ea8409f7
AM
1712005-03-15 Alan Modra <amodra@bigpond.net.au>
172
729ae8d2
AM
173 * po/es.po: Commit new Spanish translation.
174
ea8409f7
AM
175 * po/fr.po: Commit new French translation.
176
248642ab
AM
1772005-03-14 Alan Modra <amodra@bigpond.net.au>
178
179 * po/tr.po: Commit new Turkish translation.
180
e8d46048
NC
1812005-03-11 Nick Clifton <nickc@redhat.com>
182
183 * po/fr.po: Updated French translation.
184
953130a5
NC
1852005-03-10 Nick Clifton <nickc@redhat.com>
186
187 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
953130a5 188 * configure: Regenerate.
af99dc6d
NC
189 * po/ro.po: New file.
190
191 * po/ru.po: Updated file.
953130a5 192
06647dfd
AM
1932005-03-05 Alan Modra <amodra@bigpond.net.au>
194
195 * po/binutils.pot: Regenerate.
196
bb14f524
JB
1972005-03-02 Jan Beulich <jbeulich@novell.com>
198
199 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
200 * objcopy.c (copy_file): Likewise.
201 (strip_main): Likewise.
202
ce04548a
NC
2032005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
204 Nick Clifton <nickc@redhat.com>
205
206 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
207 (struct objdump_disasm_info): Add 'reloc' field.
208 (disassemble_bytes): Fix check for when an insn has a reloc
209 associated with it. Improve comment explaining why the use of
210 octets is wrong. Set the 'reloc' field in objdump_disasm_info
211 structure.
212 (objdump_print_addr): Use new 'reloc' field to lookup the correct
213 address for the symbol associated with the current instruction's
214 relocation.
215 (disassemble_info): Initialise 'reloc' field.
216
e9e44622
JJ
2172005-02-28 Jakub Jelinek <jakub@redhat.com>
218
219 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
220 get_segment_type, get_section_type_name, get_elf_class,
221 get_data_encoding, get_group_flags, dynamic_section_mips_val,
222 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
223 get_AT_name, process_mips_specific, process_gnu_liblist,
224 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
225 sprintf where needed.
226 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
227 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
228 using strcat.
229 (get_dynamic_flags): Renamed to...
230 (print_dynamic_flags): ... this. Print the flags to stdout instead
231 of returning them as string.
232 (process_dynamic_section): Adjust caller.
233
35515c66
L
2342005-02-25 H.J. Lu <hongjiu.lu@intel.com>
235
236 * readelf.c (display_debug_ranges): Print out offset for end of
237 list.
238
9210d879
AM
2392005-02-23 Alan Modra <amodra@bigpond.net.au>
240
241 * dlltool.c: Warning fixes.
242 * objdump.c: Likewise.
243
dc3c06c2
AM
2442005-02-22 Alan Modra <amodra@bigpond.net.au>
245
246 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
247 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
248 dependencies. Run "make dep-am".
249 * nlmconv.c: Warning fixes.
250 * readelf.c: Likewise.
251 * srconv.c: Likewise.
252 * sysdump.c: Likewise.
253 * sysinfo.y: Likewise.
254 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
255 of strcpy.
256 * Makefile.in: Regenerate.
257
ebe372c1
L
2582005-02-21 H.J. Lu <hongjiu.lu@intel.com>
259
260 * objcopy.c (parse_flags): Replace SEC_SHARED with
261 SEC_COFF_SHARED.
262
263 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
264 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
265 SEC_COFF_SHARED for COFF only.
266
72f47744
AM
2672005-02-21 Alan Modra <amodra@bigpond.net.au>
268
269 * Makefile.am: Run "make dep-am"
270 * Makefile.in: Regenerate.
271 * doc/Makefile.in: Regenerate.
272
66543521
AM
2732005-02-21 Alan Modra <amodra@bigpond.net.au>
274
275 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
276 (byte_get_little_endian): Don't handle size of -8.
277 (byte_get_signed, byte_get_big_endian): Likewise.
278 (print_dec_vma, print_hex_vma): New functions.
279 (print_vma): Use them. Return chars output.
280 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
281 (process_symbol_table): Handle alpha and s390 .hash.
282
904c75ac
L
2832005-02-18 H.J. Lu <hongjiu.lu@intel.com>
284
285 * readelf.c (display_debug_loc): Print out offset for end of
286 list.
287
ac40b919
JM
2882005-02-18 Joseph S. Myers <joseph@codesourcery.com>
289
290 * Makefile.am (TOOL_PROGS): Add objdump.
291 * Makefile.in: Regenerate.
292
0af6db78
AM
2932005-02-17 Alan Modra <amodra@bigpond.net.au>
294
295 * deflex.l (YY_NO_UNPUT): Define.
296 * rclex.l (YY_NO_UNPUT): Define.
297 * rcparse.y (null_unichar): New static var.
298 (res_null_text): Use it rather than attempting to init from wchar_t.
299 * windres.c: Include assert.h and time.h before getopt.h.
300 Include config.h and unistd.h too.
301
b5e6aa63
NC
3022005-02-15 Nick Clifton <nickc@redhat.com>
303
304 * nlmconv.c: Provide a full prototype for the localtime() function
305 in order to avoid a compile time warning.
306
d1f5c6e3
L
3072005-02-11 H.J. Lu <hongjiu.lu@intel.com>
308
309 * readelf.c (group_count): Don't initialize it.
310 (process_section_groups): Reurn 1 if we won't do unwind nor
311 section groups. Set group_count to 0 before counting group
312 sections and return 1 if there are no group sections. Reread
313 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
314 section 0.
315 (process_object): Only set do_unwind to 0 if
316 process_section_groups return 0.
317
3517749c
ILT
3182005-02-10 Ian Lance Taylor <ian@airs.com>
319
320 * MAINTAINERS: Update my e-mail address.
321
0dffe982
MM
3222005-02-10 Mark Mitchell <mark@codesourcery.com>
323
324 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
325 maintainers.
326
c4cf3821
NC
3272005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
328
329 * MAINTAINERS: Add self as maintainer of MAXQ.
330
89fac5e3
RS
3312005-01-31 Richard Sandiford <rsandifo@redhat.com>
332
333 * readelf.c (eh_addr_size): New variable.
334 (find_section): Move earlier in file. Return empty sections too.
335 (process_program_headers): Use find_section to find .dynamic.
336 (process_section_headers): Initialize eh_addr_size.
337 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
338 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
339 (display_debug_frames): Use it instead of local addr_size variable.
340 (size_of_encoded_value): Get pointer size from eh_addr_size rather
341 than is_32bit_elf.
342
c46f8c51
AC
3432005-01-31 Andrew Cagney <cagney@gnu.org>
344
345 * configure: Regenerate to track ../gettext.m4.
346
d342277e
NC
3472005-01-31 Nick Clifton <nickc@redhat.com>
348
349 * version.c (print_version): Bump the copyright date to 2005.
350
8615f3f2
AM
3512005-01-25 Alan Modra <amodra@bigpond.net.au>
352
353 * nm.c (display_rel_file): Read dynamic syms before calling
354 bfd_get_synthetic_symtab.
355
84e43642
BE
3562005-01-21 Ben Elliston <bje@au.ibm.com>
357
358 * dlltool.c (dump_iat): Remove unused function.
359 (gen_exp_file): Remove #if 0'd code.
360 (make_one_lib_file): Likewise.
361 * srconv.c: Remove #if 0'd code throughout.
362 * size.c (lprint_number): Remove.
363 (print_berkeley_format): Remove #if 0'd code.
364 * ar.c (do_quick_append): Remove declaration and definiton.
365 (main): Remove #if 0'd code.
366 * filemode.c (filemodestring): Remove #if 0'd function.
367 * sysdump.c (unit_info_list): Remove function.
368 (object_body_list): Likewise.
369 (program_structure): Likewise.
370 (debug_list): Likewise.
371 (module): Remove #if 0'd code.
372
619b8b60
MM
3732005-01-20 Mark Mitchell <mark@codesourcery.com>
374
a332ee82
MM
375 * BRANCHES: Add binutils-2_15-branch.
376
619b8b60
MM
377 * MAINTAINERS: Document branch policy.
378 * BRANCHES: New file.
379
e39893d7
FF
3802005-01-19 Fred Fish <fnf@specifixinc.com>
381
382 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
383 * doc/binutils.texi (objdump): Document the "no-aliases"
384 disassembly option.
385
b09a7772
NC
3862005-01-17 Eugene Kotlyarov <ekot@narod.ru>
387
388 PR binutils/647
389 * rcparse.y (RCDATA): Allow a filename to be supplied as the
390 parameter. Parse it with define_rcdata_file().
391 * resrc.c (define_rcdata_file): New function.
392 * windres.h: Provide a prototype for the new function.
393
394 * resrc.c (define_user_file): Fix typo by replacing "font file"
395 with "file".
396
ccf33464
JT
3972005-01-16 Jason Thorpe <thorpej@netbsd.org>
398
399 * MAINTAINERS: Update my email address.
400
a0ce7f12
DS
4012005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
402
403 * dlltool.c (set_dll_name_from_def): New function. Strip name
404 to basename, with warning.
8615f3f2 405 (def_name): Use it.
a0ce7f12
DS
406 (def_library): Likwise.
407 (main): Strip arg of --dllname to basename, with warning.
408 Only use basename of exp_name when inferring dll_name.
409
195a97ce
NC
4102005-01-11 Nick Clifton <nickc@redhat.com>
411
412 PR binutils/637
413 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
414 footnote in order to prevent the sed script in the Makefile from
415 converting it into c++filt.
416
0853c092
L
4172005-01-10 H.J. Lu <hongjiu.lu@intel.com>
418
419 BZ 635
420 readelf.c (saved_base_address): Removed.
421 (decode_64bit_range): Likewise.
422 (decode_range): Likewise.
423 (display_64bit_debug_ranges): Likewise.
424 (debug_info): Add range_lists, num_range_lists and
425 max_range_lists.
426 (read_and_display_attr_value): Handle do_debug_ranges.
427 (process_debug_info): Likewise.
428 (display_debug_ranges): Rewrite.
429 (process_object): Free range_lists.
430
0bcb06d2
AS
4312005-01-10 Andreas Schwab <schwab@suse.de>
432
433 * configure.in: Don't define SKIP_ZEROES.
434 * configure: Regenerate.
435 * objdump.c (disassemble_data): Set skip_zeroes and
436 skip_zeroes_at_end in disasm_info to defaults.
437 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
438 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
439 always define.
440 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
441 objdump_disasm_info.
442
e54b12b7
L
4432005-01-05 H.J. Lu <hongjiu.lu@intel.com>
444
445 * readelf.c (display_debug_loc): Display base address
446 specifiers. Always output <End of list>.
447
b38c7015
L
4482005-01-05 H.J. Lu <hongjiu.lu@intel.com>
449
450 * readelf.c (have_frame_base): New.
451 (need_base_address): Likewise.
452 (saved_base_address): Likewise.
453 (decode_location_expression): Return 1 if DW_AT_frame_base is
454 needed.
455 (debug_info): Add base_address and a have_frame_base pointer.
456 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
457 saved_base_address. Record base address. Set have_frame_base.
458 Record if a location list has DW_AT_frame_base. Display if a
459 location expression has no DW_AT_frame_base but needs one. Set
460 saved_base_address only if needed.
461 (process_debug_info): Clear have_frame_base, saved_base_address
462 and set need_base_address.
463 (display_debug_loc): Display if a location expression has no
464 DW_AT_frame_base but needs one. Display if start >= end. Don't
465 adjust for section address. Properly handle base address.
466 (process_object): Free the have_frame_base pointer in
467 debug_info.
468
b0660586
L
4692005-01-04 H.J. Lu <hongjiu.lu@intel.com>
470
471 * readelf.c (display_debug_loc): Display offsets for hole and
472 overlap.
473 (display_debug_str): Add a newline at the end.
474
8b626bcf
NC
4752005-01-04 Armin Diehl <diehl@nordrhein.de>
476
477 PR binutils/630
478 * nlmconv.c (main): Only store the basename of the output filename
479 in the module table.
480
5b18a4bc
NC
4812005-01-04 H.J. Lu <hongjiu.lu@intel.com>
482
483 BZ 615
484 * readelf.c (process_debug_info): New.
485 (debug_info): Add num_loc_offsets, loc_offsets and
486 last_loc_offset_p.
487 (get_debug_info): Use process_debug_info.
488 (display_debug_loc): Properly handle location list. Warn if bad
489 location lists are encoutnered.
490 (read_and_process_attr_value): New.
491 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
492 (display_debug_info): Use process_debug_info.
493 (process_object): Also free loc_offsets in debug_information.
494
180e47e2
AM
4952004-12-31 Alan Modra <amodra@bigpond.net.au>
496
497 * objdump.c (remove_useless_symbols): Discard section symbols.
498
0c548fce
L
4992004-12-27 H.J. Lu <hongjiu.lu@intel.com>
500
501 * readelf.c (read_leb128): Support 64bit host.
502
5b18a4bc
NC
5032004-12-23 Nick Clifton <nickc@redhat.com>
504
505 PR binutils/616
506 * readelf.c (debug_info): Add 'cu_offset' field.
507 (get+pointer_size_of_comp_unit): Rename to
508 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
509 the offset of the comp_unit if requested.
510 (get_debug_info): Record comp_unit offsets as well.
511 (display_debug_lines): Call get_pointer_size_of_comp_unit.
512 (decode_location_expression): Add an extra parameter - the offset
513 of the current comp-unit. Use this when decoding the DW_OP_call2
514 and DW_OP_call4 operators.
515 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
516 comp_unit offset on the decode_location_expression.
517 (read_and_display_attr_value): Pass the comp_unit offset on the
518 decode_location_expression.
519 (display_debug_frames): Pass 0 as the comp_unit offset to
520 decode_location_expression.
8615f3f2 521
76a56260
NC
5222004-12-22 Nick Clifton <nickc@redhat.com>
523
524 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
525 New variables associated with obtaining the pointer size for a
526 comp_unit.
527 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
528 of the section requesting the pointer size. Use this name in
529 error messages. If there are not enough comp_units available
530 produce a warning message, but return the last known pointer size
531 so that section dumping can continue.
532 (get_debug_info): Reset the new variables.
533 (display_debug_lines): Add extra parameter to invocation of
534 get_pointer_size_of_comp_unit and remove error message when it
535 returns 0.
536 (display_debug_loc): Likewise.
537
bcf32829
JB
5382004-12-15 Jan Beulich <jbeulich@novell.com>
539
540 * doc/binutils.texi: Document --strip-unneeded-symbol and
541 --strip-unneeded-symbols.
542 * objcopy.c (strip_unneeded_list): New.
543 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
544 and OPTION_STRIP_UNNEEDED_SYMBOLS.
545 (copy_options): Add --strip-unneeded-symbol and
546 --strip-unneeded-symbols.
547 (copy_usage): Likewise.
548 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
549 and the symbol is not needed.
550 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
551 OPTION_STRIP_UNNEEDED_SYMBOLS.
552
ebcb91b7
ILT
5532004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
554
555 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
556
a2f33459
BE
5572004-12-08 Ben Elliston <bje@au.ibm.com>
558
559 * arlex.l: Fix formatting.
560
36607f99
BE
5612004-12-08 Ben Elliston <bje@au.ibm.com>
562
563 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
564 config.texi whose value is the current month and year.
565 * doc/Makefile.in: Rebuild.
566 * doc/binutils.texi: Set the document subtitle to be the value of
567 the Texinfo UPDATED variable (obtained from config.texi).
568
2aa9814e
BE
5692004-12-07 Ben Elliston <bje@au.ibm.com>
570
571 PR binutils/249
572 * doc/binutils.texi (def file format): New node.
573 (dlltool): Use the tool name as the @chapter name, like all the
574 other binutils. Use @file{.def} throughout for consistency.
575
c7de9216
BE
5762004-12-06 Ben Elliston <bje@au.ibm.com>
577
578 * dlltool.c: Comment fix.
579
2423fbe6
BE
5802004-12-06 Ben Elliston <bje@au.ibm.com>
581
582 * doc/binutils.texi: Update copyright years.
583
73fb7068
RS
5842004-12-03 Richard Sandiford <rsandifo@redhat.com>
585
586 * MAINTAINERS: Remove mention of config.if.
587
32118081
NC
5882004-11-30 Tero Niemela <tero_niemela@yahoo.com>
589
590 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
591 * Makefile.in: Regenerate.
592
2b25cacb
ILT
5932004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
594
595 PR binutils/536
596 * stabs.c (stab_demangle_template): Call stab_demangle_count
597 rather than stab_demangle_get_count to get the length of a pointer
598 target.
599
74aba8aa
DS
6002004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
601
602 * defparse.y: Remove unnecessary commas from token list.
603
977cdf5a
NC
6042004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
605
606 * doc/binutils.texi (nm): Update description of weak symbols.
607
18bd398b
NC
6082004-11-03 Nick Clifton <nickc@redhat.com>
609
610 * readelf.c (do_debug_ranges): New variable.
611 (usage): Document new switch: -wR or --debug-dump=Ranges.
612 (parse_args): Handle new switch. Replace switch statement for the
613 long options with a more compact table structure.
614 (process_section_headers): Allow the dumping of .debug_ranges
615 sections if so requested.
616 (debug_displays): Likewise.
617 (load_debug_range): New function: Grabs the contents of a
618 .debug_ranges section.
619 (free_debug_range): New function: Releases the grabbed
620 .debug_ranges section.
621 (decode_64bit_range): New function: Displays a 64-bit range in a
622 .debug_ranges section.
623 (decode_range): New function: Displays a 32-bit range in a
624 .debug_ranges section.
625 (read_and_display_attr_value): Record the value of DW_AT_low_pc
626 attributes. Use decode_ranges() to display a DW_AT_ranges
627 attribute.
628 (display_debug_info): Use load_debug_range() and
629 free_debug_range().
630 (display_64bit_debug_ranges): New function. Displays the contents
631 of a 64-bit format .debug_ranges section.
632 (display_debug_ranges): New function: Displays the contents of a
633 32-bit .debug_ranges section.
8615f3f2 634
18bd398b
NC
635 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
636 global scope.
637 (process_object): Initialise the dump_sects array from the
638 cmdline_dump_sects array before processing each object file.
639
640 (streq, strneq): New macros. Use them to replace occurrences of
641 strcmp() and strncmp().
642
643 (debug_information): New structure array to replace
644 debug_line_pointer_sizes array.
645 (num_debug_info_entries): New variable to replace
646 num_debug_line_pointers.
647 (get_pointer_size_of_comp_unit): New function: Returns the pointer
648 size of a given compilation unit.
649 (get_debug_info): New function to replace
650 get_debug_line_pointer_sizes.
651 (display_debug_lines): Use the new functions.
652 (display_debug_loc): Likewise.
8615f3f2 653
18bd398b
NC
654 (disassemble_section): Change return type to int.
655 (display_debug_lines): Move local variables to their
656 innermost scope.
657 (display_debug_section): Likewise. Also record the return value
658 of functions called and pass this back to the parent. Also only
659 warn about undumped sections when the user explicitly requested
660 their dumping.
661
662 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
663 types as well.
8615f3f2 664
18bd398b
NC
665 * NEWS: Mention the support for decoding .debug_ranges sections.
666 * doc/binutils.texi: Document the new command line switch to
667 readelf.
668
57346661
AM
6692004-11-03 Randolph Chung <tausq@debian.org>
670
671 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
672 unw_aux_info and unw_table_entry.
673 (find_symbol_for_address): Pass symtab and strtab info explicitly.
674 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
675 prefix.
676 (slurp_ia64_unwind_table): Likewise.
677 (ia64_process_unwind): Rename from old process_unwind.
678 (hppa_unw_aux_info): New.
679 (dump_hppa_unwind): New.
680 (slurp_hppa_unwind_table): New.
681 (hppa_process_unwind): New.
682 (process_unwind): Factor out common unwinding checks; dispatch to
683 unwind handler based on machine type.
684
935d0bca
NC
6852004-11-02 Nick Clifton <nickc@redhat.com>
686
687 * readelf.c (display_debug_lines): Fix typo in error message.
688
1ec5cd37
NC
6892004-10-26 Mark Mitchell <mark@codesourcery.com>
690
691 * readelf.c (get_note_type): Handle notes not in core files.
692 (process_note_sections): New function.
693 (process_corefile_contents): Rename to ...
694 (process_notes): ... this.
695 (process_object): Call process_notes, not
696 process_corefile_contents.
697 * doc/binutils.texi: Update readelf -n documentation.
698
b3f21e4a
JJ
6992004-10-26 Jakub Jelinek <jakub@redhat.com>
700
701 * ar.c (extract_file): Set atime to mtime for ar xo.
702
2b4c4cc4
ILT
7032004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
704
705 * stabs.c (stab_demangle_v3_arglist): New static function, broken
706 out of stab_demangle_v3_argtypes.
707 (stab_demangle_v3_argtypes): Call it.
708 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
709 If we find an unrecognized component, print out its number.
710
1ffa9a18
L
7112004-10-25 David Mosberger <davidm@hpl.hp.com>
712
713 * readelf.c (slurp_ia64_unwind_table): Support relocations against
714 non-section symbols by adding in the symbol value.
715
d79b3d50
NC
7162004-10-25 Nick Clifton <nickc@redhat.com>
717
718 PR 465
719 * readelf.c (dynamic_strings_length): New global variable.
720 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
721 strings in the dynamic string table.
722 (process_section_headers): Initialise dynamic_strings_length.
723 (process_dynamic_section): Likewise.
724 (process_object): Reset dynamic_string_length when the buffer is freed.
725 (dynamic_sections_mips_val): Use the new macros.
726 (process_dynamic_section): Likewise.
727 (process_version_sections): Likewise.
728 (process_symbol_table): Likewise.
729 (process_syminfo): Likewise.
730 (process_mips_specific): Likewise.
731 (dump_relocations): Add a new parameter 'strtablen' and use this
732 to verify that string offset in a given reloc is valid. Print a
733 suitable error message otherwise.
734 (process_relocs): Pass the new argument to dump_relocations.
735
0fd555c4
NC
7362004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
737
738 * dlltool.c: Include <assert.h>.
739 (PREFIX_ALIAS_BASE): Define.
740 (struct export): Add member import_name;
741 (def_exports): Set import_name.
742 (make_one_lib_file): Remove prefix alias code, use import_name
743 in .idata$6.
744 (gen_lib_file): Create and delete aliases.
745
5ab0c1a1
L
7462004-10-19 H.J. Lu <hongjiu.lu@intel.com>
747
748 * readelf.c (process_section_groups): Free symtab after use.
749
d412a550
NC
7502004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
751 Nick Clifton <nickc@redhat.com>
752
753 * strings.c (usage): Place radix values for -t option into the
754 correct order.
755
756 * objcopy.c (add_redefine_syms_file): Change error messages to use
757 <filename>:<linenumber>: format for easier parsing by automatic
758 tools.
759
760 * srconv.c (show_usage): Fix spelling typo.
761
762 * windres.c (format_from_filename): Suggest the use of -J instead
763 of -I if the file type cannot be determined.
764
fb608b92
NC
7652004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
766
767 * strings.c: Include <sys/stat.h>.
768
2bb2d727
AM
7692004-10-18 Alan Modra <amodra@bigpond.net.au>
770
7f67d4c9
AM
771 * budemang.c (demangle): Fix thinko.
772
2bb2d727
AM
773 * budemang.c (demangle): Handle "@plt" suffix.
774
61bbd35b
NC
7752004-10-14 Nick Clifton <nickc@redhat.com>
776
777 * nm.c (usage): Fix description of --special-syms switch.
778
fb5b5478
JJ
7792004-10-13 Jakub Jelinek <jakub@redhat.com>
780
781 * strings.c (statbuf): New typedef.
782 (file_stat): Define.
783 (strings_object_file): Avoid using get_file_size, instead do the
784 checks here, using file_stat.
785 * configure.in (HAVE_STAT64): New test.
786 * configure: Rebuilt.
787 * config.in: Rebuilt.
788
8cb51566
PB
7892004-10-12 Paul Brook <paul@codesourcery.com>
790
791 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
792
83ef0798
AM
7932004-10-11 Alan Modra <amodra@bigpond.net.au>
794
795 * objdump.c (dump_symbols): Fix thinko last change. Improve error
796 messages.
797
3c9458e9
NC
7982004-10-08 Nick Clifton <nickc@redhat.com>
799
800 * nm.c: Add a new switch --special-syms which, if enabled, will
801 include the ARM Mapping symbols in nm's output.
802 (usage): Mention the switch.
803 (filter_symbols): Handle the switch.
804 * objdump.c: Add a similar switch.
805 (usage): Mention the switch.
806 (dump_symbols): Handle the switch.
807 * doc/binutils.texi: Document the new switches.
808 * NEWS: Mention the new switches.
809
d2b2c203
DJ
8102004-10-08 Daniel Jacobowitz <dan@debian.org>
811
812 * readelf.c (get_x86_64_section_type_name): New function.
813 (get_section_type_name): Use it.
814
d67a454c
NC
8152004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
816
817 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
818 patches.
819 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
820
1c877e87
AO
8212004-10-07 Alexandre Oliva <aoliva@redhat.com>
822
823 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
824 types.
825
40a18ebd
NC
8262004-10-01 Paul Brook <paul@codesourcery.com>
827
828 * readelf.c (get_arm_section_type_name): New function.
829 (get_section_type_name): Use it.
830
382c1116
NC
8312004-09-28 Nick Clifton <nickc@redhat.com>
832
eb1ab0cf 833 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
834 prototypes.
835
cbaa0dc5
AM
8362004-09-22 Alan Modra <amodra@bigpond.net.au>
837
838 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
839 segments.
840
3443c1ae
AM
8412004-09-17 Alan Modra <amodra@bigpond.net.au>
842
843 * Makefile.am: Run "make dep-am".
844 * Makefile.in: Regenerate.
845 * config.in: Regenerate.
846 * configure: Regenerate.
847 * doc/Makefile.in: Regenerate.
848 * po/binutils.pot: Regenerate.
849
74013231
AM
8502004-09-12 Alan Modra <amodra@bigpond.net.au>
851
852 * readelf.c (decode_location_expression): Sign extend value for
853 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
854
360589e8
NC
8552004-09-09 Nick Clifton <nickc@redhat.com>
856
857 PR 363
858 * ar.c (replace_members): Do not use get_file_size as
859 ar_emul_append correctly handles missing files.
860
d15b04bd
L
8612004-09-07 H.J. Lu <hongjiu.lu@intel.com>
862
863 * configure: Regenerated with autconfig 2.13.
864
d597aff7
DS
8652004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
866
74013231
AM
867 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
868 documentation.
d597aff7 869
04c34128
NC
8702004-09-06 Michael Wardle <mbw@endbracket.net>
871
3023b782 872 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
873 the effect of the -p switch.
874
d597aff7 8752004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 876
6cef8f72
DS
877 * dlltool.c (make_one_lib_file): Test if internal_name was
878 specified by user before using it.
5df31fad 879
74013231 8802004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
881
882 PR binutils/351
883 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
884 exp->internal_name if it is present.
885
ec2dfb42
AO
8862004-09-02 Alexandre Oliva <aoliva@redhat.com>
887
888 * MAINTAINERS: Add self as co-maintainer of FR-V.
889 * readelf.c (get_machine_flags): Print FR-V cpu types.
890
0873df2a
AM
8912004-08-28 Alan Modra <amodra@bigpond.net.au>
892
893 * nm.c (show_synthetic): New var.
894 (long_options): Add "synthetic".
895 (usage): Here too.
896 (display_rel_file): Handle show_synthetic.
897
c9727e01
AM
8982004-08-28 Alan Modra <amodra@bigpond.net.au>
899
900 * objdump.c (dump_bfd): Pass both symbol tables to
901 bfd_get_synthetic_symtab.
902
90e3cdf2
JJ
9032004-08-17 Jakub Jelinek <jakub@redhat.com>
904
905 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
906 of dynsyms to bfd_get_synthetic_symtab.
907
d84de024
AM
9082004-08-16 Alan Modra <amodra@bigpond.net.au>
909
910 * readelf.c (debug_apply_rela_addends): New function, extracted from..
911 (display_debug_info): ..here.
912 (display_debug_frames): Call debug_apply_rela_addends. Don't do
913 DW_EH_PE_pcrel adjustment for ET_REL.
914
efcb5b0e
AS
9152004-08-06 Andreas Schwab <schwab@suse.de>
916
917 * readelf.c (dump_relocations): Fix typo when calculating
918 sec_index.
919
d3cde3af
NC
9202004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
921
922 * dllwrap.c (deduce_name): Fix typos introduced when program_name
923 was renamed to prog_name.
924
1d70c7fb
AO
9252004-07-29 Alexandre Oliva <aoliva@redhat.com>
926
927 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
928 EF_SH2A_NOFPU.
929
ccde1100
AO
9302004-07-28 Alexandre Oliva <aoliva@redhat.com>
931
932 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
933 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
934 EF_SH4A_NOFPU.
935 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
936 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
937
082b7297
L
9382004-07-21 H.J. Lu <hongjiu.lu@intel.com>
939
940 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
941 to access comdat.
942 * objdump.c (dump_section_header): Likewise.
943
44a6d974
NC
9442004-07-15 Aravinda PR <aravindapr@rediffmail.com>
945
946 * nlmconv.c (main): Pass map_file argument to link_inputs.
947 (link_inputs): Use map_file argument if it is defined.
948
61513dc1
NC
9492004-07-13 Nick Clifton <nickc@redhat.com>
950
951 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
952 conflicts with exported global defined in bucomm.h.
953 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
954 shadowing the global defined in bucomm.h.
955
607dea97
NC
9562004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
957
958 * dlltool.c (ext_prefix_alias): New global variable.
959 (make_one_lib_file): Add aliases with prefixes for external
960 and import definitions.
961 (usage): Document -p option.
962 (long_options): Add --ext-prefix-alias option.
963 (main): Handle -p.
964 * doc/binutils.texi: Document new switch.
965 * NEWS: Mention new switch.
966
2758961a
NC
9672004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
968
969 * binutils/dlltool.c (asm_prefix): Add parameter: name.
970 No underscore for symbols beginning with ?.
971 (ASM_PREFIX): Add parameter: NAME.
972 (gen_exp_file): Use new parameter.
973 (make_label): Likewise.
974 (make_imp_label): Likewise.
975 (make_one_lib_file): Likewise.
976
1fe1f39c
NC
9772004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
978
979 * MAINTAINERS: Added myself to the list.
980 * readelf.c: Include "elf/crx.h".
981 (guess_is_rela): Handle EM_CRX.
982 (get_machine_name): Likewise.
983 (dump_relocations): Likewise.
984
c87db184
CF
9852004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
986
987 * doc/binutils.texi (nm): Clarify weak symbol description.
988
fb7b006e
BE
9892004-06-24 Ben Elliston <bje@au.ibm.com>
990
991 * readelf.c (get_segment_type): Display "GNU_STACK", not just
992 "STACK", when a PT_GNU_STACK segment is encountered.
993
eea6121a
AM
9942004-06-24 Alan Modra <amodra@bigpond.net.au>
995
996 * objcopy.c (copy_section): Don't set _cooked_size.
997
fb514b26
AM
9982004-06-22 Alan Modra <amodra@bigpond.net.au>
999
ba2685cc
AM
1000 * readelf.c (Elf32_Word): Delete.
1001 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1002 (get_64bit_dynamic_section): Likewise.
1003
1004 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1005 (get_64bit_dynamic_section): Likewise.
1006
86dba8ee
AM
1007 * readelf.c (dynamic_nent): New variable.
1008 (get_32bit_dynamic_section): Set it.
1009 (get_64bit_dynamic_section): Here too.
1010 (process_dynamic_section): Use it instead of dynamic_size.
1011 (process_syminfo): Likewise.
1012
fb514b26
AM
1013 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1014 translated from external to internal form.
1015 (get_64bit_dynamic_section): Likewise.
1016
b2d38a17
NC
10172004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1018
1019 * readelf.c (process_program_headers): When locating the dynamic
1020 section use the section table if it is present.
1021 (dynamic_segment): Renamed to dynamic_section.
1022 Replace references to dynamic segment with references to dynamic
1023 section, except where appropriate.
1024 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1025 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1026 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1027 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1028 Remove tag counting code as it is no longer needed.
1029 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1030 Remove tag counting code as it is no longer needed.
1031 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 1032
135dfb4a
AM
10332004-06-15 Alan Modra <amodra@bigpond.net.au>
1034
1035 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1036 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1037 (compare_section_lma): Likewise.
1038 * addr2line.c (find_address_in_section): Likewise.
1039 * coffgrok.c (do_sections_p1): Likewise.
1040 * dlltool.c (scan_drectve_symbols): Likewise.
1041 * nlmconv.c (main): Likewise.
1042 (copy_sections): Likewise.
1043 (powerpc_mangle_relocs): Likewise.
1044 * objdump.c (disassemble_section): Likewise.
1045 * prdbg.c (find_address_in_section): Likewise.
1046 * size.c (berkeley_sum): Likewise.
1047 * srconv.c (wr_ob): Likewise.
1048 * strings.c (strings_a_section): Likewise.
1049
90e01f86
ILT
10502004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1051
1052 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1053
80fccad2
BW
10542004-05-17 David Heine <dlheine@tensilica.com>
1055
eea6121a 1056 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
1057 (copy_object): Call setup_bfd_headers.
1058
0da76f83
NC
10592004-05-13 Paul Brook <paul@codesourcery.com>
1060
1061 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1062 entries.
1063
9598fbe5
NC
10642004-05-13 Nick Clifton <nickc@redhat.com>
1065
1066 * po/fr.po: Updated French translation.
1067
8c37241b
JJ
10682004-05-11 Jakub Jelinek <jakub@redhat.com>
1069
1070 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1071
e4b17d5c
L
10722004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * readelf.c (section_groups): New.
1075 (group_count): New.
1076 (section_headers_groups): New.
1077 (process_section_groups): Populate group_count, section_groups
1078 and section_headers_groups.
1079 (process_unwind): Support section group.
1080 (process_object): Always call process_section_groups. Free
1081 section_groups and section_headers_groups.
1082
f2da459f
L
10832004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 * readelf.c (process_section_headers): Use %3lu on sh_info.
1086
f8935895
NC
10872004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1088
1089 * ranlib.sh: Quote $1 argument in case it contains spaces.
1090
10912004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
1092
1093 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1094
f5842774
L
10952004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * readelf.c (do_section_groups): New.
1098 (options): Add --section-groups/-g.
1099 (usage): Mention --section-groups/-g.
1100 (parse_args): Support --section-groups/-g.
1101 (get_group_flags): New.
1102 (process_section_groups): New.
1103 (process_object): Call process_section_groups.
1104
46212538
AM
11052004-04-24 Alan Modra <amodra@bigpond.net.au>
1106
1107 * objdump.c (disassemble_section): Don't disassemble sections
1108 without SEC_HAS_CONTENTS.
1109
4c45e5c9
JJ
11102004-04-22 Jakub Jelinek <jakub@redhat.com>
1111
1112 * objdump.c (synthsyms, synthcount): New variables.
1113 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1114 Add synthetized symbols.
1115 (dump_bfd): For disassemble, initialize dynsyms always and
1116 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1117 before returning.
1118
e9f87780
AM
11192004-04-14 Alan Modra <amodra@bigpond.net.au>
1120
1121 * strings.c (print_strings): Cast file_off to unsigned long in
1122 printf arg list.
1123
1ba93119
AM
11242004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1125
1126 PR 86
1127 * arsup.c (ar_save): Use smart_rename.
1128
935a41f5
NC
11292004-04-01 Dean Luick <luick@cray.com>
1130
1131 * readelf.c (display_debug_pubnames): Align offset and data
1132 columns.
1133 (read_and_display_attr_value): Add missing break;
1134 (debug_displays): Enable the display of the .debug_pubtypes
1135 section.
1136
92e25cf8
SS
11372004-03-30 Stan Shebs <shebs@apple.com>
1138
1139 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1140 support files, no longer used.
1141
d507cf36
PB
11422004-03-23 Paul Brook <paul@codesourcery.com>
1143
1144 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1145
8c9a9879
RH
11462004-03-21 Richard Henderson <rth@redhat.com>
1147
1148 * readelf.c (display_debug_frames): Don't crash for mismatched
1149 DW_CFA_restore_state.
1150
6ece5c52
AM
11512004-03-19 Alan Modra <amodra@bigpond.net.au>
1152
1153 * Makefile.am: Run "make dep-am".
1154 * Makefile.in: Regenerate.
1155 * aclocal.m4: Regenerate.
1156 * config.in: Regenerate.
1157 * configure: Regenerate.
1158 * po/binutils.pot: Regenerate.
1159
6f104306
NS
11602004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1161
1162 * objdump.c (struct SFILE): Replace current pointer with pos
1163 offset, rename size to alloc.
1164 (objdump_sprintf): Avoid unnecessary copies in the common case
1165 (disassemble_bytes): Keep sfile live throughout the
1166 function. Adjust usage appropriately.
1167
523f6a27
BE
11682004-03-10 Ben Elliston <bje@gnu.org>
1169
1170 * MAINTAINERS: Update my mail address.
1171
7aa52b1f
NC
11722004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1173
1174 * deflex.l: Handle "PRIVATE" string.
1175 * defparse.y (%token): Add PRIVATE.
1176 (%type): Add opt_PRIVATE.
1177 (expline): Pass opt_PRIVATE to def_exports.
1178 (opt_PRIVATE): Handle PRIVATE token.
1179 * dlltool.h (def_exports): Add 7th param for private flag to
1180 declaration.
1181 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1182 (struct export): Add 'private' field.
1183 (def_exports): Set 'private' field of struct exports.
1184 (scan_drectve_symbols): Adjust calls to def_exports.
1185 (scan_filtered_symbols): Likewise.
1186 (dump_def_info): Print 'private' field.
1187 (gen_def_file): Likewise.
1188 (gen_lib_file): Skip generation of lib object if private.
1189 Delete tmp object files in same order as they were generated.
1190 Don't delete non-existent private object files.
1191
af865222
AS
11922004-02-27 Andreas Schwab <schwab@suse.de>
1193
1194 * ar.c (main): Support POSIX-compatible argument parsing.
1195
c7e7ca54
NC
11962004-02-23 Daniel Lucq <daniel@lucq.org>
1197
1198 * readelf.c (process_mips_specific): Print conflictsno as an
1199 unsigned long.
1200
eff21b8e
CF
12012004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1202
1203 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1204
2f01ffbf
JJ
12052004-02-19 Jakub Jelinek <jakub@redhat.com>
1206
1207 * objcopy.c (copy_section): Avoid warnings.
1208
c92c35e7
AC
12092004-02-14 Andrew Cagney <cagney@redhat.com>
1210
1211 * ar.c (remove_output): Use bfd_cache_close.
1212 * arsup.c (ar_end): Ditto.
1213
9d241085
RM
12142004-01-21 Roland McGrath <roland@redhat.com>
1215
1216 * readelf.c (get_note_type): Match NT_AUXV.
1217
d99e9f4d
NC
12182004-01-20 Nick Clifton <nickc@redhat.com>
1219
1220 * version.c (print_version): Update copyright year to 2004.
1221
f8b73030
MR
12222004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1223
1224 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1225 throughout.
1226 * aclocal.m4: Regenerate.
1227 * configure: Regenerate.
1228
f0312d39
JJ
12292004-01-12 Jakub Jelinek <jakub@redhat.com>
1230
1231 * objcopy.c: Include elf-bfd.h.
1232 (is_strip_section): Don't strip debugging sections if
1233 STRIP_NONDEBUG.
1234 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1235 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1236
1237 * objcopy.c (copy_section): Free relpp if relcount == 0.
1238
041821e6
ILT
12392004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1240
1241 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1242 (stab_demangle_argtypes): Likewise.
1243 (stab_demangle_v3_argtypes): New static function.
1244 (stab_demangle_v3_arg): New static function.
1245
950d48e7
NC
12462004-01-12 Nick Clifton <nickc@redhat.com>
1247
1248 * objcopy.c (copy_object): Make the function boolean, returning
1249 FALSE upon failure.
eea6121a
AM
1250 (copy_archive): Handle the return value from copy_object.
1251 (copy_file): Likewise.
950d48e7 1252
d9296b18
NC
12532004-01-07 Nick Clifton <nickc@redhat.com>
1254
1255 * readelf.c (find_section): New function. Locates a named
1256 section.
1257 (get_debug_line_pointer_sizes): New function: Initialises the
1258 debug_line_pointer_sizes array.
eea6121a
AM
1259 (display_debug_lines): Call get_debug_line_pointer_sizes.
1260 (display_debug_loc): Likewise.
1261 (load_debug_loc): Use find_section.
1262 (load_debug_str): Likewise.
1263 (display_debug_info): Likewise.
1264 (prescan_debug_info): Delete.
1265 (debug_displays): Remove prescan field.
1266 (process_section_contents): Do not perform prescans.
d9296b18 1267
5e675b72
AM
12682004-01-03 Alan Modra <amodra@bigpond.net.au>
1269
1270 * objcopy.c (filter_bytes): Delete. Move code to..
1271 (copy_section): ..here. Simplify size adjustment. Divide
1272 section lma by interleave.
1273
f0660b73
NC
12742004-01-02 Nick Clifton <nickc@redhat.com>
1275
1276 * po/ru.po: New file: Russian translation.
1277 * configure.in (ALL_LINGUAS): Add ru
1278 * configure: Regenerate.
eb18fd22 1279
c9e214e5 1280For older changes see ChangeLog-0203
252b5132
RH
1281\f
1282Local Variables:
1283mode: change-log
1284left-margin: 8
1285fill-column: 74
1286version-control: never
1287End: