2008-12-21 12:45:53 +00:00
|
|
|
|
2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2008-12-09 18:59:54 +00:00
|
|
|
|
2008-12-09 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* srconv.c (wr_hd): Add parens to placate gcc 4.4.
|
|
|
|
|
|
2008-12-09 08:34:29 +00:00
|
|
|
|
2008-12-09 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
|
|
|
|
|
(arm_attr_tag_WMMX_arch): Add "WMMXv2".
|
|
|
|
|
(arm_attr_tag_NEON_arch): Rename to ...
|
|
|
|
|
(arm_attr_tag_Advanced_SIMD_arch): ... official name.
|
|
|
|
|
(arm_attr_tag_ABI_PCS_config): Rename to ...
|
|
|
|
|
(arm_attr_tag_PCS_config): ... official name.
|
|
|
|
|
(arm_attr_tag_ABI_PCS_RO_DATA): Rename to ...
|
|
|
|
|
(arm_attr_tag_ABI_PCS_RO_data): ... official name.
|
|
|
|
|
(arm_attr_tag_ABI_FP_denormal): Add "Sign only".
|
|
|
|
|
(arm_attr_tag_CPU_unaligned_access): New array.
|
|
|
|
|
(arm_attr_tag_T2EE_use): New array.
|
|
|
|
|
(arm_attr_tag_Virtualization_use): New array.
|
|
|
|
|
(arm_attr_tag_MPextension_use): New array.
|
|
|
|
|
(arm_attr_publ): NEON_arch -> Advanced_SIMD_arch.
|
|
|
|
|
ABI_PCS_config -> PCS_config.
|
|
|
|
|
ABI_PCS_RO_DATA -> ABI_PCS_RO_data.
|
|
|
|
|
Add CPU_unaligned_access, nodefaults, also_compatible_with,
|
|
|
|
|
T2EE_use, conformance, Virtualization_use and MPextension_use.
|
|
|
|
|
(display_arm_attribute): Handle Tag_nodefaults and
|
|
|
|
|
Tag_also_compatible_with.
|
|
|
|
|
|
2008-12-04 10:29:16 +00:00
|
|
|
|
2008-12-04 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (objdump): Update booke documentation.
|
|
|
|
|
* NEWS: Document user-visible changes to command line options.
|
|
|
|
|
|
2008-12-04 08:04:47 +00:00
|
|
|
|
2008-12-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (dump_reloc_set): Append "()" to symbol names which
|
|
|
|
|
have the BSF_INDIRECT_FUNCTION type.
|
|
|
|
|
* readelf.c (print_symbol): Fix handling of negative widths.
|
|
|
|
|
(dump_relocations): Append "()" to symbol names which have the
|
|
|
|
|
STT_IFUNC type. Display negative offsets as a positive number with
|
|
|
|
|
a "-" prefix.
|
|
|
|
|
(get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
|
|
|
|
|
* doc/binutils.texi: Document 'i' symbol type.
|
|
|
|
|
|
2008-11-26 14:24:35 +00:00
|
|
|
|
2008-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* strings.c (main): New variable `s'. Have string_min parsing
|
|
|
|
|
call fatal for invalid input strings.
|
|
|
|
|
|
2008-11-25 08:48:49 +00:00
|
|
|
|
2008-11-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR7044
|
|
|
|
|
* dlltool.c (run): Use formatting string to avoid compile time
|
|
|
|
|
warning.
|
|
|
|
|
(gen_exp_file): Check return value from fread.
|
|
|
|
|
* windmc.c (main): Check return value from fread.
|
|
|
|
|
|
2008-11-21 22:16:16 +00:00
|
|
|
|
2008-11-21 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
|
|
|
|
|
|
2008-11-19 16:22:48 +00:00
|
|
|
|
2008-11-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/fdl.texi: Update to v1.3
|
|
|
|
|
* doc/binutils.texinfo: Change license to v1.3.
|
|
|
|
|
|
2008-11-18 15:45:05 +00:00
|
|
|
|
2008-11-18 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
|
|
|
|
|
(arm_attr_tag_VFP_HP_extension): New.
|
|
|
|
|
(arm_attr_public_tag arm_attr_public_tags): Support
|
|
|
|
|
new attributes.
|
|
|
|
|
|
2008-11-17 17:44:32 +00:00
|
|
|
|
2008-11-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* version.c (print_version): Update copyright year.
|
|
|
|
|
|
2008-11-16 06:00:41 +00:00
|
|
|
|
2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* dlltool.c (identify_search_section): Cast argument, not return
|
|
|
|
|
value, of xstrdup to 'char*'.
|
|
|
|
|
|
2008-11-15 18:15:18 +00:00
|
|
|
|
2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
|
|
|
|
|
|
|
|
|
|
Added --identify option to dlltool.
|
|
|
|
|
* binutils/dlltool.c: Add new global variables
|
|
|
|
|
identify_imp_name and identify_dll_name.
|
|
|
|
|
(identify_dll_for_implib, identify_search_archive,
|
|
|
|
|
identify_search_member, identify_process_section_p,
|
|
|
|
|
identify_search_section): New functions.
|
|
|
|
|
(usage): Added --identify.
|
|
|
|
|
(long_options): Added --identify.
|
|
|
|
|
(main): Handle --identify option.
|
|
|
|
|
* binutils/doc/binutils.texi: Document --identify.
|
|
|
|
|
|
2008-11-14 14:56:51 +00:00
|
|
|
|
2008-11-14 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
Remove outdated mach-o specific tests.
|
|
|
|
|
* objdump.c (load_debug_section): Remove mach-o specific test.
|
|
|
|
|
(mach_o_uncompressed_dwarf_sections): Removed.
|
|
|
|
|
(mach_o_compressed_dwarf_sections): Removed.
|
|
|
|
|
(generic_uncompressed_dwarf_sections): Removed.
|
|
|
|
|
(generic_compressed_dwarf_sections): Removed.
|
|
|
|
|
(check_mach_o_dwarf): Removed.
|
|
|
|
|
(dump_dwarf): Remove call to check_mach_o_dwarf.
|
|
|
|
|
|
2008-11-14 09:57:35 +00:00
|
|
|
|
2008-11-14 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure.com: Get version from configure.in of bfd.
|
|
|
|
|
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
|
|
|
|
|
(CFLAGS): Update flags.
|
|
|
|
|
|
2008-11-13 10:57:00 +00:00
|
|
|
|
2008-11-13 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* nm.c (filter_symbols): Only call memcpy when from != to.
|
|
|
|
|
|
2008-11-10 08:45:13 +00:00
|
|
|
|
2008-11-10 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* objdump.c (disassemble_bytes): Don't skip leading zeros when
|
|
|
|
|
end of section calculation overflows.
|
|
|
|
|
|
2008-11-07 14:27:05 +00:00
|
|
|
|
2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
|
|
|
|
|
|
2008-10-31 02:16:47 +00:00
|
|
|
|
2008-10-31 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* po/id.po: New file.
|
2008-10-31 02:52:14 +00:00
|
|
|
|
* configure.in (ALL_LINGUAS): Add id.
|
|
|
|
|
* configure: Regenerate.
|
2008-10-31 02:16:47 +00:00
|
|
|
|
|
2008-10-21 01:36:15 +00:00
|
|
|
|
2008-10-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* windmc.c (res_alloc): Remove unnecessary cast.
|
|
|
|
|
* windres.c (res_alloc, reswr_alloc): Likewise.
|
|
|
|
|
|
2008-10-20 12:40:58 +00:00
|
|
|
|
2008-10-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Tidy up code formatting.
|
|
|
|
|
|
2008-10-10 20:55:36 +00:00
|
|
|
|
2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (display_power_gnu_attribute): Decode
|
|
|
|
|
Tag_GNU_Power_ABI_Struct_Return.
|
|
|
|
|
|
2008-10-09 13:42:30 +00:00
|
|
|
|
2008-10-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* embedspu.sh: Pass -Wa,-noexecstack to $CC.
|
|
|
|
|
|
2008-10-09 09:00:08 +00:00
|
|
|
|
2008-10-09 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
|
|
|
|
|
(PAGE_MASK): Likewise.
|
|
|
|
|
(sfunc): Change to address size of bfd_vma for base-file.
|
|
|
|
|
(flush_page): Likewise.
|
|
|
|
|
(gen_exp_file): Likewise.
|
|
|
|
|
|
2008-10-07 12:03:18 +00:00
|
|
|
|
2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_section_headers): Do not cut the section names and
|
|
|
|
|
types if running with --wide.
|
|
|
|
|
|
* dwarf.c (display_debug_frames): Change text for uniformity.
(process_debug_info): Likewise.
(display_debug_aranges): Likewise. Indent address output.
(display_debug_pubnames): Print offset in hex.
* binutils-all/objdump.W: Update.
* gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d,
gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d,
gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d,
gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d,
gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d,
gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d,
gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf
change.
* ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
ld-mips-elf/eh-frame4.d: Update for readelf change.
2008-10-06 16:27:35 +00:00
|
|
|
|
2008-10-06 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_debug_frames): Change text for uniformity.
|
|
|
|
|
(process_debug_info): Likewise.
|
|
|
|
|
(display_debug_aranges): Likewise. Indent address output.
|
|
|
|
|
(display_debug_pubnames): Print offset in hex.
|
|
|
|
|
|
2008-10-02 17:10:01 +00:00
|
|
|
|
2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
|
|
|
|
|
|
|
|
|
|
PR 6934
|
|
|
|
|
* stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
|
|
|
|
|
generated by the SUNPro C++ compiler.
|
|
|
|
|
|
2008-09-30 12:19:51 +00:00
|
|
|
|
2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
|
|
|
|
|
|
|
|
|
|
PR 6922
|
|
|
|
|
* stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
|
|
|
|
|
'b' and 'v' extensions.
|
|
|
|
|
|
2008-09-29 15:34:33 +00:00
|
|
|
|
2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
|
|
|
|
|
Steve Ellcey <sje@cup.hp.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate for new libtool.
|
|
|
|
|
* aclocal.m4: Ditto.
|
|
|
|
|
* Makefile.in: Ditto.
|
|
|
|
|
* doc/Makefile.in: Ditto.
|
|
|
|
|
|
2008-09-28 13:29:18 +00:00
|
|
|
|
2008-09-28 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (setup_section): Set elf_group_id.
|
|
|
|
|
|
2008-09-24 23:21:04 +00:00
|
|
|
|
2008-09-24 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
|
|
|
|
|
(decode_location_expression): Add section parameter. Handle
|
|
|
|
|
DW_OP_GNU_encoded_addr.
|
|
|
|
|
(read_and_display_attr_value): Update decode_location_expression call.
|
|
|
|
|
(display_debug_loc, display_debug_frames): Likewise.
|
|
|
|
|
|
2008-09-24 14:37:35 +00:00
|
|
|
|
2008-09-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 6913
|
|
|
|
|
* dwarf.c (print_dwarf_vma): Don't call printf without format string.
|
|
|
|
|
|
2008-09-17 07:50:29 +00:00
|
|
|
|
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Suppress warnings on NONE relocations to discarded sections.
|
|
|
|
|
* readelf.c (is_none_reloc): New function.
|
|
|
|
|
(debug_apply_relocations): Ignore is_none_reloc() relocations.
|
|
|
|
|
|
2008-09-11 19:02:04 +00:00
|
|
|
|
2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix loading large elf64 binaries on 32bit hosts.
|
|
|
|
|
* configure.in: Call AC_SYS_LARGEFILE.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2008-09-11 09:06:55 +00:00
|
|
|
|
2008-09-11 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Update.
|
|
|
|
|
|
2008-09-08 12:44:32 +00:00
|
|
|
|
2008-09-08 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* BRANCHES: Add 2.18 and 2.19 release branches.
|
|
|
|
|
|
2008-09-08 08:56:57 +00:00
|
|
|
|
2008-09-08 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add a marker for the 2.19 features.
|
|
|
|
|
|
2008-09-05 14:49:05 +00:00
|
|
|
|
2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (load_specific_debug_section): New function, from
|
|
|
|
|
load_debug_section.
|
|
|
|
|
(load_debug_section): Use load_specific_debug_section.
|
|
|
|
|
(display_debug_section): Use load_specific_debug_section. Check for
|
|
|
|
|
multiple sections with the same name.
|
|
|
|
|
|
2008-08-28 16:05:03 +00:00
|
|
|
|
2008-08-28 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (dump_stabs): Add sections for Darwin.
|
|
|
|
|
|
2008-08-25 04:38:13 +00:00
|
|
|
|
2008-08-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* sysdep.h: Include "binary-io.h".
|
|
|
|
|
(O_BINARY): Don't define here.
|
|
|
|
|
* bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
|
|
|
|
|
* strings.c: Likewise.
|
|
|
|
|
(main): Remove #ifdef SET_BINARY.
|
|
|
|
|
* Makefile.am: Run "make dep-am"
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2008-08-24 03:13:05 +00:00
|
|
|
|
2008-08-24 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.in: Update a number of obsolete autoconf macros.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
|
2008-08-21 19:38:58 +00:00
|
|
|
|
2008-08-21 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
|
|
|
|
|
(is_64bit_pcrel_reloc): New.
|
|
|
|
|
(debug_apply_relocations): Use it. Handle hppa pcrel bias.
|
|
|
|
|
|
2008-08-15 08:31:52 +00:00
|
|
|
|
2008-08-15 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 6526
|
|
|
|
|
* configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2008-08-09 13:05:11 +00:00
|
|
|
|
2008-08-09 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 6615
|
|
|
|
|
* rename.c (smart_rename): Punctuate error messages.
|
|
|
|
|
|
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
Maxim Kuvyrkov <maxim@codesourcery.com>
* elf32-mips.c (mips_vxworks_copy_howto_rela): Replace with...
(elf_mips_copy_howto): ...this howto. Clear the size fields.
(mips_vxworks_jump_slot_howto_rela): Replace with...
(elf_mips_jump_slot_howto): ...this howto.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS_COPY
and BFD_RELOC_MIPS_JUMP_SLOT.
(bfd_elf32_bfd_reloc_name_lookup): Handle "R_MIPS_COPY" and
"R_MIPS_JUMP_SLOT".
(mips_elf32_rtype_to_howto): Handle R_MIPS_COPY and R_MIPS_JUMP_SLOT.
(elf_backend_plt_readonly): Define.
(elf_backend_plt_sym_val): Define for non-VxWorks targets.
(mips_vxworks_bfd_reloc_type_lookup): Delete.
(mips_vxworks_bfd_reloc_name_lookup): Likewise.
(mips_vxworks_rtype_to_howto): Likewise.
(elf_backend_want_dynbss): Don't define for VxWorks.
(elf_backend_plt_readonly): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(bfd_elf32_bfd_reloc_name_lookup): Likewise.
(elf_backend_mips_rtype_to_howto): Likewise.
(elf_backend_adjust_dynamic_symbol): Likewise.
(elf_backend_got_symbol_offset): Don't define.
* elfn32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): New.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS_COPY
and BFD_RELOC_MIPS_JUMP_SLOT.
(bfd_elf32_bfd_reloc_name_lookup): Handle "R_MIPS_COPY" and
"R_MIPS_JUMP_SLOT".
(mips_elf32_n32_rtype_to_howto): Handle R_MIPS_COPY and
R_MIPS_JUMP_SLOT.
(elf_backend_rela_plts_and_copies_p, elf_backend_plt_readonly)
(elf_backend_plt_sym_val): Define.
* elf64-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): New.
(bfd_elf64_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS_COPY
and BFD_RELOC_MIPS_JUMP_SLOT.
(bfd_elf64_bfd_reloc_name_lookup): Handle "R_MIPS_COPY" and
"R_MIPS_JUMP_SLOT".
(mips_elf64_rtype_to_howto): Handle R_MIPS_COPY and R_MIPS_JUMP_SLOT.
(elf_backend_rela_plts_and_copies_p, elf_backend_plt_readonly)
(elf_backend_plt_sym_val): Define.
* elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Delete.
(_bfd_mips_elf_use_plts_and_copy_relocs, _bfd_mips_elf_init_stubs)
(_bfd_mips_elf_plt_sym_val, _bfd_mips_post_process_headers): Declare.
* elfxx-mips.c (mips_elf_la25_stub): New structure.
(LA25_LUI, LA25_J, LA25_ADDIU): New macros.
(mips_elf_link_hash_entry): Add "la25_stubs", "has_static_relocs"
and "has_nonpic_branches" fields. Remove "is_relocation_target" and
"is_branch_target".
(mips_elf_link_hash_table): Add blank lines. Add
"use_plts_and_copy_relocs", "reserved_gotno", "strampoline",
"la25_stubs" and "add_stub_section" fields.
(mips_htab_traverse_info): New structure.
(PIC_OBJECT_P, MIPS_ELF_LOAD_WORD): New macros.
(MIPS_RESERVED_GOTNO): Delete.
(mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry)
(mips_n64_exec_plt0_entry, mips_exec_plt_entry): New tables.
(mips_elf_link_hash_newfunc): Update after the changes to
mips_elf_link_hash_entry.
(mips_elf_check_mips16_stubs): Replace the DATA parameter with
an INFO parameter. Don't look through warnings symbols here;
do it in mips_elf_check_symbols instead.
(mips_elf_create_stub_symbol): New function.
(mips_elf_la25_stub_hash, mips_elf_la25_stub_eq): New functions.
(_bfd_mips_elf_init_stubs, mips_elf_local_pic_function_p): Likewise.
(mips_elf_add_la25_intro, mips_elf_add_la25_trampoline): Likewise.
(mips_elf_add_la25_stub, mips_elf_check_symbols): New functions.
(mips_elf_gotplt_index): Check for VxWorks.
(mips_elf_output_dynamic_relocation): Take the relocation index
as an extra parameter. Do not increment reloc_count here.
(mips_elf_initialize_tls_slots): Update the calls to
mips_elf_output_dynamic_relocation accordingly.
(mips_elf_multi_got): Use htab->reserved_gotno instead of
MIPS_RESERVED_GOTNO.
(mips_elf_create_got_section): Don't allocate reserved GOT
entries here. Unconditionally create .got.plt, but don't
set its alignment here.
(mips_elf_relocation_needs_la25_stub): New function.
(mips_elf_calculate_relocation): Redirect branches and jumps to
a non-PIC stub if one exists. Check !h->has_static_relocs instead
of !htab->is_vxworks when deciding whether to create dynamic
relocations for R_MIPS_32, R_MIPS_REL32 and R_MIPS_64.
(_bfd_mips_elf_create_dynamic_sections): Unconditionally call
_bfd_elf_create_dynamic_sections. Unconditionally set up
htab->splt and htab->sdynbss. Set htab->srelplt to ".rel.plt"
if !htab->is_vxworks. Add non-VxWorks values of
htab->plt_header_size and htab->plt_entry_size.
(_bfd_mips_elf_check_relocs): Set pointer_equality_needed for
non-branch static relocations. Set has_nonpic_branches when an la25
stub might be required. Set can_make_dynamic_p to TRUE if R_MIPS_32,
R_MIPS_REL32 and R_MIPS_64 relocations can be made dynamic,
rather than duplicating the condition. Do not make them dynamic
for read-only sections in non-PIC executable objects.
Do not protect this code with dynobj == NULL || htab->sgot == NULL;
handle each group of cases separately. Add a default case that
sets has_static_relocs for non-GOT relocations that cannot be
made dynamic. Don't set is_relocation_target and is_branch_target.
Reject non-PIC static relocations in shared objects.
(_bfd_mips_vxworks_adjust_dynamic_symbol): Fold into...
(_bfd_mips_elf_adjust_dynamic_symbol): ...here, using
htab->use_plts_and_copy_relocs instead of htab->is_vxworks
to select PLT and copy-reloc handling. Set the alignment of
.plt and .got.plt when allocating the first entry. Generalize
code to handle REL as well as RELA sections and 64-bit as well as
32-bit GOT entries. Complain if we find a static-only reloc
against an externally-defined symbol and if we cannot create
dynamic relocations for it. Allocate copy relocs using
mips_elf_allocate_dynamic_relocations on non-VxWorks targets.
Set possibly_dynamic_relocs to 0 when using PLTs or copy relocs.
Skip reserved .got.plt entries.
(_bfd_mips_elf_always_size_sections): Use mips_elf_check_symbols
instead of mips_elf_check_mips16_stubs to process each symbol.
Do the traversal for relocatable objects too.
(mips_elf_lay_out_got): Use htab->reserved_gotno instead of
MIPS_RESERVED_GOTNO.
(_bfd_mips_elf_size_dynamic_sections): Exclude sdynbss if it
is empty. Extend the DT_PLTREL, DT_JMPREL and DT_PLTRELSZ handling
to non-VxWorks targets. Only add DT_REL{,A}, DT_REL{,A}SZ and
DT_REL{,A}ENT if .rel.dyn is nonempty. Create a symbol for the
PLT. Allocate a nop at the end of the PLT. Allocate DT_MIPS_PLTGOT.
(mips_elf_create_la25_stub_info): New function.
(_bfd_mips_elf_finish_dynamic_symbol): Write out PLT entries
and copy relocs where necessary. Check pointer_equality_needed.
(mips_finish_exec_plt): New function.
(_bfd_mips_elf_finish_dynamic_sections): Always set DT_PLTGOT
to the beginning of htab->sgot. Use htab->reserved_gotno instead
of MIPS_RESERVED_GOTNO. Assert htab->use_plts_and_copy_relocs
instead of htab->is_vxworks for DT_PLTREL, DT_PLTRELSZ and DT_JMPREL.
Set DT_PLTREL to DT_REL instead of DT_RELA on non-VxWorks targets.
Use mips_finish_exec_plt to create non-VxWorks PLT headers. Set
DT_MIPS_PLTGOT.
(_bfd_mips_elf_copy_indirect_symbol): Copy has_static_relocs
from the indirect symbol to the direct symbol. Also copy
has_nonpic_branches for indirect symbols.
(_bfd_mips_elf_get_target_dtag): Handle DT_MIPS_PLTGOT and
DT_MIPS_RWPLT.
(_bfd_mips_elf_link_hash_table_create): Initialize the new
mips_elf_link_hash_table fields.
(_bfd_mips_vxworks_link_hash_table_create): Set
use_plts_and_copy_relocs to TRUE. Use TRUE rather than 1
when setting is_vxworks.
(_bfd_mips_elf_use_plts_and_copy_relocs): New function.
(_bfd_mips_elf_final_link): Call mips_elf_create_la25_stub for
each la25_stub.
(_bfd_mips_elf_merge_private_bfd_data): Treat dynamic objects
as PIC. Generalize message about linking PIC and non-PIC.
(_bfd_mips_elf_plt_sym_val, _bfd_mips_post_process_headers): New
functions.
* reloc.c: Update comment near BFD_RELOC_MIPS_JUMP_SLOT.
* bfd-in2.h: Regenerated.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
* readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
STO_MIPS_PIC.
(slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
(dump_relocations, debug_apply_relocations): Don't handle it here.
(get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
(print_mips_pltgot_entry): New function.
(process_mips_specific): Dump the PLT GOT.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
* config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
(OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
(OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
(OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
(md_longopts): Add -call_nonpic.
(md_parse_option): Handle OPTION_CALL_NONPIC.
(md_show_usage): Add -call_nonpic.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
* gas/mips/call-nonpic-1.s, gas/mips/call-nonpic-1.d: New test.
* gas/mips/mips.exp: Run it.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
* mips.h (STO_MIPS_PLT, ELF_ST_IS_MIPS_PLT, ELF_ST_SET_MIPS_PLT)
(STO_MIPS_PIC, DT_MIPS_PLTGOT, DT_MIPS_RWPLT): New macros.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
* emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
(OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
two variables.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
(is_mips_elf): New macro.
(stub_file, stub_bfd): New variables.
(hook_stub_info): New structure.
(hook_in_stub): New function.
(mips_add_stub_section): Likewise.
(mips_create_output_section_statements): Likewise.
(mips_before_allocation): Likewise.
(real_func): New variable.
(mips_for_each_input_file_wrapper): New function.
(mips_lang_for_each_input_file): Likewise.
(lang_for_each_input_file): Define.
(LDEMUL_BEFORE_ALLOCATION): Likewise.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
* ld-mips-elf/mips16-pic-3a.s,
ld-mips-elf/mips16-pic-3b.s,
ld-mips-elf/mips16-pic-3.dd,
ld-mips-elf/mips16-pic-3.gd,
ld-mips-elf/mips16-pic-3.rd,
ld-mips-elf/mips16-pic-3.inc,
ld-mips-elf/pic-and-nonpic-1a.s,
ld-mips-elf/pic-and-nonpic-1b.s,
ld-mips-elf/pic-and-nonpic-1.ld,
ld-mips-elf/pic-and-nonpic-1.dd,
ld-mips-elf/pic-and-nonpic-1.nd,
ld-mips-elf/pic-and-nonpic-1-rel.dd,
ld-mips-elf/pic-and-nonpic-1-rel.nd,
ld-mips-elf/pic-and-nonpic-2a.s,
ld-mips-elf/pic-and-nonpic-2b.s,
ld-mips-elf/pic-and-nonpic-2.d,
ld-mips-elf/pic-and-nonpic-3a.s,
ld-mips-elf/pic-and-nonpic-3a.ld,
ld-mips-elf/pic-and-nonpic-3a.dd,
ld-mips-elf/pic-and-nonpic-3a.gd,
ld-mips-elf/pic-and-nonpic-3a.sd,
ld-mips-elf/pic-and-nonpic-3b.s,
ld-mips-elf/pic-and-nonpic-3b.ld,
ld-mips-elf/pic-and-nonpic-3b.ad,
ld-mips-elf/pic-and-nonpic-3b.dd,
ld-mips-elf/pic-and-nonpic-3b.gd,
ld-mips-elf/pic-and-nonpic-3b.nd,
ld-mips-elf/pic-and-nonpic-3b.pd,
ld-mips-elf/pic-and-nonpic-3b.rd,
ld-mips-elf/pic-and-nonpic-3b.sd,
ld-mips-elf/pic-and-nonpic-3-error.d,
ld-mips-elf/pic-and-nonpic-4a.s,
ld-mips-elf/pic-and-nonpic-4b.s,
ld-mips-elf/pic-and-nonpic-4b.ld,
ld-mips-elf/pic-and-nonpic-4b.ad,
ld-mips-elf/pic-and-nonpic-4b.dd,
ld-mips-elf/pic-and-nonpic-4b.gd,
ld-mips-elf/pic-and-nonpic-4b.nd,
ld-mips-elf/pic-and-nonpic-4b.rd,
ld-mips-elf/pic-and-nonpic-4b.sd,
ld-mips-elf/pic-and-nonpic-4-error.d,
ld-mips-elf/pic-and-nonpic-5a.s,
ld-mips-elf/pic-and-nonpic-5b.s,
ld-mips-elf/pic-and-nonpic-5b.ld,
ld-mips-elf/pic-and-nonpic-5b.ad,
ld-mips-elf/pic-and-nonpic-5b.dd,
ld-mips-elf/pic-and-nonpic-5b.gd,
ld-mips-elf/pic-and-nonpic-5b.nd,
ld-mips-elf/pic-and-nonpic-5b.rd,
ld-mips-elf/pic-and-nonpic-5b.sd,
ld-mips-elf/pic-and-nonpic-5b.pd,
ld-mips-elf/pic-and-nonpic-6.ld,
ld-mips-elf/pic-and-nonpic-6-o32a.s,
ld-mips-elf/pic-and-nonpic-6-o32b.s,
ld-mips-elf/pic-and-nonpic-6-o32c.s,
ld-mips-elf/pic-and-nonpic-6-o32.ad,
ld-mips-elf/pic-and-nonpic-6-o32.dd,
ld-mips-elf/pic-and-nonpic-6-o32.gd,
ld-mips-elf/pic-and-nonpic-6-o32.nd,
ld-mips-elf/pic-and-nonpic-6-o32.pd,
ld-mips-elf/pic-and-nonpic-6-o32.rd,
ld-mips-elf/pic-and-nonpic-6-o32.sd,
ld-mips-elf/pic-and-nonpic-6-n32a.s,
ld-mips-elf/pic-and-nonpic-6-n32b.s,
ld-mips-elf/pic-and-nonpic-6-n32c.s,
ld-mips-elf/pic-and-nonpic-6-n32.ad,
ld-mips-elf/pic-and-nonpic-6-n32.dd,
ld-mips-elf/pic-and-nonpic-6-n32.gd,
ld-mips-elf/pic-and-nonpic-6-n32.nd,
ld-mips-elf/pic-and-nonpic-6-n32.pd,
ld-mips-elf/pic-and-nonpic-6-n32.rd,
ld-mips-elf/pic-and-nonpic-6-n32.sd,
ld-mips-elf/pic-and-nonpic-6-n64a.s,
ld-mips-elf/pic-and-nonpic-6-n64b.s,
ld-mips-elf/pic-and-nonpic-6-n64c.s,
ld-mips-elf/pic-and-nonpic-6-n64.ad,
ld-mips-elf/pic-and-nonpic-6-n64.dd,
ld-mips-elf/pic-and-nonpic-6-n64.gd,
ld-mips-elf/pic-and-nonpic-6-n64.nd,
ld-mips-elf/pic-and-nonpic-6-n64.pd,
ld-mips-elf/pic-and-nonpic-6-n64.rd,
ld-mips-elf/pic-and-nonpic-6-n64.sd: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
2008-08-08 19:24:49 +00:00
|
|
|
|
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
Mark Shinwell <shinwell@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
|
|
|
|
|
STO_MIPS_PIC.
|
|
|
|
|
(slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
|
|
|
|
|
(dump_relocations, debug_apply_relocations): Don't handle it here.
|
|
|
|
|
(get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
|
|
|
|
|
(print_mips_pltgot_entry): New function.
|
|
|
|
|
(process_mips_specific): Dump the PLT GOT.
|
|
|
|
|
|
2008-08-08 08:08:33 +00:00
|
|
|
|
2008-08-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
|
|
|
|
|
|
2008-08-06 00:42:17 +00:00
|
|
|
|
2008-08-06 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2008-08-06 00:45:10 +00:00
|
|
|
|
PR 6774
|
2008-08-06 00:42:17 +00:00
|
|
|
|
* objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
|
|
|
|
|
(setup_section): Don't zero vma and lma when extract_symbol.
|
|
|
|
|
(copy_section): Discard relocations when extract_symbol.
|
|
|
|
|
* doc/binutils.texi: Update --extract-symbol description.
|
|
|
|
|
|
2008-08-04 06:55:33 +00:00
|
|
|
|
2008-08-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (POTFILES.in): Set LC_ALL=C.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2008-08-03 23:23:26 +00:00
|
|
|
|
2008-08-04 Markus Weiss <weissms@aros.org>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
|
|
|
|
|
|
2008-08-01 14:21:30 +00:00
|
|
|
|
2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (dwarf_regnames_i386): Remove AVX registers.
|
|
|
|
|
(dwarf_regnames_x86_64): Likewise.
|
|
|
|
|
|
2008-07-30 04:34:58 +00:00
|
|
|
|
2008-07-30 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
|
|
|
|
|
windmc.c: Silence gcc warnings.
|
|
|
|
|
|
2008-07-28 04:14:40 +00:00
|
|
|
|
2008-07-28 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_vma): Typo fix.
|
|
|
|
|
|
2008-07-28 04:07:32 +00:00
|
|
|
|
2008-07-28 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 6769
|
|
|
|
|
* readelf.c (print_dec_vma, print_hex_vma): Delete.
|
|
|
|
|
(print_vma): Use BFD_VMA_FMT.
|
|
|
|
|
* size.c (size_number, rprint_number): Likewise.
|
|
|
|
|
|
2008-07-26 14:30:39 +00:00
|
|
|
|
2008-07-26 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (display_power_gnu_attribute): Display
|
|
|
|
|
single-precision hard float.
|
|
|
|
|
|
2008-07-21 05:33:37 +00:00
|
|
|
|
2008-07-21 Luis Machado <luisgpm@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_note_type): Handle VSX notes.
|
|
|
|
|
|
2008-07-15 18:48:34 +00:00
|
|
|
|
2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (load_debug_section): Initialize section_is_compressed
|
|
|
|
|
for gcc 3.4/ia64.
|
|
|
|
|
* readelf.c (load_debug_section): Likewise.
|
|
|
|
|
|
2008-07-12 08:54:13 +00:00
|
|
|
|
2008-07-12 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2008-07-12 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
* readelf.c (get_machine_flags): Deal with Blackfin specific
|
|
|
|
|
flags.
|
|
|
|
|
|
2008-07-11 19:24:39 +00:00
|
|
|
|
2008-07-12 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Deal with Blackfin specific
|
|
|
|
|
flags.
|
|
|
|
|
|
2008-07-10 01:32:23 +00:00
|
|
|
|
2008-07-09 Craig Silverstein <csilvers@google.com>
|
|
|
|
|
|
|
|
|
|
* config.in: Add HAVE_ZLIB_H
|
|
|
|
|
* configure.in: Add test for libz and zlib.h
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* dwarf.c (debug_displays): Add .zdebug_* strings.
|
|
|
|
|
* dwarf.h (struct dwarf_section): Add fields uncompressed_namd
|
|
|
|
|
and compressed_name.
|
|
|
|
|
* objdump.c (load_debug_section): Call
|
|
|
|
|
bfd_uncompress_section_contents when loading a compressed
|
|
|
|
|
section.
|
|
|
|
|
(dump_dwarf_section): Recognize compressed section name.
|
|
|
|
|
(mach_o_dwarf_sections): Rename as
|
|
|
|
|
mach_o_uncompressed_dwarf_sections.
|
|
|
|
|
(mach_o_compressed_dwarf_sections): New variable.
|
|
|
|
|
(generic_dwarf_section): Rename as
|
|
|
|
|
generic_uncompressed_dwarf_sections.
|
|
|
|
|
(generic_compressed_dwarf_sections): New variable.
|
|
|
|
|
(check_mach_o_dwarf): Save and restore
|
|
|
|
|
mach_o_compressed_dwarf_sections.
|
|
|
|
|
* readelf.c: Add #include for config.h and zlib.h
|
|
|
|
|
(process_section_headers): Recognize compressed section name.
|
|
|
|
|
(uncompress_section_contents): New function.
|
|
|
|
|
(load_debug_section): Call uncompress_section_contents when
|
|
|
|
|
loading a compressed section.
|
|
|
|
|
(display_debug_section): Recognize compressed section name.
|
|
|
|
|
|
2008-07-07 04:37:53 +00:00
|
|
|
|
2008-07-07 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* objdump.c (find_symbol_for_address): Prefer symbols in current
|
|
|
|
|
section.
|
|
|
|
|
|
2008-07-07 00:44:41 +00:00
|
|
|
|
2008-07-07 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
|
|
|
|
|
* nlmconv.c (main, powerpc_build_stubs): Likewise.
|
|
|
|
|
* rescoff.c (write_coff_file): Likewise.
|
|
|
|
|
* resres.c (write_res_file): Likewise.
|
|
|
|
|
* windmc.c (windmc_write_bin): Likewise.
|
|
|
|
|
|
2008-06-18 11:00:49 +00:00
|
|
|
|
2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (guess_is_rela): Add EM_CR16_OLD.
|
|
|
|
|
(dump_relocations): Likewise.
|
|
|
|
|
(get_machine_name): Likewise.
|
|
|
|
|
(is_32bit_abs_reloc): Likewise.
|
|
|
|
|
|
2008-06-17 23:14:44 +00:00
|
|
|
|
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2008-06-12 19:49:48 +00:00
|
|
|
|
2008-06-12 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (guess_is_rela): Add EM_M32C_OLD.
|
|
|
|
|
(dump_relocations): Likewise.
|
|
|
|
|
(process_section_headers): Likewise.
|
|
|
|
|
(is_32bit_abs_reloc): Likewise.
|
|
|
|
|
(is_16bit_abs_reloc): Likewise.
|
|
|
|
|
|
2008-06-12 11:57:40 +00:00
|
|
|
|
2008-06-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/6483
|
|
|
|
|
* objdump.c (dump_bfd): If the -g option found no STABS or IEEE
|
|
|
|
|
debug information to display, try dumping DWARF information
|
|
|
|
|
instead.
|
|
|
|
|
* rddbg.c (read_debugging_info): Add a parameter to suppress the
|
|
|
|
|
display of a warning message when no debug information is found.
|
|
|
|
|
* budbg.h (read_debugging_info): Update prototype.
|
|
|
|
|
* objcopy.c (copy_object): Continue to allow read_debugging_info
|
|
|
|
|
to produce warning messages.
|
|
|
|
|
* doc/binutils.texi (--debugging): Document new behaviour of the
|
|
|
|
|
-g/--debugging option.
|
|
|
|
|
|
2008-06-10 08:16:54 +00:00
|
|
|
|
2008-06-10 Ben Elliston <bje@gnu.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Remove myself as m68k maintainer.
|
|
|
|
|
|
2008-05-14 06:45:42 +00:00
|
|
|
|
2008-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2008-05-12 12:23:13 +00:00
|
|
|
|
2008-05-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* embedspu.sh: Test for presence of ._ea by looking at section
|
|
|
|
|
table rather than looking at relocs. Correct toe_addr substitution.
|
|
|
|
|
|
2008-05-07 14:46:44 +00:00
|
|
|
|
2008-05-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
|
|
|
|
|
and if present, put image in ".data.speelf". Put program handle
|
|
|
|
|
in ".data.spehandle".
|
|
|
|
|
|
2008-05-01 14:34:51 +00:00
|
|
|
|
2008-05-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_symbol): Add code to display non-printing
|
|
|
|
|
characters.
|
|
|
|
|
|
2008-04-30 07:27:17 +00:00
|
|
|
|
2008-04-30 John Heidemann <johnh@isi.edu>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi (strings): Add "unicode" to the documentation
|
|
|
|
|
of strings in order to make explicit that it supports this
|
|
|
|
|
feature.
|
|
|
|
|
|
2008-04-30 02:09:48 +00:00
|
|
|
|
2008-04-30 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_program_headers): Correct section in segment
|
|
|
|
|
display.
|
|
|
|
|
|
2008-04-28 08:30:23 +00:00
|
|
|
|
2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/6449
|
|
|
|
|
* objdump.c (slurp_file): Open the file in binary mode.
|
|
|
|
|
* ar.c: Remove conditional definition of O_BINARY.
|
|
|
|
|
* bin2.c: Likewise.
|
|
|
|
|
* rename.c: Likewise.
|
|
|
|
|
* strings.c: Likewise.
|
|
|
|
|
* sysdep.h: Add conditional definition of O_BINARY.
|
|
|
|
|
|
2008-04-23 16:11:47 +00:00
|
|
|
|
2008-04-23 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2008-04-16 08:24:21 +00:00
|
|
|
|
2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
|
|
|
|
|
|
|
|
|
|
PR binutils/6034
|
|
|
|
|
* objcopy.c (stuct symlist): Rename to
|
|
|
|
|
is_specified_symbol_predicate_data.
|
|
|
|
|
(strip_specific_list): Rename to strip_specific_htab.
|
|
|
|
|
(strip_unneeded_list): Rename to strip_unneeded_htab.
|
|
|
|
|
(keep_specific_list): Rename to keep_specific_htab.
|
|
|
|
|
(localize_specific_list): Rename to localize_specific_htab.
|
|
|
|
|
(globalize_specific_list): Rename to globalize_specific_htab.
|
|
|
|
|
(keepglobal_specific_list): Rename to keepglobal_specific_htab.
|
|
|
|
|
(weaken_specific_list): Rename to weaken_specific_htab.
|
|
|
|
|
(eq_string): New function.
|
|
|
|
|
(create_symbol_htab): New function.
|
|
|
|
|
(create_symbol_htabs): New function.
|
|
|
|
|
(add_specific_symbol): Change to use hash tables.
|
|
|
|
|
(is_specified_symbol_predicate): New function.
|
|
|
|
|
(is_specified_symbol): Use hash table lookup.
|
|
|
|
|
(is_strip_section): Update to use new functions and hash tables.
|
|
|
|
|
(filter_symbols): Likewise.
|
|
|
|
|
(copy_object): Likewise.
|
|
|
|
|
(copy_section): Likewise.
|
|
|
|
|
(strip_main): Likewise.
|
|
|
|
|
(copy_main): Likewise.
|
|
|
|
|
(main): Likewise.
|
|
|
|
|
|
2008-04-15 04:11:45 +00:00
|
|
|
|
2008-04-14 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
|
|
|
|
|
|
2008-04-11 09:04:17 +00:00
|
|
|
|
2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_debug_lines): Rename to
|
|
|
|
|
display_debug_lines_raw.
|
|
|
|
|
(display_debug_lines_decoded): New function. Displays the
|
|
|
|
|
interpreted contents of a .debug_line section.
|
|
|
|
|
(display_debug_lines): New function: Selects either a raw dump or
|
|
|
|
|
a decoded dump (or both) as requested by the user.
|
|
|
|
|
* dwarf.h (do_debug_lines_decoded): New extern.
|
|
|
|
|
* readelf.c: Add support for -wL or --debug-dump=decodedline
|
|
|
|
|
option to display the decoded contents of a .debug_line section.
|
|
|
|
|
* doc/binutils.texi: Document the new option.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2008-04-08 05:53:28 +00:00
|
|
|
|
2008-04-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dwarf.c: Remove trailing whitespace throughout file.
|
|
|
|
|
|
2008-04-04 07:02:29 +00:00
|
|
|
|
2008-04-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sk.po: Updated Slovak translation.
|
|
|
|
|
|
binutils/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (dwarf_regnames_i386): Add AVX registers.
(dwarf_regnames_x86_64): Likewise.
gas/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
* doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
Document -msse2avx, .avx, .aes, .clmul and .fma.
* config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
(vex_prefix): Likewise.
(sse2avx): Likewise.
(CPU_FLAGS_ARCH_MATCH): Likewise.
(CPU_FLAGS_64BIT_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Likewise.
(CPU_FLAGS_PERFECT_MATCH): Likewise.
(regymm): Likewise.
(vex_imm4): Likewise.
(fits_in_imm4): Likewise.
(build_vex_prefix): Likewise.
(VEX_check_operands): Likewise.
(bad_implicit_operand): Likewise.
(OPTION_MSSE2AVX): Likewise.
(T_YMMWORD): Likewise.
(_i386_insn): Add vex.
(cpu_arch): Add .avx, .aes, .clmul and .fma.
(cpu_flags_match): Changed to take a pointer to const template.
Enable encoding SSE instructions with VEX prefix for -msse2avx.
(match_mem_size): Also check ymmword.
(operand_type_match): Clear ymmword.
(md_begin): Allow '_' in mnemonic.
(type_names): Add OPERAND_TYPE_VEX_IMM4.
(process_immext): Update assert.
(md_assemble): Don't call process_immext if sse2avx and immext
are true. Call build_vex_prefix if vex is true.
(parse_insn): Updated for cpu_flags_match.
(swap_operands): Handle 5 operands.
(match_template): Handle 5 operands. Updated for cpu_flags_match.
Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
(process_suffix): Handle YMMWORD_MNEM_SUFFIX.
(check_byte_reg): Check regymm.
(process_operands): Duplicate the destination register for
-msse2avx if needed.
(build_modrm_byte): Updated for instructions with VEX encoding.
(output_insn): Output VEX prefix if needed.
(md_longopts): Add msse2avx.
(md_parse_option): Handle OPTION_MSSE2AVX.
(md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
(intel_e09): Support YMMWORD.
(intel_e11): Likewise.
(intel_get_token): Likewise.
gas/testsuite/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run aes, aes-intel, x86-64-aes,
x86-64-aes-intel, avx, avx-intel, inval-avx, x86-64-avx,
x86-64-avx-intel and x86-64-inval-avx.
* gas/cfi/cfi-i386.s: Add tests for AVX register maps.
* gas/cfi/cfi-x86_64.s: Likewise.
* gas/i386/aes.d: New.
* gas/i386/aes.s: Likewise.
* gas/i386/aes-intel.d: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx.s: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/clmul.d: Likewise.
* gas/i386/clmul-intel.d: Likewise.
* gas/i386/clmul.s: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/i386/inval-avx.l: Likewise.
* gas/i386/inval-avx.s: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-aes.d: Likewise.
* gas/i386/x86-64-aes.s: Likewise.
* gas/i386/x86-64-aes-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-clmul.d: Likewise.
* gas/i386/x86-64-clmul-intel.d: Likewise.
* gas/i386/x86-64-clmul.s: Likewise.
* gas/i386/x86-64-inval-avx.l: Likewise.
* gas/i386/x86-64-inval-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.
* gas/i386/arch-10.s: Add tests for AVX, AES, CLMUL and FMA.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/rexw.s: Add AVX tests.
* gas/i386/x86-64-opcode-inval.s: Remove lds/les test.
* gas/cfi/cfi-i386.d: Updated.
* gas/cfi/cfi-x86_64.d: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/rexw.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-opcode-inval.d: Likewise.
* gas/i386/x86-64-opcode-inval-intel.d: Likewise.
include/opcode/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (MAX_OPERANDS): Set to 5.
(MAX_MNEM_SIZE): Changed to 20.
opcodes/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_register): New.
(OP_E_memory): Likewise.
(OP_VEX): Likewise.
(OP_EX_Vex): Likewise.
(OP_EX_VexW): Likewise.
(OP_XMM_Vex): Likewise.
(OP_XMM_VexW): Likewise.
(OP_REG_VexI4): Likewise.
(PCLMUL_Fixup): Likewise.
(VEXI4_Fixup): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(rex_original): Likewise.
(rex_ignored): Likewise.
(Mxmm): Likewise.
(XMM): Likewise.
(EXxmm): Likewise.
(EXxmmq): Likewise.
(EXymmq): Likewise.
(Vex): Likewise.
(Vex128): Likewise.
(Vex256): Likewise.
(VexI4): Likewise.
(EXdVex): Likewise.
(EXqVex): Likewise.
(EXVexW): Likewise.
(EXdVexW): Likewise.
(EXqVexW): Likewise.
(XMVex): Likewise.
(XMVexW): Likewise.
(XMVexI4): Likewise.
(PCLMUL): Likewise.
(VZERO): Likewise.
(VCMP): Likewise.
(VPERMIL2): Likewise.
(xmm_mode): Likewise.
(xmmq_mode): Likewise.
(ymmq_mode): Likewise.
(vex_mode): Likewise.
(vex128_mode): Likewise.
(vex256_mode): Likewise.
(USE_VEX_C4_TABLE): Likewise.
(USE_VEX_C5_TABLE): Likewise.
(USE_VEX_LEN_TABLE): Likewise.
(VEX_C4_TABLE): Likewise.
(VEX_C5_TABLE): Likewise.
(VEX_LEN_TABLE): Likewise.
(REG_VEX_XX): Likewise.
(MOD_VEX_XXX): Likewise.
(PREFIX_0F38DB..PREFIX_0F38DF): Likewise.
(PREFIX_0F3A44): Likewise.
(PREFIX_0F3ADF): Likewise.
(PREFIX_VEX_XXX): Likewise.
(VEX_OF): Likewise.
(VEX_OF38): Likewise.
(VEX_OF3A): Likewise.
(VEX_LEN_XXX): Likewise.
(vex): Likewise.
(need_vex): Likewise.
(need_vex_reg): Likewise.
(vex_i4_done): Likewise.
(vex_table): Likewise.
(vex_len_table): Likewise.
(OP_REG_VexI4): Likewise.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.
(m_mode): Updated.
(es_reg): Likewise.
(PREFIX_0F38F0): Likewise.
(PREFIX_0F3A60): Likewise.
(reg_table): Add REG_VEX_71...REG_VEX_73 and REG_VEX_AE.
(prefix_table): Add PREFIX_0F38DB..PREFIX_0F38DF, PREFIX_0F3ADF
and PREFIX_VEX_XXX entries.
(x86_64_table): Use VEX_C4_TABLE and VEX_C5_TABLE.
(three_byte_table): Use PREFIX_0F38DB..PREFIX_0F38DF and
PREFIX_0F3ADF.
(mod_table): Use VEX_C4_TABLE, VEX_C5_TABLE and VEX_LEN_TABLE.
Add MOD_VEX_XXX entries.
(ckprefix): Initialize rex_original and rex_ignored. Store the
REX byte in rex_original.
(get_valid_dis386): Handle the implicit prefix in VEX prefix
bytes and USE_VEX_LEN_TABLE/USE_VEX_C4_TABLE/USE_VEX_C5_TABLE.
(print_insn): Set need_vex/need_vex_reg/vex_i4_done to 0 before
calling get_valid_dis386. Use rex_original and rex_ignored when
printing out REX.
(putop): Handle "XY".
(intel_operand_size): Handle VEX, xmm_mode, xmmq_mode and
ymmq_mode.
(OP_E_extended): Updated to use OP_E_register and
OP_E_memory.
(OP_XMM): Handle VEX.
(OP_EX): Likewise.
(XMM_Fixup): Likewise.
(CMP_Fixup): Use ARRAY_SIZE.
* i386-gen.c (cpu_flag_init): Add CpuAES, CPU_CLMUL_FLAGS,
CPU_FMA_FLAGS and CPU_AVX_FLAGS.
(operand_type_init): Add OPERAND_TYPE_REGYMM and
OPERAND_TYPE_VEX_IMM4.
(cpu_flags): Add CpuAVX, CpuAES, CpuCLMUL and CpuFMA.
(opcode_modifiers): Add Implicit1stXmm0, Vex, Vex256, VexNDD,
VexNDS, VexW0, VexW1, Vex0F, Vex0F38, Vex0F3A, Vex3Sources,
VexImmExt and SSE2AVX.
(operand_types): Add RegYMM, Ymmword and Vex_Imm4.
* i386-opc.h (CpuAVX): New.
(CpuAES): Likewise.
(CpuCLMUL): Likewise.
(CpuFMA): Likewise.
(Vex): Likewise.
(Vex256): Likewise.
(VexNDS): Likewise.
(VexNDD): Likewise.
(VexW0): Likewise.
(VexW1): Likewise.
(Vex0F): Likewise.
(Vex0F38): Likewise.
(Vex0F3A): Likewise.
(Vex3Sources): Likewise.
(VexImmExt): Likewise.
(SSE2AVX): Likewise.
(RegYMM): Likewise.
(Ymmword): Likewise.
(Vex_Imm4): Likewise.
(Implicit1stXmm0): Likewise.
(CpuXsave): Updated.
(CpuLM): Likewise.
(ByteOkIntel): Likewise.
(OldGcc): Likewise.
(Control): Likewise.
(Unspecified): Likewise.
(OTMax): Likewise.
(i386_cpu_flags): Add cpuavx, cpuaes, cpuclmul and cpufma.
(i386_opcode_modifier): Add implicit1stxmm0, vex, vex256,
vexnds, vexndd, vexw0, vexw1, vex0f, vex0f38, vex0f3a,
vex3sources, veximmext and sse2avx.
(i386_operand_type): Add regymm, ymmword and vex_imm4.
* i386-opc.tbl: Add AES, CLMUL, AVX and FMA new instructions.
* i386-reg.tbl: Add AVX registers, ymm0..ymm15.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-04-03 14:03:21 +00:00
|
|
|
|
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (dwarf_regnames_i386): Add AVX registers.
|
|
|
|
|
(dwarf_regnames_x86_64): Likewise.
|
|
|
|
|
|
2008-03-28 06:49:44 +00:00
|
|
|
|
2008-03-27 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
binutils/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (dwarf_regnames_i386): Add AVX registers.
(dwarf_regnames_x86_64): Likewise.
gas/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
* doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
Document -msse2avx, .avx, .aes, .clmul and .fma.
* config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
(vex_prefix): Likewise.
(sse2avx): Likewise.
(CPU_FLAGS_ARCH_MATCH): Likewise.
(CPU_FLAGS_64BIT_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Likewise.
(CPU_FLAGS_PERFECT_MATCH): Likewise.
(regymm): Likewise.
(vex_imm4): Likewise.
(fits_in_imm4): Likewise.
(build_vex_prefix): Likewise.
(VEX_check_operands): Likewise.
(bad_implicit_operand): Likewise.
(OPTION_MSSE2AVX): Likewise.
(T_YMMWORD): Likewise.
(_i386_insn): Add vex.
(cpu_arch): Add .avx, .aes, .clmul and .fma.
(cpu_flags_match): Changed to take a pointer to const template.
Enable encoding SSE instructions with VEX prefix for -msse2avx.
(match_mem_size): Also check ymmword.
(operand_type_match): Clear ymmword.
(md_begin): Allow '_' in mnemonic.
(type_names): Add OPERAND_TYPE_VEX_IMM4.
(process_immext): Update assert.
(md_assemble): Don't call process_immext if sse2avx and immext
are true. Call build_vex_prefix if vex is true.
(parse_insn): Updated for cpu_flags_match.
(swap_operands): Handle 5 operands.
(match_template): Handle 5 operands. Updated for cpu_flags_match.
Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
(process_suffix): Handle YMMWORD_MNEM_SUFFIX.
(check_byte_reg): Check regymm.
(process_operands): Duplicate the destination register for
-msse2avx if needed.
(build_modrm_byte): Updated for instructions with VEX encoding.
(output_insn): Output VEX prefix if needed.
(md_longopts): Add msse2avx.
(md_parse_option): Handle OPTION_MSSE2AVX.
(md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
(intel_e09): Support YMMWORD.
(intel_e11): Likewise.
(intel_get_token): Likewise.
gas/testsuite/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run aes, aes-intel, x86-64-aes,
x86-64-aes-intel, avx, avx-intel, inval-avx, x86-64-avx,
x86-64-avx-intel and x86-64-inval-avx.
* gas/cfi/cfi-i386.s: Add tests for AVX register maps.
* gas/cfi/cfi-x86_64.s: Likewise.
* gas/i386/aes.d: New.
* gas/i386/aes.s: Likewise.
* gas/i386/aes-intel.d: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx.s: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/clmul.d: Likewise.
* gas/i386/clmul-intel.d: Likewise.
* gas/i386/clmul.s: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/i386/inval-avx.l: Likewise.
* gas/i386/inval-avx.s: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-aes.d: Likewise.
* gas/i386/x86-64-aes.s: Likewise.
* gas/i386/x86-64-aes-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-clmul.d: Likewise.
* gas/i386/x86-64-clmul-intel.d: Likewise.
* gas/i386/x86-64-clmul.s: Likewise.
* gas/i386/x86-64-inval-avx.l: Likewise.
* gas/i386/x86-64-inval-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.
* gas/i386/arch-10.s: Add tests for AVX, AES, CLMUL and FMA.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/rexw.s: Add AVX tests.
* gas/i386/x86-64-opcode-inval.s: Remove lds/les test.
* gas/cfi/cfi-i386.d: Updated.
* gas/cfi/cfi-x86_64.d: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/rexw.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-opcode-inval.d: Likewise.
* gas/i386/x86-64-opcode-inval-intel.d: Likewise.
include/opcode/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (MAX_OPERANDS): Set to 5.
(MAX_MNEM_SIZE): Changed to 20.
opcodes/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_register): New.
(OP_E_memory): Likewise.
(OP_VEX): Likewise.
(OP_EX_Vex): Likewise.
(OP_EX_VexW): Likewise.
(OP_XMM_Vex): Likewise.
(OP_XMM_VexW): Likewise.
(OP_REG_VexI4): Likewise.
(PCLMUL_Fixup): Likewise.
(VEXI4_Fixup): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(rex_original): Likewise.
(rex_ignored): Likewise.
(Mxmm): Likewise.
(XMM): Likewise.
(EXxmm): Likewise.
(EXxmmq): Likewise.
(EXymmq): Likewise.
(Vex): Likewise.
(Vex128): Likewise.
(Vex256): Likewise.
(VexI4): Likewise.
(EXdVex): Likewise.
(EXqVex): Likewise.
(EXVexW): Likewise.
(EXdVexW): Likewise.
(EXqVexW): Likewise.
(XMVex): Likewise.
(XMVexW): Likewise.
(XMVexI4): Likewise.
(PCLMUL): Likewise.
(VZERO): Likewise.
(VCMP): Likewise.
(VPERMIL2): Likewise.
(xmm_mode): Likewise.
(xmmq_mode): Likewise.
(ymmq_mode): Likewise.
(vex_mode): Likewise.
(vex128_mode): Likewise.
(vex256_mode): Likewise.
(USE_VEX_C4_TABLE): Likewise.
(USE_VEX_C5_TABLE): Likewise.
(USE_VEX_LEN_TABLE): Likewise.
(VEX_C4_TABLE): Likewise.
(VEX_C5_TABLE): Likewise.
(VEX_LEN_TABLE): Likewise.
(REG_VEX_XX): Likewise.
(MOD_VEX_XXX): Likewise.
(PREFIX_0F38DB..PREFIX_0F38DF): Likewise.
(PREFIX_0F3A44): Likewise.
(PREFIX_0F3ADF): Likewise.
(PREFIX_VEX_XXX): Likewise.
(VEX_OF): Likewise.
(VEX_OF38): Likewise.
(VEX_OF3A): Likewise.
(VEX_LEN_XXX): Likewise.
(vex): Likewise.
(need_vex): Likewise.
(need_vex_reg): Likewise.
(vex_i4_done): Likewise.
(vex_table): Likewise.
(vex_len_table): Likewise.
(OP_REG_VexI4): Likewise.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.
(m_mode): Updated.
(es_reg): Likewise.
(PREFIX_0F38F0): Likewise.
(PREFIX_0F3A60): Likewise.
(reg_table): Add REG_VEX_71...REG_VEX_73 and REG_VEX_AE.
(prefix_table): Add PREFIX_0F38DB..PREFIX_0F38DF, PREFIX_0F3ADF
and PREFIX_VEX_XXX entries.
(x86_64_table): Use VEX_C4_TABLE and VEX_C5_TABLE.
(three_byte_table): Use PREFIX_0F38DB..PREFIX_0F38DF and
PREFIX_0F3ADF.
(mod_table): Use VEX_C4_TABLE, VEX_C5_TABLE and VEX_LEN_TABLE.
Add MOD_VEX_XXX entries.
(ckprefix): Initialize rex_original and rex_ignored. Store the
REX byte in rex_original.
(get_valid_dis386): Handle the implicit prefix in VEX prefix
bytes and USE_VEX_LEN_TABLE/USE_VEX_C4_TABLE/USE_VEX_C5_TABLE.
(print_insn): Set need_vex/need_vex_reg/vex_i4_done to 0 before
calling get_valid_dis386. Use rex_original and rex_ignored when
printing out REX.
(putop): Handle "XY".
(intel_operand_size): Handle VEX, xmm_mode, xmmq_mode and
ymmq_mode.
(OP_E_extended): Updated to use OP_E_register and
OP_E_memory.
(OP_XMM): Handle VEX.
(OP_EX): Likewise.
(XMM_Fixup): Likewise.
(CMP_Fixup): Use ARRAY_SIZE.
* i386-gen.c (cpu_flag_init): Add CpuAES, CPU_CLMUL_FLAGS,
CPU_FMA_FLAGS and CPU_AVX_FLAGS.
(operand_type_init): Add OPERAND_TYPE_REGYMM and
OPERAND_TYPE_VEX_IMM4.
(cpu_flags): Add CpuAVX, CpuAES, CpuCLMUL and CpuFMA.
(opcode_modifiers): Add Implicit1stXmm0, Vex, Vex256, VexNDD,
VexNDS, VexW0, VexW1, Vex0F, Vex0F38, Vex0F3A, Vex3Sources,
VexImmExt and SSE2AVX.
(operand_types): Add RegYMM, Ymmword and Vex_Imm4.
* i386-opc.h (CpuAVX): New.
(CpuAES): Likewise.
(CpuCLMUL): Likewise.
(CpuFMA): Likewise.
(Vex): Likewise.
(Vex256): Likewise.
(VexNDS): Likewise.
(VexNDD): Likewise.
(VexW0): Likewise.
(VexW1): Likewise.
(Vex0F): Likewise.
(Vex0F38): Likewise.
(Vex0F3A): Likewise.
(Vex3Sources): Likewise.
(VexImmExt): Likewise.
(SSE2AVX): Likewise.
(RegYMM): Likewise.
(Ymmword): Likewise.
(Vex_Imm4): Likewise.
(Implicit1stXmm0): Likewise.
(CpuXsave): Updated.
(CpuLM): Likewise.
(ByteOkIntel): Likewise.
(OldGcc): Likewise.
(Control): Likewise.
(Unspecified): Likewise.
(OTMax): Likewise.
(i386_cpu_flags): Add cpuavx, cpuaes, cpuclmul and cpufma.
(i386_opcode_modifier): Add implicit1stxmm0, vex, vex256,
vexnds, vexndd, vexw0, vexw1, vex0f, vex0f38, vex0f3a,
vex3sources, veximmext and sse2avx.
(i386_operand_type): Add regymm, ymmword and vex_imm4.
* i386-opc.tbl: Add AES, CLMUL, AVX and FMA new instructions.
* i386-reg.tbl: Add AVX registers, ymm0..ymm15.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-04-03 14:03:21 +00:00
|
|
|
|
Add support for thin archives.
|
2008-03-28 06:49:44 +00:00
|
|
|
|
* ar.c (make_thin_archive): New global flag.
|
|
|
|
|
(map_over_members): Deal with full pathnames in thin archives.
|
|
|
|
|
(usage, main): Add 'T' option for building thin archives.
|
|
|
|
|
(replace_members): Pass thin archive flag to ar_emul_append.
|
|
|
|
|
* arsup.c (ar_open): Initialize new flag.
|
|
|
|
|
* binemul.c (ar_emul_append): Add new parameter for
|
|
|
|
|
flattening nested archives.
|
|
|
|
|
(do_ar_emul_default_append): New function.
|
|
|
|
|
(ar_emul_default_append): Factored out recursive code.
|
|
|
|
|
* binutils/binemul.h (ar_emul_default_append): Add new parameter.
|
|
|
|
|
(struct bin_emulation_xfer_struct): New parameter for ar_append.
|
|
|
|
|
* dlltool.c (gen_lib_file): Initialize thin archive flag.
|
|
|
|
|
* emul_aix.c (ar_emul_aix_internal): Add new flatten
|
|
|
|
|
parameter, currently unimplemented.
|
|
|
|
|
All callers changed.
|
|
|
|
|
* objcopy.c (copy_archive): Preserve thin archive flag.
|
|
|
|
|
* doc/binutils.texi: Update ar documentation.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2008-03-21 03:27:57 +00:00
|
|
|
|
2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_mips_specific): Declare addr_size as int.
|
|
|
|
|
|
2008-03-20 10:53:11 +00:00
|
|
|
|
2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_got_entry): New function.
|
|
|
|
|
(process_mips_specific): Print GOT information.
|
|
|
|
|
|
2008-03-17 22:17:33 +00:00
|
|
|
|
2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
|
* doc/Makefile.in: Likewise.
|
|
|
|
|
|
2008-03-16 07:26:56 +00:00
|
|
|
|
2008-03-16 Brian Dessent <brian@dessent.net>
|
|
|
|
|
|
|
|
|
|
* rcparse.y (resid): Allow control text to span multiple lines.
|
|
|
|
|
|
2008-03-13 05:27:42 +00:00
|
|
|
|
2008-03-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Use %u throughout when printing sh_link or sh_info,
|
|
|
|
|
%lu when printing sh_addralign.
|
|
|
|
|
(process_version_sections): Use identical formats when printing
|
|
|
|
|
all offset and sh_link fields.
|
|
|
|
|
|
2008-03-13 02:05:23 +00:00
|
|
|
|
2008-03-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
include/elf/
PR 5900
* common.h (SHN_BAD): Delete.
(SHN_LORESERVE .. SHN_HIRESERVE): Move to..
* external.h: ..here.
* internal.h (SHN_LORESERVE, SHN_HIRESERVE): Define.
(SHN_LOPROC, SHN_HIPROC, SHN_LOOS, SHN_HIOS): Define.
(SHN_ABS, SHN_COMMON, SHN_XINDEX, SHN_BAD): Define.
bfd/
PR 5900
* elf-bfd.h: Include elf/internal.h after elf/external.h.
* elfcode.h (elf_swap_symbol_in): Map reserved shndx range.
(elf_swap_symbol_out): Adjust SHN_XINDEX test.
(elf_swap_ehdr_out): Mask SHN_LORESERVE and SHN_XINDEX to values
seen in external structs.
(valid_section_index_p): Delete.
(elf_object_p): Don't increment section numbers over reserved range.
Simplify test for valid sh_link, sh_info and e_shstrndx fields.
(elf_write_shdrs_and_ehdr): Mask SHN_LORESERVE and SHN_XINDEX to values
seen in external structs. Don't increment section numbers over
reserved range.
* elf.c (bfd_elf_sym_name): Remove redundant tests on st_shndx.
(bfd_section_from_shdr): Likewise.
(group_signature): Range check before accessing elf_elfsections.
(_bfd_elf_setup_sections): Likewise.
(bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): Don't increment section number over
reserved sections.
(assign_file_positions_for_non_load_sections): Likewise.
(assign_file_positions_except_relocs): Likewise.
(_bfd_elf_write_object_contents): Likewise.
(assign_section_numbers): Likewise. Adjust for changed SHN_*.
(prep_headers): Delete unused variable.
* elflink.c (bfd_elf_link_record_local_dynamic_symbol): Adjust
for changed SHN_* values.
(check_dynsym, elf_link_input_bfd): Likewise.
(bfd_elf_final_link): Likewise. Don't skip over reserved section
range.
(elf_fixup_link_order): Check that sh_link field is valid.
* elf-hppa.h (elf_hppa_add_symbol_hook): Make "index" unsigned.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): Range check before
accesssing elf_elfsections.
* elf32-avr.c (elf32_avr_size_stubs): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Adjust for changed
SHN_* defines. Test for SHN_BAD return from
_bfd_elf_section_from_bfd_section
binutils/
PR 5900
* readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
Remove use throughout file.
(SECTION_HEADER): Likewise.
(dump_relocations): Don't adjust st_shndx for reserved range.
(process_file_header): Mask SHN_XINDEX to values seen in external
elf structs. Simplify valid section index tests.
(get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
Map reserved st_shndx to internal form.
(process_section_groups): Test that group symbol st_shndx is in
range, not just non-zero. Delete reserved range check.
(get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
OS or RSV.
gdb/
PR 5900
* elfread.c (elf_symtab_read): Make shndx an unsigned int.
* mipsread.c: Include elf/internal.h.
(read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
to internal range.
ld/testsuite/
PR 5900
* ld-elf/sec64k.exp: Update.
2008-03-12 08:37:09 +00:00
|
|
|
|
2008-03-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 5900
|
|
|
|
|
* readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
|
|
|
|
|
Remove use throughout file.
|
|
|
|
|
(SECTION_HEADER): Likewise.
|
|
|
|
|
(dump_relocations): Don't adjust st_shndx for reserved range.
|
|
|
|
|
(process_file_header): Mask SHN_XINDEX to values seen in external
|
|
|
|
|
elf structs. Simplify valid section index tests.
|
|
|
|
|
(get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
|
|
|
|
|
Map reserved st_shndx to internal form.
|
|
|
|
|
(process_section_groups): Test that group symbol st_shndx is in
|
|
|
|
|
range, not just non-zero. Delete reserved range check.
|
|
|
|
|
(get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
|
|
|
|
|
OS or RSV.
|
|
|
|
|
|
2008-03-09 13:23:29 +00:00
|
|
|
|
2008-03-09 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
|
|
|
|
|
|
2008-03-04 00:07:45 +00:00
|
|
|
|
2008-03-03 James E. Wilson <wilson@tuliptree.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2008-03-03 10:19:01 +00:00
|
|
|
|
2008-03-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (decode_location_expression): Handle
|
|
|
|
|
DW_OP_PGI_omp_thread_num.
|
|
|
|
|
|
2008-03-01 07:19:06 +00:00
|
|
|
|
2008-03-01 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* objdump.c (objdump_print_addr): Initialise "sym".
|
|
|
|
|
|
2008-02-27 10:56:20 +00:00
|
|
|
|
2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ar.c (usage): Mention -t command line switch.
|
|
|
|
|
* doc/binutils.texi (ranlib): Document -t command line switch.
|
|
|
|
|
|
2008-02-26 08:44:10 +00:00
|
|
|
|
2008-02-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (objdump_print_addr): If displaying file offsets, show
|
|
|
|
|
the offset even if there are no symbols available.
|
|
|
|
|
(dump_section): Display nothing if none of the section is going to
|
|
|
|
|
be dumped. Display the file offset, if requested, of the location
|
|
|
|
|
from where the dump starts.
|
|
|
|
|
* doc/binutils.texi (objdump): Mention that dumping via the -s
|
|
|
|
|
switch is also affected by the -F option.
|
|
|
|
|
|
2008-02-26 08:25:46 +00:00
|
|
|
|
2008-02-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
Re-apply this patch which was accidentally deleted:
|
|
|
|
|
2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi: Use "Binutils Index" for index name.
|
|
|
|
|
|
2008-02-22 09:42:58 +00:00
|
|
|
|
2008-02-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (display_file_offsets): New variable.
|
|
|
|
|
(long_options): Add -F/--file-offsets.
|
|
|
|
|
(objdump_print_addr_with_sym): If displaying file offsets, print
|
|
|
|
|
the offset of the given address.
|
|
|
|
|
(disassemble_bytes): If displaying file offsets, tell the user how
|
|
|
|
|
many zeroes are skipped and the file offset of the point where
|
|
|
|
|
dumping resumes.
|
|
|
|
|
(disassemble_section): Only display the name of the section if
|
|
|
|
|
data is going to be dumped from it.
|
|
|
|
|
(main): Handle new option. Produce error messages if the start or
|
|
|
|
|
stop addresses do not make sense.
|
|
|
|
|
* doc/binutils.texi: Document the new feature.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2008-02-15 10:24:27 +00:00
|
|
|
|
2008-02-15 Chu Li <chul@cn.fujitsu.com>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
2008-02-15 10:20:09 +00:00
|
|
|
|
|
|
|
|
|
PR binutils/5713
|
|
|
|
|
* strings.c (integer_arg): Delete function.
|
|
|
|
|
(string_min): Initialise to 4.
|
|
|
|
|
(main): Use strtoul to parse integer arguments.
|
|
|
|
|
Move check for an invalid string length to after all the arguments
|
|
|
|
|
have been parsed.
|
|
|
|
|
(usage): Use indentation to indicate that -<n> is a another form
|
|
|
|
|
of the --bytes= command line option.
|
|
|
|
|
|
2008-02-12 12:33:51 +00:00
|
|
|
|
2008-02-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
|
|
|
|
|
the argument.
|
|
|
|
|
(scan_obj_filename): Do not drop the const qualifier when calling
|
|
|
|
|
mcore_elf_cache_filename.
|
|
|
|
|
(struct fname_cache): Add const qualifier to filename field.
|
|
|
|
|
|
2008-02-08 20:58:18 +00:00
|
|
|
|
2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/5713
|
|
|
|
|
* strings.c (main): Set string_min to 4 if it is <= 0.
|
|
|
|
|
|
2008-02-07 08:39:54 +00:00
|
|
|
|
2008-02-07 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* objdump.c (main): Don't pass unadorned NULL to concat.
|
|
|
|
|
|
2008-02-04 19:43:51 +00:00
|
|
|
|
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR 5715
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2008-02-04 19:16:53 +00:00
|
|
|
|
2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Handle Octeon.
|
|
|
|
|
|
Add OpenVMS extensions.
* ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
(SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
(SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
(SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
(SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
(SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
(SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
(DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
(DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
(DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
(DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
(DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
(DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
(DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
(DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
(DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
(DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
(DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
(DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
(DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
(DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
(DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define
* readelf.c (dump_relocations): Decode OpenVMS-specific sections.
(get_ia64_dynamic_type): Decode OpenVMS-specific tags.
(get_dynamic_type): Handle IA64-specific tags.
(get_ia64_section_type_name): Handle OpenVMS-specific sections.
(get_section_type_name): Handle OS-specific sections (and
particularly IA64 OpenVMS one).
(get_elf_section_flags): Makes flags static. Add entries for IA64 and
decode them.
2008-01-30 10:37:43 +00:00
|
|
|
|
2008-01-30 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (dump_relocations): Decode OpenVMS-specific sections.
|
|
|
|
|
(get_ia64_dynamic_type): Decode OpenVMS-specific tags.
|
|
|
|
|
(get_dynamic_type): Handle IA64-specific tags.
|
|
|
|
|
(get_ia64_section_type_name): Handle OpenVMS-specific sections.
|
|
|
|
|
(get_section_type_name): Handle OS-specific sections (and
|
|
|
|
|
particularly IA64 OpenVMS one).
|
|
|
|
|
(get_elf_section_flags): Makes flags static. Add entries for IA64 and
|
|
|
|
|
decode them.
|
|
|
|
|
|
2008-01-29 15:45:00 +00:00
|
|
|
|
2008-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (print_dwarf_vma): New function. Display the value of a
|
2008-01-29 16:36:33 +00:00
|
|
|
|
dwarf_vma type at a specified precision. Use mingw field type
|
2008-01-29 16:38:36 +00:00
|
|
|
|
specifier if necessary.
|
2008-01-29 15:45:00 +00:00
|
|
|
|
(display_debug_loc): Use dwarf_vma type for begin and end values.
|
|
|
|
|
Use print_dwarf_vma to display their values. Use byte_get_signed
|
|
|
|
|
in order to correctly detect the -1 escape value.
|
|
|
|
|
(display_debug_aranges): Likewise.
|
|
|
|
|
(display_debug_ranges): Likewise.
|
|
|
|
|
|
2008-01-29 02:55:48 +00:00
|
|
|
|
2008-01-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_debug_loc): Correct test for base address
|
|
|
|
|
entry when 64-bit host dumping 32-bit object.
|
|
|
|
|
|
2008-01-29 01:39:28 +00:00
|
|
|
|
2008-01-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
|
|
|
|
|
|
2008-01-28 16:42:02 +00:00
|
|
|
|
2008-01-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/5529
|
|
|
|
|
* rclex.c (yylex): Also allow the hypen character.
|
|
|
|
|
|
2008-01-28 15:15:32 +00:00
|
|
|
|
2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c: Include "elf/common.h".
|
|
|
|
|
(eh_addr_size): Changed to int.
|
|
|
|
|
(dwarf_regnames_i386): New.
|
|
|
|
|
(dwarf_regnames_x86_64): Likewise.
|
|
|
|
|
(dwarf_regnames): Likewise.
|
|
|
|
|
(dwarf_regnames_count): Likewise.
|
|
|
|
|
(init_dwarf_regnames): Likewise.
|
|
|
|
|
(regname): Likewise.
|
|
|
|
|
(frame_display_row): Properly support different address size.
|
|
|
|
|
Call regname to get register name.
|
|
|
|
|
(display_debug_frames): Call regname to get register name.
|
|
|
|
|
Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
|
|
|
|
|
instead of DW_CFA_def_cfa_reg.
|
|
|
|
|
|
|
|
|
|
* dwarf.h (init_dwarf_regnames): New.
|
|
|
|
|
|
|
|
|
|
* objdump.c: Include "elf-bfd.h".
|
|
|
|
|
(dump_dwarf): Call init_dwarf_regnames on ELF input.
|
|
|
|
|
|
|
|
|
|
* readelf.c (guess_is_rela): Change argument to int.
|
|
|
|
|
(parse_args): Remove the undocumented upper case options for
|
|
|
|
|
-wX.
|
2008-01-28 15:57:02 +00:00
|
|
|
|
(process_file_header): Call init_dwarf_regnames.
|
2008-01-28 15:15:32 +00:00
|
|
|
|
|
2008-01-25 21:08:17 +00:00
|
|
|
|
2008-01-25 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_section_headers): Add m16c handler.
|
|
|
|
|
(is_16bit_abs_reloc): Recognize R_M32C_16.
|
|
|
|
|
|
2008-01-25 16:18:41 +00:00
|
|
|
|
2008-01-25 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* prdbg.c: Correct formatter style use.
|
|
|
|
|
* readelf.c: Likewise.
|
|
|
|
|
* strings.c: Likewise.
|
|
|
|
|
|
2008-01-25 11:18:27 +00:00
|
|
|
|
2008-01-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/ru.po: Updated Russian translation.
|
|
|
|
|
|
2008-01-17 23:48:20 +00:00
|
|
|
|
2008-01-17 H.J. Lu <hjl.tools@gmail.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2008-01-14 12:26:57 +00:00
|
|
|
|
2008-01-14 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (process_debug_info): Include the CU offset and corrupt
|
|
|
|
|
version value when reporting unrecognised DWARF version numbers.
|
|
|
|
|
(load_debug_info): Remember a failed attempt to load and parse the
|
|
|
|
|
.debug_info section and do not repeat such attempts.
|
|
|
|
|
(display_debug_lines): Check the return value from load_debug_info
|
|
|
|
|
and return whilst displaying a warning message if the load failed.
|
|
|
|
|
(display_debug_loc): Likewise.
|
|
|
|
|
(display_debug_ranges): Likewise.
|
2008-01-14 14:53:47 +00:00
|
|
|
|
(DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
|
|
|
|
|
when the .debug_info section could not be loaded/parsed.
|
|
|
|
|
(process_debug_info): Display the length of the compilation unit
|
|
|
|
|
in hex, so that it corresponds with the offsets that will follow.
|
|
|
|
|
Tell the user if the length was 32-bit or 64-bit.
|
|
|
|
|
If a DIE abbreviation could not be found, tell the user the offset
|
|
|
|
|
of the DIE.
|
|
|
|
|
(free_debug_memory): Do not attempt to free any entries in the
|
|
|
|
|
debug_information array if num_debug_info_entries is set to
|
|
|
|
|
DEBUG_INFO_UNAVAILABLE.
|
2008-01-14 12:26:57 +00:00
|
|
|
|
|
2008-01-10 13:09:36 +00:00
|
|
|
|
2008-01-10 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
|
|
|
|
|
|
2008-01-09 10:40:32 +00:00
|
|
|
|
2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
|
|
|
|
|
|
|
|
|
|
PR binutils/55326
|
|
|
|
|
* bucomm.c (list_supported_architectures): Free architecture list
|
|
|
|
|
after use.
|
|
|
|
|
* windres.c (set_endianess): Likewise.
|
|
|
|
|
* windmc.c (set_endianess): Likewise.
|
|
|
|
|
|
2008-01-08 09:10:47 +00:00
|
|
|
|
2008-01-08 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
2008-01-28 16:42:02 +00:00
|
|
|
|
PR binutils/5529
|
2008-01-08 09:10:47 +00:00
|
|
|
|
* binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
|
2008-01-28 16:42:02 +00:00
|
|
|
|
characters for name tokens.
|
2008-01-08 09:10:47 +00:00
|
|
|
|
|
2008-01-07 23:17:48 +00:00
|
|
|
|
2008-01-04 Greg McGary <greg@mcgary.org>
|
|
|
|
|
|
|
|
|
|
* prdbg.c (print_vma): Print as long long, if host supports it.
|
|
|
|
|
|
2008-01-04 09:53:41 +00:00
|
|
|
|
2008-01-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (read_and_display_attr_value): Prefix values that are
|
|
|
|
|
displayed in hexadecimal with 0x.
|
|
|
|
|
For the DW_AT_import attribute display the abbreviation number and
|
|
|
|
|
tag of the imported DIE.
|
|
|
|
|
(process_debug_info): Warn about lengths that reserved by the
|
|
|
|
|
DWARF3 specification.
|
|
|
|
|
Provide more information when corrupted DIEs are detected.
|
|
|
|
|
Warn if DIE corruption makes the sibling level negative.
|
|
|
|
|
|
2008-01-02 21:41:02 +00:00
|
|
|
|
For older changes see ChangeLog-2007
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|