1 2004-10-18 Alan Modra <amodra@bigpond.net.au>
3 * budemang.c (demangle): Handle "@plt" suffix.
5 2004-10-14 Nick Clifton <nickc@redhat.com>
7 * nm.c (usage): Fix description of --special-syms switch.
9 2004-10-13 Jakub Jelinek <jakub@redhat.com>
11 * strings.c (statbuf): New typedef.
13 (strings_object_file): Avoid using get_file_size, instead do the
14 checks here, using file_stat.
15 * configure.in (HAVE_STAT64): New test.
19 2004-10-12 Paul Brook <paul@codesourcery.com>
21 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
23 2004-10-11 Alan Modra <amodra@bigpond.net.au>
25 * objdump.c (dump_symbols): Fix thinko last change. Improve error
28 2004-10-08 Nick Clifton <nickc@redhat.com>
30 * nm.c: Add a new switch --special-syms which, if enabled, will
31 include the ARM Mapping symbols in nm's output.
32 (usage): Mention the switch.
33 (filter_symbols): Handle the switch.
34 * objdump.c: Add a similar switch.
35 (usage): Mention the switch.
36 (dump_symbols): Handle the switch.
37 * doc/binutils.texi: Document the new switches.
38 * NEWS: Mention the new switches.
40 2004-10-08 Daniel Jacobowitz <dan@debian.org>
42 * readelf.c (get_x86_64_section_type_name): New function.
43 (get_section_type_name): Use it.
45 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
47 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
49 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
51 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
53 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
56 2004-10-01 Paul Brook <paul@codesourcery.com>
58 * readelf.c (get_arm_section_type_name): New function.
59 (get_section_type_name): Use it.
61 2004-09-28 Nick Clifton <nickc@redhat.com>
63 * nm.c: Reorder functions to eliminate most of the static function
66 2004-09-22 Alan Modra <amodra@bigpond.net.au>
68 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
71 2004-09-17 Alan Modra <amodra@bigpond.net.au>
73 * Makefile.am: Run "make dep-am".
74 * Makefile.in: Regenerate.
75 * config.in: Regenerate.
76 * configure: Regenerate.
77 * doc/Makefile.in: Regenerate.
78 * po/binutils.pot: Regenerate.
80 2004-09-12 Alan Modra <amodra@bigpond.net.au>
82 * readelf.c (decode_location_expression): Sign extend value for
83 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
85 2004-09-09 Nick Clifton <nickc@redhat.com>
88 * ar.c (replace_members): Do not use get_file_size as
89 ar_emul_append correctly handles missing files.
91 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
93 * configure: Regenerated with autconfig 2.13.
95 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
97 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
100 2004-09-06 Michael Wardle <mbw@endbracket.net>
102 * doc/binutils.texi (objdump): Document that the -x switch includes
103 the effect of the -p switch.
105 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
107 * dlltool.c (make_one_lib_file): Test if internal_name was
108 specified by user before using it.
110 2004-09-02 Carlo Wood <carlo@alinoe.com>
113 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
114 exp->internal_name if it is present.
116 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
118 * MAINTAINERS: Add self as co-maintainer of FR-V.
119 * readelf.c (get_machine_flags): Print FR-V cpu types.
121 2004-08-28 Alan Modra <amodra@bigpond.net.au>
123 * nm.c (show_synthetic): New var.
124 (long_options): Add "synthetic".
126 (display_rel_file): Handle show_synthetic.
128 2004-08-28 Alan Modra <amodra@bigpond.net.au>
130 * objdump.c (dump_bfd): Pass both symbol tables to
131 bfd_get_synthetic_symtab.
133 2004-08-17 Jakub Jelinek <jakub@redhat.com>
135 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
136 of dynsyms to bfd_get_synthetic_symtab.
138 2004-08-16 Alan Modra <amodra@bigpond.net.au>
140 * readelf.c (debug_apply_rela_addends): New function, extracted from..
141 (display_debug_info): ..here.
142 (display_debug_frames): Call debug_apply_rela_addends. Don't do
143 DW_EH_PE_pcrel adjustment for ET_REL.
145 2004-08-06 Andreas Schwab <schwab@suse.de>
147 * readelf.c (dump_relocations): Fix typo when calculating
150 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
152 * dllwrap.c (deduce_name): Fix typos introduced when program_name
153 was renamed to prog_name.
155 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
157 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
160 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
162 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
163 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
165 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
166 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
168 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
170 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
172 * objdump.c (dump_section_header): Likewise.
174 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
176 * nlmconv.c (main): Pass map_file argument to link_inputs.
177 (link_inputs): Use map_file argument if it is defined.
179 2004-07-13 Nick Clifton <nickc@redhat.com>
181 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
182 conflicts with exported global defined in bucomm.h.
183 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
184 shadowing the global defined in bucomm.h.
186 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
188 * dlltool.c (ext_prefix_alias): New global variable.
189 (make_one_lib_file): Add aliases with prefixes for external
190 and import definitions.
191 (usage): Document -p option.
192 (long_options): Add --ext-prefix-alias option.
194 * doc/binutils.texi: Document new switch.
195 * NEWS: Mention new switch.
197 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
199 * binutils/dlltool.c (asm_prefix): Add parameter: name.
200 No underscore for symbols beginning with ?.
201 (ASM_PREFIX): Add parameter: NAME.
202 (gen_exp_file): Use new parameter.
203 (make_label): Likewise.
204 (make_imp_label): Likewise.
205 (make_one_lib_file): Likewise.
207 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
209 * MAINTAINERS: Added myself to the list.
210 * readelf.c: Include "elf/crx.h".
211 (guess_is_rela): Handle EM_CRX.
212 (get_machine_name): Likewise.
213 (dump_relocations): Likewise.
215 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
217 * doc/binutils.texi (nm): Clarify weak symbol description.
219 2004-06-24 Ben Elliston <bje@au.ibm.com>
221 * readelf.c (get_segment_type): Display "GNU_STACK", not just
222 "STACK", when a PT_GNU_STACK segment is encountered.
224 2004-06-24 Alan Modra <amodra@bigpond.net.au>
226 * objcopy.c (copy_section): Don't set _cooked_size.
228 2004-06-22 Alan Modra <amodra@bigpond.net.au>
230 * readelf.c (Elf32_Word): Delete.
231 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
232 (get_64bit_dynamic_section): Likewise.
234 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
235 (get_64bit_dynamic_section): Likewise.
237 * readelf.c (dynamic_nent): New variable.
238 (get_32bit_dynamic_section): Set it.
239 (get_64bit_dynamic_section): Here too.
240 (process_dynamic_section): Use it instead of dynamic_size.
241 (process_syminfo): Likewise.
243 * readelf.c (get_32bit_dynamic_section): Correct number of entries
244 translated from external to internal form.
245 (get_64bit_dynamic_section): Likewise.
247 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
249 * readelf.c (process_program_headers): When locating the dynamic
250 section use the section table if it is present.
251 (dynamic_segment): Renamed to dynamic_section.
252 Replace references to dynamic segment with references to dynamic
253 section, except where appropriate.
254 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
255 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
256 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
257 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
258 Remove tag counting code as it is no longer needed.
259 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
260 Remove tag counting code as it is no longer needed.
261 (process_dynamic_segment): Rename to process_dynamic_section.
263 2004-06-15 Alan Modra <amodra@bigpond.net.au>
265 * objcopy.c (copy_section): Use bfd_get_section_size instead of
266 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
267 (compare_section_lma): Likewise.
268 * addr2line.c (find_address_in_section): Likewise.
269 * coffgrok.c (do_sections_p1): Likewise.
270 * dlltool.c (scan_drectve_symbols): Likewise.
271 * nlmconv.c (main): Likewise.
272 (copy_sections): Likewise.
273 (powerpc_mangle_relocs): Likewise.
274 * objdump.c (disassemble_section): Likewise.
275 * prdbg.c (find_address_in_section): Likewise.
276 * size.c (berkeley_sum): Likewise.
277 * srconv.c (wr_ob): Likewise.
278 * strings.c (strings_a_section): Likewise.
280 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
282 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
284 2004-05-17 David Heine <dlheine@tensilica.com>
286 * objcopy.c (setup_bfd_headers): New function.
287 (copy_object): Call setup_bfd_headers.
289 2004-05-13 Paul Brook <paul@codesourcery.com>
291 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
294 2004-05-13 Nick Clifton <nickc@redhat.com>
296 * po/fr.po: Updated French translation.
298 2004-05-11 Jakub Jelinek <jakub@redhat.com>
300 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
302 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
304 * readelf.c (section_groups): New.
306 (section_headers_groups): New.
307 (process_section_groups): Populate group_count, section_groups
308 and section_headers_groups.
309 (process_unwind): Support section group.
310 (process_object): Always call process_section_groups. Free
311 section_groups and section_headers_groups.
313 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
315 * readelf.c (process_section_headers): Use %3lu on sh_info.
317 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
319 * ranlib.sh: Quote $1 argument in case it contains spaces.
321 2004-04-27 John Paul Wallington <jpw@gnu.org>
323 * objcopy.c (copy_usage, strip_usage): Fix spelling.
325 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
327 * readelf.c (do_section_groups): New.
328 (options): Add --section-groups/-g.
329 (usage): Mention --section-groups/-g.
330 (parse_args): Support --section-groups/-g.
331 (get_group_flags): New.
332 (process_section_groups): New.
333 (process_object): Call process_section_groups.
335 2004-04-24 Alan Modra <amodra@bigpond.net.au>
337 * objdump.c (disassemble_section): Don't disassemble sections
338 without SEC_HAS_CONTENTS.
340 2004-04-22 Jakub Jelinek <jakub@redhat.com>
342 * objdump.c (synthsyms, synthcount): New variables.
343 (disassemble_data): Use dynsyms for stripped binaries or libraries.
344 Add synthetized symbols.
345 (dump_bfd): For disassemble, initialize dynsyms always and
346 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
349 2004-04-14 Alan Modra <amodra@bigpond.net.au>
351 * strings.c (print_strings): Cast file_off to unsigned long in
354 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
357 * arsup.c (ar_save): Use smart_rename.
359 2004-04-01 Dean Luick <luick@cray.com>
361 * readelf.c (display_debug_pubnames): Align offset and data
363 (read_and_display_attr_value): Add missing break;
364 (debug_displays): Enable the display of the .debug_pubtypes
367 2004-03-30 Stan Shebs <shebs@apple.com>
369 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
370 support files, no longer used.
372 2004-03-23 Paul Brook <paul@codesourcery.com>
374 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
376 2004-03-21 Richard Henderson <rth@redhat.com>
378 * readelf.c (display_debug_frames): Don't crash for mismatched
379 DW_CFA_restore_state.
381 2004-03-19 Alan Modra <amodra@bigpond.net.au>
383 * Makefile.am: Run "make dep-am".
384 * Makefile.in: Regenerate.
385 * aclocal.m4: Regenerate.
386 * config.in: Regenerate.
387 * configure: Regenerate.
388 * po/binutils.pot: Regenerate.
390 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
392 * objdump.c (struct SFILE): Replace current pointer with pos
393 offset, rename size to alloc.
394 (objdump_sprintf): Avoid unnecessary copies in the common case
395 (disassemble_bytes): Keep sfile live throughout the
396 function. Adjust usage appropriately.
398 2004-03-10 Ben Elliston <bje@gnu.org>
400 * MAINTAINERS: Update my mail address.
402 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
404 * deflex.l: Handle "PRIVATE" string.
405 * defparse.y (%token): Add PRIVATE.
406 (%type): Add opt_PRIVATE.
407 (expline): Pass opt_PRIVATE to def_exports.
408 (opt_PRIVATE): Handle PRIVATE token.
409 * dlltool.h (def_exports): Add 7th param for private flag to
411 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
412 (struct export): Add 'private' field.
413 (def_exports): Set 'private' field of struct exports.
414 (scan_drectve_symbols): Adjust calls to def_exports.
415 (scan_filtered_symbols): Likewise.
416 (dump_def_info): Print 'private' field.
417 (gen_def_file): Likewise.
418 (gen_lib_file): Skip generation of lib object if private.
419 Delete tmp object files in same order as they were generated.
420 Don't delete non-existent private object files.
422 2004-02-27 Andreas Schwab <schwab@suse.de>
424 * ar.c (main): Support POSIX-compatible argument parsing.
426 2004-02-23 Daniel Lucq <daniel@lucq.org>
428 * readelf.c (process_mips_specific): Print conflictsno as an
431 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
433 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
435 2004-02-19 Jakub Jelinek <jakub@redhat.com>
437 * objcopy.c (copy_section): Avoid warnings.
439 2004-02-14 Andrew Cagney <cagney@redhat.com>
441 * ar.c (remove_output): Use bfd_cache_close.
442 * arsup.c (ar_end): Ditto.
444 2004-01-21 Roland McGrath <roland@redhat.com>
446 * readelf.c (get_note_type): Match NT_AUXV.
448 2004-01-20 Nick Clifton <nickc@redhat.com>
450 * version.c (print_version): Update copyright year to 2004.
452 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
454 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
456 * aclocal.m4: Regenerate.
457 * configure: Regenerate.
459 2004-01-12 Jakub Jelinek <jakub@redhat.com>
461 * objcopy.c: Include elf-bfd.h.
462 (is_strip_section): Don't strip debugging sections if
464 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
465 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
467 * objcopy.c (copy_section): Free relpp if relcount == 0.
469 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
471 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
472 (stab_demangle_argtypes): Likewise.
473 (stab_demangle_v3_argtypes): New static function.
474 (stab_demangle_v3_arg): New static function.
476 2004-01-12 Nick Clifton <nickc@redhat.com>
478 * objcopy.c (copy_object): Make the function boolean, returning
480 (copy_archive): Handle the return value from copy_object.
481 (copy_file): Likewise.
483 2004-01-07 Nick Clifton <nickc@redhat.com>
485 * readelf.c (find_section): New function. Locates a named
487 (get_debug_line_pointer_sizes): New function: Initialises the
488 debug_line_pointer_sizes array.
489 (display_debug_lines): Call get_debug_line_pointer_sizes.
490 (display_debug_loc): Likewise.
491 (load_debug_loc): Use find_section.
492 (load_debug_str): Likewise.
493 (display_debug_info): Likewise.
494 (prescan_debug_info): Delete.
495 (debug_displays): Remove prescan field.
496 (process_section_contents): Do not perform prescans.
498 2004-01-03 Alan Modra <amodra@bigpond.net.au>
500 * objcopy.c (filter_bytes): Delete. Move code to..
501 (copy_section): ..here. Simplify size adjustment. Divide
502 section lma by interleave.
504 2004-01-02 Nick Clifton <nickc@redhat.com>
506 * po/ru.po: New file: Russian translation.
507 * configure.in (ALL_LINGUAS): Add ru
508 * configure: Regenerate.
510 For older changes see ChangeLog-0203
516 version-control: never