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