2014-11-13 18:45:50 +08:00
|
|
|
|
2014-11-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* readelf.c (process_version_sections): If the read of the version
|
|
|
|
|
def information fails, make sure that the external verdef data is
|
|
|
|
|
not used.
|
|
|
|
|
(get_dynamic_data): Do not attempt to allocate memory for more
|
|
|
|
|
dynamic data than there is in the file. If the read fails, free
|
|
|
|
|
the allocated buffer.
|
|
|
|
|
(process_symbol_table): Do not print dynamic information if we
|
|
|
|
|
were unable to read the dynamic symbol table.
|
|
|
|
|
(print_gnu_note): Do not print the note if the descsz is too
|
|
|
|
|
small.
|
|
|
|
|
|
2014-11-13 06:39:58 +08:00
|
|
|
|
2014-11-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17512
|
|
|
|
|
* dwarf.c (read_and_display_attr_value): Check that we do not read
|
|
|
|
|
past end.
|
|
|
|
|
(display_debug_pubnames_worker): Add range checks.
|
|
|
|
|
(process_debug_info): Check for invalid pointer sizes.
|
|
|
|
|
(display_loc_list): Likewise.
|
|
|
|
|
(display_loc_list_dwo): Likewise.
|
|
|
|
|
(display_debug_ranges): Likewise.
|
|
|
|
|
(display_debug_aranges): Check for invalid address size.
|
|
|
|
|
(read_cie): Add range checks. Replace call strchr with while loop.
|
|
|
|
|
* objdump.c (dump_dwarf): Replace abort with a warning message.
|
|
|
|
|
(print_section_stabs): Improve range checks.
|
|
|
|
|
* rdcoff.c (coff_get_slot): Use long for indx parameter type.
|
|
|
|
|
Add check for an excesively large index.
|
|
|
|
|
* rddbg.c (read_section_stabs_debugging_info): Zero terminate the
|
|
|
|
|
string table. Avoid walking off the end of the stabs data.
|
|
|
|
|
* stabs.c (parse_stab_string): Add check for a NULL name.
|
|
|
|
|
|
2014-11-12 04:50:03 +08:00
|
|
|
|
2014-11-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* binutils/readelf.c (dynamic_nent): Change type to size_t.
|
|
|
|
|
(slurp_rela_relocs): Use size_t type for nrelas.
|
|
|
|
|
(slurp_rel_relocs): Likewise.
|
|
|
|
|
(get_program_headers): Improve out of memory error message.
|
|
|
|
|
(get_32bit_section_headers): Likewise.
|
|
|
|
|
(get_32bit_section_headers): Likewise.
|
|
|
|
|
(get_64bit_section_headers): Likewise.
|
|
|
|
|
(get_32bit_elf_symbols): Likewise.
|
|
|
|
|
(get_64bit_elf_symbols): Likewise.
|
|
|
|
|
(process_section_groups): Likewise.
|
|
|
|
|
(get_32bit_dynamic_section): Likewise.
|
|
|
|
|
(get_64bit_dynamic_section): Likewise.
|
|
|
|
|
(process_dynamic_section): Likewise.
|
|
|
|
|
(process_version_sections): Likewise.
|
|
|
|
|
(get_symbol_index_type): Likewise.
|
|
|
|
|
(process_mips_specific): Likewise.
|
|
|
|
|
(process_corefile_note_segment): Likewise.
|
|
|
|
|
(process_version_sections): Use size_t type for total.
|
|
|
|
|
(get_dynamic_data): Change type of number parameter to size_t.
|
|
|
|
|
Improve out of memory error messages.
|
|
|
|
|
(process_symbol_table): Change type of nbuckets and nchains to
|
|
|
|
|
size_t. Skip processing of sections headers if there are none.
|
|
|
|
|
Improve out of memory error messages.
|
|
|
|
|
|
2014-11-12 00:54:22 +08:00
|
|
|
|
2014-11-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2014-11-12 00:15:47 +08:00
|
|
|
|
2014-11-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* readelf.c (display_arm_attribute): Avoid reading off the end of
|
|
|
|
|
the buffer when processing a Tag_nodefaults.
|
|
|
|
|
|
2014-11-11 00:32:32 +08:00
|
|
|
|
2014-11-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* (ia64_process_unwind): Replace assertion with an error message.
|
|
|
|
|
Add range checking for group section indicies.
|
|
|
|
|
(hppa_process_unwind): Replace assertion with an error message.
|
|
|
|
|
(process_syminfo): Likewise.
|
|
|
|
|
(decode_arm_unwind_bytecode): Add range checking.
|
|
|
|
|
(dump_section_as_strings): Add more string range checking.
|
|
|
|
|
(display_tag_value): Likewise.
|
|
|
|
|
(display_arm_attribute): Likewise.
|
|
|
|
|
(display_gnu_attribute): Likewise.
|
|
|
|
|
(display_tic6x_attribute): Likewise.
|
|
|
|
|
(display_msp430x_attribute): Likewise.
|
|
|
|
|
|
2014-11-10 22:28:43 +08:00
|
|
|
|
2014-11-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17552
|
|
|
|
|
* (copy_archive): Clean up temporary files even if an error
|
|
|
|
|
occurs.
|
|
|
|
|
|
2014-11-08 05:41:02 +08:00
|
|
|
|
2014-11-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_dynamic_section): Cast time value to unsigned
|
|
|
|
|
long to print.
|
|
|
|
|
|
2014-11-07 21:39:45 +08:00
|
|
|
|
2014-11-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* readelf.c (get_data): Avoid allocating memory when we know that
|
|
|
|
|
the read will fail.
|
|
|
|
|
(find_section_by_type): New function.
|
|
|
|
|
(get_unwind_section_word): Check for invalid symbol indicies.
|
|
|
|
|
Check for invalid reloc types.
|
|
|
|
|
(get_32bit_dynamic_section): Add range checks.
|
|
|
|
|
(get_64bit_dynamic_section): Add range checks.
|
|
|
|
|
(process_dynamic_section): Check for a corrupt time value.
|
|
|
|
|
(process_symbol_table): Add range checks.
|
|
|
|
|
(dump_section_as_strings): Add string length range checks.
|
|
|
|
|
(display_tag_value): Likewise.
|
|
|
|
|
(display_arm_attribute): Likewise.
|
|
|
|
|
(display_gnu_attribute): Likewise.
|
|
|
|
|
(display_tic6x_attribute): Likewise.
|
|
|
|
|
(display_msp430x_attribute): Likewise.
|
|
|
|
|
(process_mips_specific): Add range check.
|
|
|
|
|
|
2014-11-06 22:49:10 +08:00
|
|
|
|
2014-11-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17552, binutils/17533
|
|
|
|
|
* bucomm.c (is_valid_archive_path): New function. Returns false
|
|
|
|
|
for absolute pathnames and pathnames that include /../.
|
|
|
|
|
* bucomm.h (is_valid_archive_path): Add prototype.
|
|
|
|
|
* ar.c (extract_file): Use new function to check for valid
|
|
|
|
|
pathnames when extracting files from an archive.
|
|
|
|
|
* objcopy.c (copy_archive): Likewise.
|
|
|
|
|
* doc/binutils.texi: Update documentation to mention the
|
|
|
|
|
limitation on pathname of archive members.
|
|
|
|
|
|
More fixes for reading corrupt ELF files.
PR binutils/15731
* readelf.c (printable_section_name): New function.
(printable_section_name_from_index): New function.
(dump_relocations): Use new function.
(process_program_headers, get_32bit_elf_symbols,
(get_64bit_elf_symbols, process_section_headers,
(process_section_groups, process_relocs, ia64_process_unwind,
(hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
(arm_process_unwind, process_version_sections,
(process_symbol_table, apply_relocations, get_section_contents,
(dump_section_as_strings, dump_section_as_bytes,
(display_debug_section, process_attributes, process_mips_specific,
(process_mips_specific process_gnu_liblist): Likewise.
(get_unwind_section_word): Check for a missing symbol table.
Replace aborts with error messages.
(arm_process_unwind): Check for a missing string table.
(process_attributes): Check for an attribute length that is too
small.
(process_mips_specific): Check for a corrupt GOT symbol offset.
2014-11-06 00:19:03 +08:00
|
|
|
|
2014-11-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2014-11-06 22:49:10 +08:00
|
|
|
|
PR binutils/17531
|
More fixes for reading corrupt ELF files.
PR binutils/15731
* readelf.c (printable_section_name): New function.
(printable_section_name_from_index): New function.
(dump_relocations): Use new function.
(process_program_headers, get_32bit_elf_symbols,
(get_64bit_elf_symbols, process_section_headers,
(process_section_groups, process_relocs, ia64_process_unwind,
(hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
(arm_process_unwind, process_version_sections,
(process_symbol_table, apply_relocations, get_section_contents,
(dump_section_as_strings, dump_section_as_bytes,
(display_debug_section, process_attributes, process_mips_specific,
(process_mips_specific process_gnu_liblist): Likewise.
(get_unwind_section_word): Check for a missing symbol table.
Replace aborts with error messages.
(arm_process_unwind): Check for a missing string table.
(process_attributes): Check for an attribute length that is too
small.
(process_mips_specific): Check for a corrupt GOT symbol offset.
2014-11-06 00:19:03 +08:00
|
|
|
|
* readelf.c (printable_section_name): New function.
|
|
|
|
|
(printable_section_name_from_index): New function.
|
|
|
|
|
(dump_relocations): Use new function.
|
|
|
|
|
(process_program_headers, get_32bit_elf_symbols,
|
|
|
|
|
(get_64bit_elf_symbols, process_section_headers,
|
|
|
|
|
(process_section_groups, process_relocs, ia64_process_unwind,
|
|
|
|
|
(hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
|
|
|
|
|
(arm_process_unwind, process_version_sections,
|
|
|
|
|
(process_symbol_table, apply_relocations, get_section_contents,
|
|
|
|
|
(dump_section_as_strings, dump_section_as_bytes,
|
|
|
|
|
(display_debug_section, process_attributes, process_mips_specific,
|
|
|
|
|
(process_mips_specific process_gnu_liblist): Likewise.
|
|
|
|
|
(get_unwind_section_word): Check for a missing symbol table.
|
|
|
|
|
Replace aborts with error messages.
|
|
|
|
|
(arm_process_unwind): Check for a missing string table.
|
|
|
|
|
(process_attributes): Check for an attribute length that is too
|
|
|
|
|
small.
|
|
|
|
|
(process_mips_specific): Check for a corrupt GOT symbol offset.
|
|
|
|
|
|
|
|
|
|
2014-11-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2014-11-06 22:49:10 +08:00
|
|
|
|
PR binutils/17533
|
More fixes for reading corrupt ELF files.
PR binutils/15731
* readelf.c (printable_section_name): New function.
(printable_section_name_from_index): New function.
(dump_relocations): Use new function.
(process_program_headers, get_32bit_elf_symbols,
(get_64bit_elf_symbols, process_section_headers,
(process_section_groups, process_relocs, ia64_process_unwind,
(hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
(arm_process_unwind, process_version_sections,
(process_symbol_table, apply_relocations, get_section_contents,
(dump_section_as_strings, dump_section_as_bytes,
(display_debug_section, process_attributes, process_mips_specific,
(process_mips_specific process_gnu_liblist): Likewise.
(get_unwind_section_word): Check for a missing symbol table.
Replace aborts with error messages.
(arm_process_unwind): Check for a missing string table.
(process_attributes): Check for an attribute length that is too
small.
(process_mips_specific): Check for a corrupt GOT symbol offset.
2014-11-06 00:19:03 +08:00
|
|
|
|
* bucomm.c (is_valid_archive_path): New function.
|
|
|
|
|
* bucomm.h (is_valid_archive_path): Prototype it.
|
|
|
|
|
* ar.c (extract_file): Call is_valid_archive_path to verify a
|
|
|
|
|
member filename before extracting it.
|
|
|
|
|
* objcopy.c (copy_archive): Likewise.
|
|
|
|
|
|
2014-11-05 17:08:37 +08:00
|
|
|
|
2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_mips_specific): Fix format string warning.
|
|
|
|
|
|
2014-11-05 07:40:22 +08:00
|
|
|
|
2014-11-04 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_mips_specific): Rename index to idx.
|
|
|
|
|
|
2014-11-04 19:58:16 +08:00
|
|
|
|
2014-11-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17531
|
|
|
|
|
* readelf.c (get_data): If the reason parameter is null, do not
|
|
|
|
|
print any error messages.
|
|
|
|
|
(get_32bit_section_headers): Verify section header entry size
|
|
|
|
|
before reading in the section headers.
|
|
|
|
|
(get_64bit_section_headers): Likewise.
|
|
|
|
|
(process_section_headers): Pass FALSE to get_section_headers.
|
|
|
|
|
(get_file_header): Pass TRUE to get_section_headers.
|
|
|
|
|
(process_dynamic_section): Change an assert to an error message.
|
|
|
|
|
(process_symbol_table): Handle corrupt histograms.
|
|
|
|
|
|
2014-11-04 23:29:03 +08:00
|
|
|
|
(get_32bit_program_headers): Verify program header entry size
|
|
|
|
|
before reading in the program headers.
|
|
|
|
|
(get_64bit_program_headers): Likewise.
|
|
|
|
|
(get_unwind_section_word): Do nothing if no section was provided.
|
|
|
|
|
Fail if the offset is outside of the section.
|
|
|
|
|
(print_dynamic_symbol): Catch out of range symbol indicies.
|
|
|
|
|
(process_mips_specific): Likewise.
|
|
|
|
|
(process_attributes): Make sure that there is enough space left in
|
|
|
|
|
the section before attempting to read the length of the next
|
|
|
|
|
attribute.
|
|
|
|
|
|
2014-11-04 01:44:00 +08:00
|
|
|
|
2014-11-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17512
|
|
|
|
|
* objdump.c (slurp_symtab): Fail gracefully if the table could not
|
|
|
|
|
be read.
|
|
|
|
|
(dump_relocs_in_section): Likewise.
|
|
|
|
|
|
2014-11-03 20:26:48 +08:00
|
|
|
|
2014-11-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fi.po: Updated Finnish translation.
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2014-11-01 10:34:00 +08:00
|
|
|
|
2014-11-01 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_32bit_elf_symbols): Cast error
|
|
|
|
|
parameters of bfd_size_type with the %lx format to
|
|
|
|
|
unsigned long.
|
|
|
|
|
|
MIPS: Add Octeon 3 support
binutils:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* readelf.c (print_mips_isa_ext): Print the value of Octeon3.
gas:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* config/tc-mips.c (CPU_IS_OCTEON): Handle CPU_OCTEON3.
(mips_cpu_info_table): Octeon3 enables virt ase.
* doc/c-mips.texi: Document octeon3 as an acceptable value for
-march=.
gas/testsuite:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* gas/mips/mips.exp: Add support for Octeon3 architecture.
Also add in support for running Octeon3 tests.
* gas/mips/octeon3.d: New test.
* gas/mips/octeon3.s: New test source.
opcodes:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* mips-dis.c (mips_arch_choices): Add octeon3.
* mips-opc.c (IOCT): Include INSN_OCTEON3.
(IOCT2): Likewise.
(IOCT3): New define.
(IVIRT): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbinv, tlbinvf, tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp, tlti
IVIRT instructions.
Extend mtm0, mtm1, mtm2, mtp0, mtp1, mtp2 instructions to take another
operand for IOCT3.
bfd:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* archures.c: Add octeon3 for mips target.
* bfd-in2.h: Regenerate.
* bfd/cpu-mips.c: Define I_mipsocteon3.
nfo_struct): Add octeon3 support.
* bfd/elfxx-mips.c: (_bfd_elf_mips_mach): Add support for
octeon3.
(mips_set_isa_flags): Add support for octeon3.
(bfd_mips_isa_ext): Add bfd_mach_mips_octeon3.
(mips_mach_extensions): Make bfd_mach_mips_octeon3 an
extension of bfd_mach_mips_octeon2.
(print_mips_isa_ext): Print the value of Octeon3.
2014-11-01 04:48:04 +08:00
|
|
|
|
2014-10-31 Andrew Pinski <apinski@cavium.com>
|
2014-11-05 17:08:37 +08:00
|
|
|
|
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
|
MIPS: Add Octeon 3 support
binutils:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* readelf.c (print_mips_isa_ext): Print the value of Octeon3.
gas:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* config/tc-mips.c (CPU_IS_OCTEON): Handle CPU_OCTEON3.
(mips_cpu_info_table): Octeon3 enables virt ase.
* doc/c-mips.texi: Document octeon3 as an acceptable value for
-march=.
gas/testsuite:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* gas/mips/mips.exp: Add support for Octeon3 architecture.
Also add in support for running Octeon3 tests.
* gas/mips/octeon3.d: New test.
* gas/mips/octeon3.s: New test source.
opcodes:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* mips-dis.c (mips_arch_choices): Add octeon3.
* mips-opc.c (IOCT): Include INSN_OCTEON3.
(IOCT2): Likewise.
(IOCT3): New define.
(IVIRT): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbinv, tlbinvf, tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp, tlti
IVIRT instructions.
Extend mtm0, mtm1, mtm2, mtp0, mtp1, mtp2 instructions to take another
operand for IOCT3.
bfd:
2014-10-31 Andrew Pinski <apinski@cavium.com>
Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* archures.c: Add octeon3 for mips target.
* bfd-in2.h: Regenerate.
* bfd/cpu-mips.c: Define I_mipsocteon3.
nfo_struct): Add octeon3 support.
* bfd/elfxx-mips.c: (_bfd_elf_mips_mach): Add support for
octeon3.
(mips_set_isa_flags): Add support for octeon3.
(bfd_mips_isa_ext): Add bfd_mach_mips_octeon3.
(mips_mach_extensions): Make bfd_mach_mips_octeon3 an
extension of bfd_mach_mips_octeon2.
(print_mips_isa_ext): Print the value of Octeon3.
2014-11-01 04:48:04 +08:00
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_isa_ext): Print the value of Octeon3.
|
|
|
|
|
|
2014-11-01 02:38:39 +08:00
|
|
|
|
2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
|
|
|
|
|
|
|
|
|
|
* cxxfilt.c (main): Add case for dlang_demangling style.
|
|
|
|
|
|
2014-11-01 00:36:31 +08:00
|
|
|
|
2014-10-31 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/17512
|
|
|
|
|
* readelf.c (process_program_headers): Avoid memory exhaustion due
|
|
|
|
|
to corrupt values in a dynamis segment header.
|
|
|
|
|
(get_32bit_elf_symbols): Do not attempt to read an over-large
|
|
|
|
|
section.
|
|
|
|
|
(get_64bit_elf_symbols): Likewise.
|
|
|
|
|
|
2014-10-31 18:19:53 +08:00
|
|
|
|
2014-10-31 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* strings.c: Add new command line option --data to only scan the
|
|
|
|
|
initialized, loadable data secions of binaries. Choose the
|
|
|
|
|
default behaviour of --all or --data based upon a configure
|
|
|
|
|
option.
|
|
|
|
|
* doc/binutils.texi (strings): Update documentation. Include
|
|
|
|
|
description of why the --data option might be unsafe.
|
|
|
|
|
* configure.ac: Add new option --disable-default-strings-all which
|
|
|
|
|
restores the old behaviour of strings using --data by default. If
|
|
|
|
|
the option is not used make strings use --all by default.
|
|
|
|
|
* NEWS: Mention the new behaviour of strings.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2014-10-30 17:53:56 +08:00
|
|
|
|
2014-10-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
|
|
|
|
|
there is a single string for translation.
|
|
|
|
|
(dynamic_section_mips_val): Likewise.
|
|
|
|
|
|
2014-10-30 00:34:04 +08:00
|
|
|
|
2014-10-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/bg.po: Updated Bulgarian translation.
|
|
|
|
|
* po/sr.po: New Serbian translation.
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2014-10-17 18:07:17 +08:00
|
|
|
|
2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (print_mips_ases): Print unknown ASEs.
|
|
|
|
|
(print_mips_isa_ext): Print the value of an unknown extension.
|
|
|
|
|
|
2014-10-15 16:21:25 +08:00
|
|
|
|
2014-10-15 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2014-10-14 15:49:47 +08:00
|
|
|
|
2014-10-14 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add marker for 2.25.
|
|
|
|
|
|
2014-10-14 11:06:20 +08:00
|
|
|
|
2014-10-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 17453
|
|
|
|
|
* dwarf.c (read_leb128): Avoid signed overflow.
|
|
|
|
|
(read_debug_line_header): Likewise.
|
|
|
|
|
|
2014-10-14 11:00:57 +08:00
|
|
|
|
2014-10-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 17453
|
|
|
|
|
* readelf.c (process_program_headers): Correct fscanf format used
|
|
|
|
|
for interpreter.
|
|
|
|
|
|
2014-10-09 20:16:53 +08:00
|
|
|
|
2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (display_sparc_hwcaps2): New function.
|
|
|
|
|
(display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
|
|
|
|
|
handling `Tag_GNU_Sparc_HWCAPS2' attributes.
|
|
|
|
|
|
2014-09-22 16:23:15 +08:00
|
|
|
|
2014-09-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 16563
|
|
|
|
|
* dwarf.c (GET): Remove semicolon.
|
|
|
|
|
(read_cie): New function, extracted from..
|
|
|
|
|
(display_debug_frames): ..here. Correctly handle signed offset
|
|
|
|
|
from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
|
|
|
|
|
|
2014-09-16 20:08:22 +08:00
|
|
|
|
2014-09-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (display_arm_attribute): Use unsigned int type for
|
|
|
|
|
tag, val and type variables.
|
|
|
|
|
|
2014-09-10 09:46:32 +08:00
|
|
|
|
2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
|
|
|
|
|
|
Add support for MIPS R6.
bfd/
* aoutx.h (NAME (aout, machine_type)): Add mips32r6 and mips64r6.
* archures.c (bfd_architecture): Likewise.
* bfd-in2.h (bfd_architecture): Likewise.
(bfd_reloc_code_real): Add relocs BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3 and
BFD_RELOC_MIPS_19_PCREL_S2.
* cpu-mips.c (arch_info_struct): Add mips32r6 and mips64r6.
* elf32-mips.c: Define relocs R_MIPS_PC21_S2, R_MIPS_PC26_S2
R_MIPS_PC18_S3, R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
(mips_reloc_map): Add entries for BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
* elf64-mips.c: Define REL, and RELA relocations R_MIPS_PC21_S2,
R_MIPS_PC26_S2, R_MIPS_PC18_S3, R_MIPS_PC19_S2, R_MIPS_PCHI16
and R_MIPS_PCLO16.
(mips_reloc_map): Add entries for BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
* elfn32-mips.c: Likewise.
* elfxx-mips.c (MIPSR6_P): New define.
(mipsr6_exec_plt_entry): New array.
(hi16_reloc_p): Add support for R_MIPS_PCHI16.
(lo16_reloc_p): Add support for R_MIPS_PCLO16.
(aligned_pcrel_reloc_p): New function.
(mips_elf_relocation_needs_la25_stub): Add support for relocs:
R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
(mips_elf_calculate_relocation): Add support for relocs:
R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3, R_MIPS_PC19_S2,
R_MIPS_PCHI16 and R_MIPS_PCLO16.
(_bfd_elf_mips_mach): Add support for mips32r6 and mips64r6.
(mips_elf_add_lo16_rel_addend): Add support for R_MIPS_PCHI16.
(_bfd_mips_elf_check_relocs): Add support for relocs:
R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
(_bfd_mips_elf_relocate_section): Add a check for unaligned
pc relative relocs.
(_bfd_mips_elf_finish_dynamic_symbol): Add support for MIPS r6
plt entry.
(mips_set_isa_flags): Add support for mips32r6 and mips64r6.
(_bfd_mips_elf_print_private_bfd_data): Likewise.
(mips_32bit_flags_p): Add support for mips32r6.
* libbfd.h (bfd_reloc_code_real_names): Add entries for
BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2,
BFD_RELOC_MIPS_18_PCREL_S3 and BFD_RELOC_MIPS_19_PCREL_S2.
* reloc.c: Document relocs BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3 and
BFD_RELOC_MIPS_19_PCREL_S2.
binutils/
* readelf.c (get_machine_flags): Add support for mips32r6 and
mips64r6.
elfcpp/
* mips.h (E_MIPS_ARCH_32R6, E_MIPS_ARCH_64R6): New enum constants.
gas/
* config/tc-mips.c (mips_nan2008): New static global.
(mips_flag_nan2008): Removed.
(LL_SC_FMT): New define.
(COP12_FMT): Updated.
(ISA_IS_R6): New define.
(ISA_HAS_64BIT_REGS): Add mips64r6.
(ISA_HAS_DROR): Likewise.
(ISA_HAS_64BIT_FPRS): Add mips32r6 and mips64r6.
(ISA_HAS_ROR): Likewise.
(ISA_HAS_ODD_SINGLE_FPR): Likewise.
(ISA_HAS_MXHC1): Likewise.
(hilo_interlocks): Likewise.
(md_longopts): Likewise.
(ISA_HAS_LEGACY_NAN): New define.
(options): Add OPTION_MIPS32R6 and OPTION_MIPS64R6.
(mips_ase): Add field rem_rev.
(mips_ases): Updated to add which ISA an ASE was removed in.
(mips_isa_rev): Add support for mips32r6 and mips64r6.
(mips_check_isa_supports_ase): Add support to check if an ASE
has been removed in the specified MIPS ISA revision.
(validate_mips_insn): Skip '-' character.
(macro_build): Likewise.
(mips_check_options): Prevent R6 working with fp32, mips16,
micromips, or branch relaxation.
(file_mips_check_options): Set R6 floating point registers to
64 bit. Also deal with the nan2008 option.
(limited_pcrel_reloc_p): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(operand_reg_mask): Add support for OP_SAME_RS_RT, OP_CHECK_PREV
and OP_NON_ZERO_REG.
(match_check_prev_operand): New static function.
(match_same_rs_rt_operand): New static function.
(match_non_zero_reg_operand): New static function.
(match_operand): Added entries for: OP_SAME_RS_RT, OP_CHECK_PREV
and OP_NON_ZERO_REG.
(insns_between): Added case to deal with forbidden slots.
(append_insn): Added support for relocs: BFD_RELOC_MIPS_21_PCREL_S2
and BFD_RELOC_MIPS_26_PCREL_S2.
(match_insn): Add support for operands -A, -B, +' and +". Also
skip '-' character.
(mips_percent_op): Add entries for %pcrel_hi and %pcrel_lo.
(md_parse_option): Add support for mips32r6 and mips64r6. Also
update the nan option handling.
(md_pcrel_from): Add cases for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2.
(mips_force_relocation): Prevent forced relaxation for MIPS r6.
(md_apply_fix): Add support for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(s_mipsset): Add support for mips32r6 and mips64r6.
(s_nan): Update to support the new nan2008 framework.
(tc_gen_reloc): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(mips_elf_final_processing): Updated to use the mips_nan2008.
(mips_cpu_info_table): Add entries for mips32r6 and mips64r6.
(macro): Enable ldc2, sdc2, ll, lld, swc2, sc, scd, cache, pref
macros for R6.
(mips_fix_adjustable): Make PC relative R6 relocations relative
to the symbol and not the section.
* configure.ac: Add support for mips32r6 and mips64r6.
* configure: Regenerate.
* doc/c-mips.texi: Document the -mips32r6 and -mips64r6 command line
options.
* doc/as.texinfo: Likewise.
gas/testsuite/
* gas/mips/24k-triple-stores-1.s: If testing for r6 prevent
non-supported instructions from being tested.
* gas/mips/24k-triple-stores-2.s: Likewise.
* gas/mips/24k-triple-stores-3.s: Likewise.
* gas/mips/24k-triple-stores-6.s: Likewise.
* gas/mips/beq.s: Likewise.
* gas/mips/eva.s: Likewise.
* gas/mips/ld-zero-3.s: Likewise.
* gas/mips/mips32-cp2.s: Likewise.
* gas/mips/mips32.s: Likewise.
* gas/mips/mips4.s: Likewise.
* gas/mips/add.s: Don't test the add instructions if r6, and
add padding.
* gas/mips/add.d: Check for a triple dot not a nop at the end of the
disassembly output.
* gas/mips/micromips@add.d: Likewise.
* gas/mips/mipsr6@24k-branch-delay-1.d: New file.
* gas/mips/mipsr6@24k-triple-stores-1.d: New file.
* gas/mips/mipsr6@24k-triple-stores-2-llsc.d: New file.
* gas/mips/mipsr6@24k-triple-stores-2.d: New file.
* gas/mips/mipsr6@24k-triple-stores-3.d: New file.
* gas/mips/mipsr6@24k-triple-stores-6.d: New file.
* gas/mips/mipsr6@add.d: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.s: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.s: New file.
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.s: New file.
* gas/mips/mipsr6@beq.d: New file.
* gas/mips/mipsr6@bge.d: New file.
* gas/mips/mipsr6@bgeu.d: New file.
* gas/mips/mipsr6@blt.d: New file.
* gas/mips/mipsr6@bltu.d: New file.
* gas/mips/mipsr6@branch-misc-1.d: New file.
* gas/mips/mipsr6@branch-misc-2-64.d: New file.
* gas/mips/mipsr6@branch-misc-2pic-64.d: New file.
* gas/mips/mipsr6@branch-misc-4-64.d: New file.
* gas/mips/mipsr6@cache.d: New file.
* gas/mips/mipsr6@eva.d: New file.
* gas/mips/mipsr6@jal-svr4pic-noreorder.d: New file.
* gas/mips/mipsr6@jal-svr4pic.d: New file.
* gas/mips/mipsr6@ld-zero-2.d: New file.
* gas/mips/mipsr6@ld-zero-3.d: New file.
* gas/mips/mipsr6@loc-swap-dis.d: New file.
* gas/mips/mipsr6@mips32-cp2.d: New file.
* gas/mips/mipsr6@mips32-imm.d: New file.
* gas/mips/mipsr6@mips32.d: New file.
* gas/mips/mipsr6@mips32r2.d: New file.
* gas/mips/mipsr6@mips4-fp.d: New file.
* gas/mips/mipsr6@mips4-fp.l: New file.
* gas/mips/mipsr6@mips4-fp.s: New file.
* gas/mips/mipsr6@mips4.d: New file.
* gas/mips/mipsr6@mips5-fp.d: New file.
* gas/mips/mipsr6@mips5-fp.l: New file.
* gas/mips/mipsr6@mips5-fp.s: New file.
* gas/mips/mipsr6@mips64.d: New file.
* gas/mips/mipsr6@msa-branch.d: New file.
* gas/mips/mipsr6@msa.d: New file.
* gas/mips/mipsr6@pref.d: New file.
* gas/mips/mipsr6@relax-swap3.d: New file.
* gas/mips/r6-64-n32.d: New file.
* gas/mips/r6-64-n64.d: New file.
* gas/mips/r6-64-removed.l: New file.
* gas/mips/r6-64-removed.s: New file.
* gas/mips/r6-64.s: New file.
* gas/mips/r6-attr-none-double.d: New file.
* gas/mips/r6-n32.d: New file.
* gas/mips/r6-n64.d: New file.
* gas/mips/r6-removed.l: New file.
* gas/mips/r6-removed.s: New file.
* gas/mips/r6.d: New file.
* gas/mips/r6.s: New file.
* gas/mips/mipsr6@mips32-dsp.d: New file.
* gas/mips/mipsr6@mips32-dspr2.d: New file.
* gas/mips/mipsr6@mips32r2-ill.l: New file.
* gas/mips/mipsr6@mips32r2-ill.s: New file.
* gas/mips/cache.s: Add r6 instruction varients.
* gas/mips/mips.exp: Add support for the mips32r6 and mips64r6
architectures. Also prevent non r6 supported tests from running.
Finally, add in support for running the new r6 tests.
(run_dump_test_arch): Add support for mipsr6 tests.
(run_list_test_arch): Add support for using files of the
form arch@testname.l .
include/elf/
* mips.h: Add relocs: R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3,
R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
(E_MIPS_ARCH_32R6): New define.
(E_MIPS_ARCH_64R6): New define.
include/opcode/
* mips.h (mips_operand_type): Add new entries: OP_SAME_RS_RT,
OP_CHECK_PREV and OP_NON_ZERO_REG. Add descriptions for the MIPS R6
instruction arguments: -a, -b, -d, -s, -t, -u, -v, -w, -x, -y, -A, -B,
+I, +O, +R, +:, +\, +", +;
(mips_check_prev_operand): New struct.
(INSN2_FORBIDDEN_SLOT): New define.
(INSN_ISA32R6): New define.
(INSN_ISA64R6): New define.
(INSN_UPTO32R6): New define.
(INSN_UPTO64R6): New define.
(mips_isa_table): Add INSN_UPTO32R6 and INSN_UPTO64R6.
(ISA_MIPS32R6): New define.
(ISA_MIPS64R6): New define.
(CPU_MIPS32R6): New define.
(CPU_MIPS64R6): New define.
(cpu_is_member): Add cases for CPU_MIPS32R6, and CPU_MIPS64R6.
ld/
* ldmain.c (get_emulation): Add support for -mips32r6 and -mips64r6.
opcodes/
* mips-dis.c (mips_arch_choices): Add entries for mips32r6 and
mips64r6.
(parse_mips_dis_option): Allow MSA and virtualization support for
mips64r6.
(mips_print_arg_state): Add fields dest_regno and seen_dest.
(mips_seen_register): New function.
(print_insn_arg): Refactored code to use mips_seen_register
function. Add support for OP_SAME_RS_RT, OP_CHECK_PREV and
OP_NON_ZERO_REG. Changed OP_REPEAT_DEST_REG case to print out
the register rather than aborting.
(print_insn_args): Add length argument. Add code to correctly
calculate the instruction address for pc relative instructions.
(validate_insn_args): New static function.
(print_insn_mips): Prevent jalx disassembling for r6. Use
validate_insn_args.
(print_insn_micromips): Use validate_insn_args.
all the arguments are valid.
* mips-formats.h (PREV_CHECK): New define.
* mips-opc.c (decode_mips_operand): Add support for -a, -b, -d, -s,
-t, -u, -v, -w, -x, -y, -A, -B, +I, +O, +R, +:, +\, +", +;
(RD_pc): New define.
(FS): New define.
(I37): New define.
(I69): New define.
(mips_builtin_opcodes): Add MIPS R6 instructions. Exclude recoded
MIPS R6 instructions from MIPS R2 instructions.
2014-09-10 18:32:01 +08:00
|
|
|
|
2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Add support for mips32r6 and
|
|
|
|
|
mips64r6.
|
|
|
|
|
|
Change pe/coff build-id section name to '.buildid'
The section name used to store the build-id on pe/coff is arbitrary, as it's
contents should be located using the pe/coff header's DataDirectory debug data
entry, not by using the section name.
But '.build-id' is not a good choice for that section name, as it is 9
characters long, and hence truncated to 8 characters when
--disable-long-section-names is used (which is the default, when producing an
executable with no dwarf debug sections, e.g. using ld --strip-all --build-id)
This truncation then breaks 'objcopy --only-keep-debug', which does use the
section name, due to concerns that keeping an arbitrary section which contains
the debug directory is not sensible.
binutils/ChangeLog
2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
* objcopy.c (is_nondebug_keep_contents_section): Change pe/coff
build-id section name from '.build-id' to '.buildid'.
ld/ChangeLog
2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
* emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
build-id section name from '.build-id' to '.buildid'.
* emultempl/pep.em (write_build_id, setup_build_id): Ditto.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-08-30 22:02:49 +08:00
|
|
|
|
2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (is_nondebug_keep_contents_section): Change
|
|
|
|
|
'.build-id' to '.buildid'.
|
|
|
|
|
|
2014-08-23 05:40:10 +08:00
|
|
|
|
2014-08-22 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.h (init_dwarf_regnames_aarch64): Declare.
|
|
|
|
|
* dwarf.c (dwarf_regnames_aarch64): New.
|
|
|
|
|
(init_dwarf_regnames_aarch64): New.
|
|
|
|
|
(init_dwarf_regnames): Call it.
|
|
|
|
|
* objdump.c (dump_dwarf): Likewise.
|
|
|
|
|
|
2014-08-19 20:29:56 +08:00
|
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2014-08-14 12:16:09 +08:00
|
|
|
|
2014-08-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Move ACX_LARGEFILE after LT_INIT.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
[MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions
Specification:
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
include/
* elf/mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
(Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
(Val_GNU_MIPS_ABI_FP_64): Redefine.
(Val_GNU_MIPS_ABI_FP_XX): Define.
(Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
(AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
(AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
(AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
(AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
(AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
(AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
(AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
(AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
(AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
(AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
(AFL_EXT_LOONGSON_2F): Likewise.
(bfd_mips_elf_swap_abiflags_v0_in): Prototype.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(bfd_mips_isa_ext): Likewise.
bfd/
* elfxx-mips.c (ABI_O32_P, MIPS_ELF_ABIFLAGS_SECTION_NAME_P): New macro.
(mips_elf_obj_tdata): Add abiflags and abiflags_valid fields.
(bfd_mips_elf_swap_abiflags_v0_in): New function.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_ABIFLAGS.
(_bfd_mips_elf_fake_sections): Likewise.
(_bfd_mips_elf_always_size_sections): Handle .MIPS.abiflags.
(_bfd_mips_elf_additional_program_headers): Account for new
PT_MIPS_ABIFLAGS program header.
(_bfd_mips_elf_modify_segment_map): Create PT_MIPS_ABIFLAGS segment and
associate with .MIPS.abiflags.
(_bfd_mips_elf_gc_mark_extra_sections): New function.
(bfd_mips_isa_ext, update_mips_abiflags_isa): New static function.
(infer_mips_abiflags): Likewise.
(_bfd_mips_elf_final_link): Handle .MIPS.abiflags.
(mips_32bit_flags_p): Moved higher.
(mips_elf_merge_obj_attributes, _bfd_mips_fp_abi_string): Error
checking for FP ABIs.
(_bfd_mips_elf_merge_private_bfd_data): Restructure and add abiflags
checks. Check EF_MIPS_FP64 flag consistency.
(print_mips_ases, print_mips_isa_ext): New static function.
(print_mips_fp_abi_value, get_mips_reg_size): Likewise.
(_bfd_mips_elf_print_private_bfd_data): Display abiflags data.
(_bfd_mips_post_process_headers): Set EI_ABIVERSION = 3 for
Val_GNU_MIPS_ABI_FP_64 or Val_GNU_MIPS_ABI_FP_64A.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_extra_sections): New prototype.
* elf32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elfn32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elf64-mips.c (elf_backend_gc_mark_extra_sections): Implement.
binutils/
* readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
(get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
(display_mips_gnu_attribute): Abstracted fp abi printing to...
(print_mips_fp_abi_value): New static function. Handle new FP ABIs.
(print_mips_ases, print_mips_isa_ext): New static functions.
(get_mips_reg_size): Likewise.
(process_mips_specific): Display abiflags data.
elfcpp/
* elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
gas/
* config/tc-mips.c (mips_flags_frag): New static global.
(struct mips_set_options): Add oddspreg field.
(file_mips_opts, mips_opts): Initialize oddspreg.
(ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
Loongson-3a.
(enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
and -mno-odd-spreg options.
(md_begin): Create .MIPS.abiflags section.
(fpabi_incompatible_with, fpabi_requires): New static function.
(check_fpabi): Likewise.
(mips_check_options): Handle fp=xx and oddspreg restrictions.
(file_mips_check_options): Set oddspreg by default for fp=xx.
(mips_oddfpreg_ok): Re-write function.
(check_regno): Check odd numbered registers regardless of FPR size.
For fp != 32 use as_bad instead of as_warn.
(match_float_constant): Rewrite check regarding FP register width. Add
support for generating constants when MXHC1 is present. Handle fp=xx
to comply with the ABI.
(macro): Update M_LI_DD similarly to match_float_constant. Generate
MTHC1 when available. Check that correct code can be generated for
fp=xx and fp=64 ABIs.
(parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
options.
(mips_convert_ase_flags): New static function.
(mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
to determine when to add the EF_MIPS_FP64 flag. Populate the
.MIPS.abiflags section.
(md_mips_end): Update .gnu_attribute based on command line and .module
as applicable. Use check_fpabi to ensure .gnu.attribute and command
line/.module options are consistent.
* doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
-mfpxx, -modd-spreg and -mno-odd-spreg options.
* doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
gnu_attribute values and FP ABIs.
ld/
* emulparams/elf32bmip.sh: Add .MIPS.abiflags.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf64bmip-defs.sh: Likewise.
opcodes/
* micromips-opc.c (COD, LCD) New macros.
(cfc1, ctc1): Remove FP_S attribute.
(dmfc1, mfc1, mfhc1): Add LCD attribute.
(dmtc1, mtc1, mthc1): Add COD attribute.
* mips-opc.c (cfc1, cftc1, ctc, cttc1): Remove FP_S attribute.
binutils/testsuite/
* binutils-all/readelf.s: Account for .MIPS.abiflags and
.gnu.attributes.
* binutils-all/readelf.ss-tmips: Likewise.
* binutils-all/strip-3.d: Likewise.
gas/testsuite/
* gas/mips/attr-gnu-4-0.d: New.
* gas/mips/attr-gnu-4-0.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.s: Likewise.
* gas/mips/attr-gnu-4-1-mfpxx.s: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-1.d: Likewise.
* gas/mips/attr-gnu-4-1.s: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.l: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.s: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-2.d: Likewise.
* gas/mips/attr-gnu-4-2.s: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.l: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.s: Likewise.
* gas/mips/attr-gnu-4-3.d: Likewise.
* gas/mips/attr-gnu-4-3.s: Likewise.
* gas/mips/attr-gnu-4-4.l: Likewise.
* gas/mips/attr-gnu-4-4.s: Likewise.
* gas/mips/attr-gnu-4-5-64.l: Likewise.
* gas/mips/attr-gnu-4-5-64.s: Likewise.
* gas/mips/attr-gnu-4-5.d: Likewise.
* gas/mips/attr-gnu-4-5.l: Likewise.
* gas/mips/attr-gnu-4-5.s: Likewise.
* gas/mips/attr-gnu-4-6-64.l: Likewise.
* gas/mips/attr-gnu-4-6-64.s: Likewise.
* gas/mips/attr-gnu-4-6.d: Likewise.
* gas/mips/attr-gnu-4-6.l: Likewise.
* gas/mips/attr-gnu-4-6.s: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-6-noodd.l: Likewise.
* gas/mips/attr-gnu-4-6-noodd.s: Likewise.
* gas/mips/attr-gnu-4-7-64.l: Likewise.
* gas/mips/attr-gnu-4-7-64.s: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-7-odd.l: Likewise.
* gas/mips/attr-gnu-4-7-odd.s: Likewise.
* gas/mips/attr-gnu-4-7.d: Likewise.
* gas/mips/attr-gnu-4-7.l: Likewise.
* gas/mips/attr-gnu-4-7.s: Likewise.
* gas/mips/attr-none-double.d: Likewise.
* gas/mips/attr-none-o32-fp64.d: Likewise.
* gas/mips/attr-none-o32-fp64-nooddspreg.d
* gas/mips/attr-none-o32-fpxx.d: Likewise.
* gas/mips/attr-none-single-float.d: Likewise.
* gas/mips/attr-none-soft-float.d: Likewise.
* gas/mips/elf_arch_mips32r3.d: Likewise.
* gas/mips/elf_arch_mips32r5.d: Likewise.
* gas/mips/elf_arch_mips64r3.d: Likewise.
* gas/mips/elf_arch_mips64r5.d: Likewise.
* gas/mips/li-d.d: Likewise.
* gas/mips/li-d.s: Likewise.
* gas/mips/module-check-warn.l: Likewise.
* gas/mips/module-check-warn.s: Likewise.
* gas/mips/module-check.d: Likewise.
* gas/mips/module-check.s: Likewise.
* gas/mips/module-mfp32.d: Likewise.
* gas/mips/module-mfp32.s: Likewise.
* gas/mips/module-mfp64.d: Likewise.
* gas/mips/module-mfp64.s: Likewise.
* gas/mips/module-mfp64-noodd.d: Likewise.
* gas/mips/module-mfp64-noodd.s: Likewise.
* gas/mips/module-mfpxx.d: Likewise.
* gas/mips/module-mfpxx.s: Likewise.
* gas/mips/module-msingle-float.d: Likewise.
* gas/mips/module-msingle-float.s: Likewise.
* gas/mips/module-msoft-float.d: Likewise.
* gas/mips/module-msoft-float.s: Likewise.
* gas/mips/module-set-mfpxx.d: Likewise.
* gas/mips/module-set-mfpxx.s: Likewise.
* gas/mips/fpxx-oddfpreg.d: Likewise.
* gas/mips/fpxx-oddfpreg.l: Likewise.
* gas/mips/fpxx-oddfpreg.s: Likewise.
* gas/mips/no-odd-spreg.d: Likewise.
* gas/mips/odd-spreg.d: Likewise.
* gas/elf/section2.e-mips: Adjust expected output.
* gas/mips/attr-gnu-abi-fp-1.d: Likewise.
* gas/mips/attr-gnu-abi-msa-1.d: Likewise.
* gas/mips/call-nonpic-1.d: Likewise.
* gas/mips/elf_arch_mips1.d: Likewise.
* gas/mips/elf_arch_mips2.d: Likewise.
* gas/mips/elf_arch_mips3.d: Likewise.
* gas/mips/elf_arch_mips32.d: Likewise.
* gas/mips/elf_arch_mips32r2.d: Likewise.
* gas/mips/elf_arch_mips4.d: Likewise.
* gas/mips/elf_arch_mips5.d: Likewise.
* gas/mips/elf_arch_mips64.d: Likewise.
* gas/mips/elf_arch_mips64r2.d: Likewise.
* gas/mips/elf_ase_micromips-2.d: Likewise.
* gas/mips/elf_ase_micromips.d: Likewise.
* gas/mips/elf_ase_mips16-2.d: Likewise.
* gas/mips/elf_ase_mips16.d: Likewise.
* gas/mips/module-defer-warn1.d: Likewise.
* gas/mips/module-override.d: Likewise.
* gas/mips/n32-consec.d: Likewise.
* gas/mips/nan-2008-1.d: Likewise.
* gas/mips/nan-2008-2.d: Likewise.
* gas/mips/nan-2008-3.d: Likewise.
* gas/mips/nan-2008-4.d: Likewise.
* gas/mips/nan-legacy-1.d: Likewise.
* gas/mips/nan-legacy-2.d: Likewise.
* gas/mips/nan-legacy-3.d: Likewise.
* gas/mips/nan-legacy-4.d: Likewise.
* gas/mips/nan-legacy-5.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmips16-f.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/tmipsel16-f.d: Likewise.
* gas/testsuite/gas/mips/mips.exp: Add new tests.
ld/testsuite/
* ld-mips-elf/abiflags-strip1-ph.d: New.
* ld-mips-elf/abiflags-strip2-ph.d: Likewise.
* ld-mips-elf/abiflags-strip3-ph.d: Likewise.
* ld-mips-elf/abiflags-strip4-ph.d: Likewise.
* ld-mips-elf/abiflags-strip5-ph.d: Likewise.
* ld-mips-elf/abiflags-strip6-ph.d: Likewise.
* ld-mips-elf/abiflags-strip7-ph.d: Likewise.
* ld-mips-elf/abiflags-strip8-ph.d: Likewise.
* ld-mips-elf/abiflags-strip9-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-06.d: Likewise.
* ld-mips-elf/attr-gnu-4-07.d: Likewise.
* ld-mips-elf/attr-gnu-4-08.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-16.d: Likewise.
* ld-mips-elf/attr-gnu-4-17.d: Likewise.
* ld-mips-elf/attr-gnu-4-18.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-26.d: Likewise.
* ld-mips-elf/attr-gnu-4-27.d: Likewise.
* ld-mips-elf/attr-gnu-4-28.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-36.d: Likewise.
* ld-mips-elf/attr-gnu-4-37.d: Likewise.
* ld-mips-elf/attr-gnu-4-38.d: Likewise.
* ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-46.d: Likewise.
* ld-mips-elf/attr-gnu-4-47.d: Likewise.
* ld-mips-elf/attr-gnu-4-48.d: Likewise.
* ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-50.d: Likewise.
* ld-mips-elf/attr-gnu-4-52.d: Likewise.
* ld-mips-elf/attr-gnu-4-53.d: Likewise.
* ld-mips-elf/attr-gnu-4-54.d: Likewise.
* ld-mips-elf/attr-gnu-4-55.d: Likewise.
* ld-mips-elf/attr-gnu-4-56.d: Likewise.
* ld-mips-elf/attr-gnu-4-57.d: Likewise.
* ld-mips-elf/attr-gnu-4-58.d: Likewise.
* ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-6.s: Likewise.
* ld-mips-elf/attr-gnu-4-60.d: Likewise.
* ld-mips-elf/attr-gnu-4-61.d: Likewise.
* ld-mips-elf/attr-gnu-4-62.d: Likewise.
* ld-mips-elf/attr-gnu-4-63.d: Likewise.
* ld-mips-elf/attr-gnu-4-64.d: Likewise.
* ld-mips-elf/attr-gnu-4-65.d: Likewise.
* ld-mips-elf/attr-gnu-4-66.d: Likewise.
* ld-mips-elf/attr-gnu-4-67.d: Likewise.
* ld-mips-elf/attr-gnu-4-68.d: Likewise.
* ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-7.s: Likewise.
* ld-mips-elf/attr-gnu-4-70.d: Likewise.
* ld-mips-elf/attr-gnu-4-71.d: Likewise.
* ld-mips-elf/attr-gnu-4-72.d: Likewise.
* ld-mips-elf/attr-gnu-4-73.d: Likewise.
* ld-mips-elf/attr-gnu-4-74.d: Likewise.
* ld-mips-elf/attr-gnu-4-75.d: Likewise.
* ld-mips-elf/attr-gnu-4-76.d: Likewise.
* ld-mips-elf/attr-gnu-4-77.d: Likewise.
* ld-mips-elf/attr-gnu-4-78.d: Likewise.
* ld-mips-elf/attr-gnu-4-8.s: Likewise.
* ld-mips-elf/attr-gnu-4-81.d: Likewise.
* ld-mips-elf/empty.s: Likewise.
* ld-mips-elf/attr-gnu-4-00.d: Adjust expected output.
* ld-mips-elf/attr-gnu-4-01.d: Likewise.
* ld-mips-elf/attr-gnu-4-02.d: Likewise.
* ld-mips-elf/attr-gnu-4-03.d: Likewise.
* ld-mips-elf/attr-gnu-4-04.d: Likewise.
* ld-mips-elf/attr-gnu-4-05.d: Likewise.
* ld-mips-elf/attr-gnu-4-10.d: Likewise.
* ld-mips-elf/attr-gnu-4-11.d: Likewise.
* ld-mips-elf/attr-gnu-4-14.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-2.s: Likewise.
* ld-mips-elf/attr-gnu-4-20.d: Likewise.
* ld-mips-elf/attr-gnu-4-22.d: Likewise.
* ld-mips-elf/attr-gnu-4-24.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.
* ld-mips-elf/attr-gnu-4-3.s: Likewise.
* ld-mips-elf/attr-gnu-4-30.d: Likewise.
* ld-mips-elf/attr-gnu-4-33.d: Likewise.
* ld-mips-elf/attr-gnu-4-34.d: Likewise.
* ld-mips-elf/attr-gnu-4-35.d: Likewise.
* ld-mips-elf/attr-gnu-4-40.d: Likewise.
* ld-mips-elf/attr-gnu-4-41.d: Likewise.
* ld-mips-elf/attr-gnu-4-42.d: Likewise.
* ld-mips-elf/attr-gnu-4-43.d: Likewise.
* ld-mips-elf/attr-gnu-4-44.d: Likewise.
* ld-mips-elf/attr-gnu-4-45.d: Likewise.
* ld-mips-elf/attr-gnu-4-5.s: Likewise.
* ld-mips-elf/attr-gnu-4-51.d: Likewise.
* ld-mips-elf/attr-gnu-8-00.d: Likewise.
* ld-mips-elf/attr-gnu-8-01.d: Likewise.
* ld-mips-elf/attr-gnu-8-02.d: Likewise.
* ld-mips-elf/attr-gnu-8-10.d: Likewise.
* ld-mips-elf/attr-gnu-8-11.d: Likewise.
* ld-mips-elf/attr-gnu-8-20.d: Likewise.
* ld-mips-elf/attr-gnu-8-22.d: Likewise.
* ld-mips-elf/jalx-2.dd: Likewise.
* ld-mips-elf/mips16-pic-1.gd: Likewise.
* ld-mips-elf/mips16-pic-2.gd: Likewise.
* ld-mips-elf/mips16-pic-3.gd: Likewise.
* ld-mips-elf/mips16-pic-4a.gd: Likewise.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/nan-2008.d: Likewise.
* ld-mips-elf/nan-legacy.d: Rework test.
* ld-mips-elf/pic-and-nonpic-3a.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-elf/group.ld: Discard .MIPS.abiflags and .gnu.attributes.
* ld-elf/orphan-region.ld: Likewise.
* ld-elf/orphan.ld: Likewise.
* ld-mips-elf/compressed-plt-1.ld: Likewise.
* ld-mips-elf/dyn-sec64.ld: Likewise.
* ld-mips-elf/got-dump-1.ld: Likewise.
* ld-mips-elf/got-dump-2.ld: Likewise.
* ld-mips-elf/got-page-1.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
* ld-mips-elf/region1.t: Likewise.
* ld-mips-elf/stub-dynsym-1.ld: Likewise.
* ld-mips-elf/tls-hidden3.ld: Likewise.
* ld-mips-elf/vxworks1.ld: Likewise.
* ld-scripts/overlay-size.t: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Remove .MIPS.abiflags from
objects.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/mips-elf.exp: Add new tests.
2014-07-29 18:27:59 +08:00
|
|
|
|
2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
|
|
|
|
|
(get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
|
|
|
|
|
(display_mips_gnu_attribute): Abstracted fp abi printing to...
|
|
|
|
|
(print_mips_fp_abi_value): New static function. Handle new FP ABIs.
|
|
|
|
|
(print_mips_ases, print_mips_isa_ext): New static functions.
|
|
|
|
|
(get_mips_reg_size): Likewise.
|
|
|
|
|
(process_mips_specific): Display abiflags data.
|
|
|
|
|
|
2014-07-28 20:48:25 +08:00
|
|
|
|
2014-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 13227
|
|
|
|
|
* nm.c (filter_symbols): Warn on __gnu_lto_slim.
|
|
|
|
|
|
2014-07-08 00:46:05 +08:00
|
|
|
|
2014-07-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_symbol_type): Revert accidental change to
|
|
|
|
|
detection of thumb function symbols.
|
|
|
|
|
|
2014-07-04 11:29:42 +08:00
|
|
|
|
2014-07-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Rename from configure.in.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2014-07-04 10:05:16 +08:00
|
|
|
|
2014-07-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Include bfd/version.m4.
|
|
|
|
|
(AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
|
|
|
|
|
(BFD_VERSION): Delete.
|
|
|
|
|
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2014-07-03 23:30:49 +08:00
|
|
|
|
2014-07-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi: Clarify addr2line output.
|
|
|
|
|
|
2014-07-01 19:13:14 +08:00
|
|
|
|
2014-07-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
|
|
|
|
|
|
2014-06-26 21:10:48 +08:00
|
|
|
|
2014-06-26 Erik Akermann <kurterikackermann@gmail.com>
|
|
|
|
|
|
|
|
|
|
* strings.c: Add -w/--include-all-whitespace option to include any
|
|
|
|
|
whitespace character in the displayed strings.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
* doc/binutils.texi (strings): Document the new command line
|
|
|
|
|
option.
|
|
|
|
|
|
2014-06-26 16:32:25 +08:00
|
|
|
|
2014-06-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_note_sections): If there are no note sections
|
|
|
|
|
try processing note segments instead.
|
|
|
|
|
|
2014-06-17 23:50:15 +08:00
|
|
|
|
2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
|
|
|
|
|
|
|
|
|
|
PR binutils/16923
|
|
|
|
|
* rcparse.y (fixedverinfo): Prevent large version numbers from
|
|
|
|
|
corrupting other values.
|
|
|
|
|
|
2014-06-09 22:06:58 +08:00
|
|
|
|
2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
|
|
|
|
|
|
|
|
|
|
PR binutils/16252
|
|
|
|
|
* dwarf.c (display_debug_frames): Remember the state of the
|
|
|
|
|
cfa_offset, cfa_reg, ra and cfa_exp field
|
|
|
|
|
|
Make it easy to make --disable-werror the default for both binutils and gdb
The goal of this patch is to provide an easy way to make
--disable-werror the default when building binutils, or the parts
of binutils that need to get built when building GDB. In development
mode, we want to continue making -Werror the default with GCC.
But, when making releases, I think we want to make it as easy as
possible for regular users to successfully build from sources.
GDB already has this kind of feature to turn -Werror as well as
the use of the libmcheck library. As GDB Release Manager, I take
advantage of it to turn those off after having cut the branch.
I'd like to be able to do the same for the binutils bits. And
perhaps Tristan will want to do the same for his releases too
(not sure, binutils builders might be a little savvier than GDB
builders).
This patch introduces a new file, called development.sh, which
just sets a variable called $development. In our development branches
(Eg. "master"), it's set to true. But setting it to false would allow
us to change the default behavior of various development-related
features to be turned off; in this case, it turns off the use of
-Werror by default (use --enable-werror to turn it back on).
bfd/ChangeLog:
* development.sh: New file.
* warning.m4 (AM_BINUTILS_WARNINGS): Source bfd/development.sh.
Make -Werror the default with GCC only if DEVELOPMENT is true.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/development.sh.
* Makefile.in, configure: Regenerate.
binutils/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gas/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gold/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): New.
* Makefile.in, configure: Regenerate.
gprof/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
ld/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
opcodes/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gdb/ChangeLog:
* development.sh: Delete.
* Makefile.in (config.status): Adjust dependency on development.sh.
* configure.ac: Adjust development.sh source call.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
* configure.ac: Adjust development.sh source call.
* Makefile.in (config.status): Adjust dependency on development.sh.
* configure: Regenerate.
Tested on x86_64-linux by building two ways: One with DEVELOPMENT
set to true, and one with DEVELOPMENT set to false. In the first
case, I could see the use of -Werror, while it disappeared in
the second case.
2014-05-20 05:46:01 +08:00
|
|
|
|
2014-06-05 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
|
|
|
|
|
bfd's development.sh.
|
|
|
|
|
* Makefile.in, configure: Regenerate.
|
|
|
|
|
|
2014-05-16 22:34:13 +08:00
|
|
|
|
2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (is_nondebug_keep_contents_section): New function.
|
|
|
|
|
(setup_section): Use it.
|
|
|
|
|
|
2014-05-16 21:57:10 +08:00
|
|
|
|
2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
|
|
|
|
|
|
bfd target vector rationalisation
This renames the bfd targets to <cpu>_<format>_<other>_<endian>_vec.
So for example, bfd_elf32_ntradlittlemips_vec becomes
mips_elf32_ntrad_le_vec and hp300bsd_vec becomes m68k_aout_hp300bsd_vec.
bfd/
* aix386-core.c, * aout-adobe.c, * aout-arm.c, * aout-ns32k.c,
* aout-sparcle.c, * aout0.c, * aoutx.h, * armnetbsd.c, * bout.c,
* cf-i386lynx.c, * cf-sparclynx.c, * cisco-core.c, * coff-alpha.c,
* coff-apollo.c, * coff-arm.c, * coff-aux.c, * coff-go32.c,
* coff-h8300.c, * coff-h8500.c, * coff-i386.c, * coff-i860.c,
* coff-i960.c, * coff-m68k.c, * coff-m88k.c, * coff-mips.c,
* coff-rs6000.c, * coff-sh.c, * coff-sparc.c, * coff-stgo32.c,
* coff-svm68k.c, * coff-tic80.c, * coff-u68k.c, * coff-w65.c,
* coff-we32k.c, * coff-x86_64.c, * coff-z80.c, * coff-z8k.c,
* coff64-rs6000.c, * config.bfd, * configure.com, * configure.in,
* demo64.c, * elf-m10200.c, * elf-m10300.c, * elf32-am33lin.c,
* elf32-arc.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c,
* elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
* elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
* elf32-fr30.c, * elf32-frv.c, * elf32-gen.c, * elf32-h8300.c,
* elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-i860.c,
* elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
* elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
* elf32-m68k.c, * elf32-m88k.c, * elf32-mcore.c, * elf32-mep.c,
* elf32-metag.c, * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
* elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-nios2.c,
* elf32-or1k.c, * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c,
* elf32-rx.c, * elf32-s390.c, * elf32-score.c, * elf32-sh-symbian.c,
* elf32-sh.c, * elf32-sh64.c, * elf32-sparc.c, * elf32-spu.c,
* elf32-tic6x.c, * elf32-tilegx.c, * elf32-tilepro.c, * elf32-v850.c,
* elf32-vax.c, * elf32-xc16x.c, * elf32-xgate.c, * elf32-xstormy16.c,
* elf32-xtensa.c, * elf64-alpha.c, * elf64-gen.c, * elf64-hppa.c,
* elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, * elf64-ppc.c,
* elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c, * elf64-tilegx.c,
* elf64-x86-64.c, * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
* epoc-pe-arm.c, * epoc-pei-arm.c, * hp300bsd.c, * hp300hpux.c,
* hppabsd-core.c, * hpux-core.c, * i386aout.c, * i386bsd.c,
* i386dynix.c, * i386freebsd.c, * i386linux.c, * i386lynx.c,
* i386mach3.c, * i386msdos.c, * i386netbsd.c, * i386os9k.c,
* irix-core.c, * m68k4knetbsd.c, * m68klinux.c, * m68knetbsd.c,
* m88kmach3.c, * m88kopenbsd.c, * mach-o-i386.c, * mach-o-x86-64.c,
* makefile.vms, * mipsbsd.c, * mmo.c, * netbsd-core.c, * newsos3.c,
* nlm32-alpha.c, * nlm32-i386.c, * nlm32-ppc.c, * nlm32-sparc.c,
* ns32knetbsd.c, * osf-core.c, * pc532-mach.c, * pe-arm-wince.c,
* pe-arm.c, * pe-i386.c, * pe-mcore.c, * pe-mips.c, * pe-ppc.c,
* pe-sh.c, * pe-x86_64.c, * pei-arm-wince.c, * pei-arm.c,
* pei-i386.c, * pei-ia64.c, * pei-mcore.c, * pei-mips.c, * pei-ppc.c,
* pei-sh.c, * pei-x86_64.c, * ppcboot.c, * ptrace-core.c, * riscix.c,
* sco5-core.c, * som.c, * sparclinux.c, * sparclynx.c,
* sparcnetbsd.c, * sunos.c, * targets.c, * trad-core.c,
* vax1knetbsd.c, * vaxbsd.c, * vaxnetbsd.c, * versados.c,
* vms-alpha.c, * vms-lib.c: Rename bfd targets to
<cpu>_<format>_<other>_<endian>_vec. Adjust associated MY macros
on aout targets.
* configure: Regenerate.
binutils/
* emul_aix.c: Update bfd target vector naming.
* testsuite/binutils-all/objcopy.exp: Likewise.
ld/
* emultempl/metagelf.em: Update bfd target vector naming.
* emultempl/nios2elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/tic6xdsbt.em: Likewise.
2014-05-02 18:39:40 +08:00
|
|
|
|
2014-05-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emul_aix.c: Update bfd target vector naming.
|
|
|
|
|
* testsuite/binutils-all/objcopy.exp: Likewise.
|
|
|
|
|
|
2014-04-25 06:40:41 +08:00
|
|
|
|
2014-04-24 Christian Svensson <blue@cmd.nu>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add myself and Stefan as OR1K maintainers.
|
|
|
|
|
|
2014-04-23 18:24:30 +08:00
|
|
|
|
2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* doc/binutils.texi: Document the disassemble MIPS XPA instructions
|
|
|
|
|
command line option.
|
|
|
|
|
|
2014-04-22 22:57:47 +08:00
|
|
|
|
2014-04-22 Christian Svensson <blue@cmd.nu>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Remove openrisc and or32 support. Add support for or1k.
|
|
|
|
|
|
mach-o: layout executables
bfd/
* mach-o.h (bfd_mach_o_dyld_info_command): Add rebase_content,
bind_content, weak_bind_content, lazy_bind_content,
export_content.
(bfd_mach_o_load_command): Add comments, add next field.
(mach_o_data_struct): Replace commands field by first_command
and last_command.
* mach-o.c (bfd_mach_o_append_command): New function.
(bfd_mach_o_bfd_copy_private_symbol_data): Add blank lines.
(bfd_mach_o_bfd_copy_private_section_data): Check flavour,
copy fields.
(bfd_mach_o_bfd_copy_private_header_data): Copy load commands.
(bfd_mach_o_pad4, bfd_mach_o_pad_command): New functions.
(bfd_mach_o_write_thread): Use macro instead of literal.
(bfd_mach_o_write_dylinker, bfd_mach_o_write_dylib)
(bfd_mach_o_write_main, bfd_mach_o_write_dyld_info): New
functions.
(bfd_mach_o_write_symtab_content): New function (extracted
from bfd_mach_o_write_symtab).
(bfd_mach_o_write_symtab): Split.
(bfd_mach_o_count_indirect_symbols): Move
(bfd_mach_o_build_dysymtab): Remove layout code.
(bfd_mach_o_write_contents): Rewritten to build commands in order.
(bfd_mach_o_count_sections_for_seg): Remove.
(bfd_mach_o_build_obj_seg_command): New function (extracted from
bfd_mach_o_build_seg_command).
(bfd_mach_o_build_exec_seg_command): New function.
(bfd_mach_o_build_dysymtab_command): Remove.
(bfd_mach_o_layout_commands): New function.
(bfd_mach_o_init_segment): New function.
(bfd_mach_o_build_commands): Major rework to handle non-object
files.
(bfd_mach_o_alloc_and_read, bfd_mach_o_read_dyld_content): New
function.
(bfd_mach_o_read_dyld_info): Clear content fields.
(bfd_mach_o_read_segment): Adjust call.
(bfd_mach_o_flatten_sections): Adjust as now load commands are
chained.
(bfd_mach_o_scan_start_address, bfd_mach_o_scan)
(bfd_mach_o_mkobject_init, bfd_mach_o_get_base_address)
(bfd_mach_o_lookup_command, bfd_mach_o_core_fetch_environment):
Likewise.
binutils/
* od-macho.c (dump_section_map): Adjust as load commands
are now chained.
(dump_load_command, dump_section_content): Likewise.
2014-04-03 20:45:31 +08:00
|
|
|
|
2014-04-18 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_section_map): Adjust as load commands
|
|
|
|
|
are now chained.
|
|
|
|
|
(dump_load_command, dump_section_content): Likewise.
|
|
|
|
|
|
2014-04-11 23:10:03 +08:00
|
|
|
|
2014-04-16 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (OPT_DYLD_INFO): New macro.
|
|
|
|
|
(options): Add entry for dyld_info.
|
|
|
|
|
(mach_o_help): Likewise.
|
|
|
|
|
(load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
|
|
|
|
|
(dump_dyld_info_export_1, dump_dyld_info_export): New functions.
|
|
|
|
|
(bfd_mach_o_dyld_rebase_type_name): New array.
|
|
|
|
|
(export_info_data): New struct.
|
|
|
|
|
(dump_dyld_info): Add verbose argument. Dump rebase, bind and
|
|
|
|
|
exports data.
|
|
|
|
|
(dump_load_command): Adjust dump_dyld_info call.
|
|
|
|
|
(mach_o_dump): Handle dyld_info.
|
|
|
|
|
|
2014-04-11 21:27:10 +08:00
|
|
|
|
2014-04-16 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_header): Display sizeofcmds in decimal too.
|
|
|
|
|
(dump_segment): Reformat output.
|
|
|
|
|
(dump_dyld_info): Also display end offsets.
|
|
|
|
|
(dump_load_command): Add IDX argument, display commands size
|
|
|
|
|
and offset, reformat display.
|
|
|
|
|
(dump_load_commands): Adjust for added argument.
|
|
|
|
|
|
2014-04-07 12:14:50 +08:00
|
|
|
|
2014-04-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16811
|
|
|
|
|
* objcopy.c (copy_object): Error if no sections.
|
|
|
|
|
|
2014-04-03 18:33:17 +08:00
|
|
|
|
2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR binutils/14698
|
|
|
|
|
ar.c: Set plugin_target early if plugins are supported.
|
|
|
|
|
nm.c: Likewise.
|
|
|
|
|
|
2014-04-03 17:49:56 +08:00
|
|
|
|
2014-04-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (printf_uint64): New function.
|
|
|
|
|
(dump_load_command, dump_obj_compact_unwind): Use it.
|
|
|
|
|
(dump_exe_compact_unwind): Display personality functions.
|
|
|
|
|
|
2014-03-26 22:01:53 +08:00
|
|
|
|
2014-04-02 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
|
|
|
|
|
(options): Add entry for twolevel_hints.
|
|
|
|
|
(dump_data_in_code): Fix error message.
|
|
|
|
|
(dump_twolevel_hints): New function.
|
|
|
|
|
(dump_load_command): Handle prebound dylib, prebind cksum
|
|
|
|
|
and twolevel hints.
|
|
|
|
|
(mach_o_dump): Handle twolevel hints.
|
|
|
|
|
|
2014-03-26 17:41:16 +08:00
|
|
|
|
2014-04-01 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (OPT_DATA_IN_CODE): New macro.
|
|
|
|
|
(options): Add entry for data in code.
|
|
|
|
|
(mach_o_help): Ditto.
|
|
|
|
|
(data_in_code_kind_name): New array.
|
|
|
|
|
(dump_data_in_code): New function.
|
|
|
|
|
(dump_load_command): Handle data in code.
|
|
|
|
|
(mach_o_dump): Ditto.
|
|
|
|
|
(dump_header): Display a terminal newline.
|
|
|
|
|
|
2014-03-26 17:40:49 +08:00
|
|
|
|
2014-03-27 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_load_command): Display value for
|
|
|
|
|
BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
|
|
|
|
|
and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
|
|
|
|
|
|
2014-03-25 22:51:54 +08:00
|
|
|
|
2014-03-27 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (OPT_FUNCTION_STARTS): New macro.
|
|
|
|
|
(options): Add entry for function_starts.
|
|
|
|
|
(mach_o_help): Ditto.
|
|
|
|
|
(disp_segment_prot): New function.
|
|
|
|
|
(dump_section_map): Call disp_segment_prot.
|
|
|
|
|
(dump_function_starts): New function.
|
|
|
|
|
(dump_obj_compact_unwind): Fix ouput indentation.
|
|
|
|
|
(dump_exe_compact_unwind): Fix ouput indentation.
|
|
|
|
|
(mach_o_dump): Handle function_starts.
|
|
|
|
|
|
2014-03-26 17:40:06 +08:00
|
|
|
|
2014-03-26 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
|
|
|
|
|
|
2014-03-24 19:37:32 +08:00
|
|
|
|
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (load_specific_debug_section): Set address of section.
|
|
|
|
|
|
2014-03-21 16:25:05 +08:00
|
|
|
|
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
|
|
|
|
|
(dump_exe_compact_unwind): Change the condition. Improve
|
|
|
|
|
indentation.
|
|
|
|
|
|
2014-03-20 21:15:12 +08:00
|
|
|
|
2014-03-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (process_version_sections): Fix off-by-one error in
|
|
|
|
|
previous delta.
|
|
|
|
|
|
2014-03-20 00:48:02 +08:00
|
|
|
|
2014-03-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16723
|
|
|
|
|
* readelf.c (process_version_sections): Prevent an infinite loop
|
|
|
|
|
when the vn_next field is zero but there are still entries to be
|
|
|
|
|
processed.
|
|
|
|
|
|
2014-03-17 16:46:36 +08:00
|
|
|
|
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_section_header): Renames of dump_section.
|
|
|
|
|
(dump_segment): Adjust after renaming.
|
|
|
|
|
(OPT_COMPACT_UNWIND): Define.
|
|
|
|
|
(options): Add compact unwind.
|
|
|
|
|
(mach_o_help): Document compact_unwind.
|
|
|
|
|
(unwind_x86_64_regs, unwind_x86_regs): New arrays.
|
|
|
|
|
(dump_unwind_encoding_x86, dump_unwind_encoding)
|
|
|
|
|
(dump_obj_compact_unwind, dump_exe_compact_unwind)
|
|
|
|
|
(dump_section_content): New functions.
|
|
|
|
|
(mach_o_dump): Handle compact unwind.
|
|
|
|
|
|
2014-03-17 16:46:07 +08:00
|
|
|
|
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* od-macho.c (dump_load_command): Handle lazy load dylib.
|
|
|
|
|
|
2014-03-15 00:56:12 +08:00
|
|
|
|
2014-03-14 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (copy_object): Check fwrite return code.
|
|
|
|
|
|
2014-03-14 19:21:00 +08:00
|
|
|
|
2014-03-14 Meador Inge <meadori@codesourcery.com>
|
|
|
|
|
|
2014-10-14 11:00:57 +08:00
|
|
|
|
* dwarf.c (strnlen): Move prototype ...
|
|
|
|
|
* sysdep.h (strnlen): ... to here.
|
2014-03-14 19:21:00 +08:00
|
|
|
|
|
2014-03-12 20:00:27 +08:00
|
|
|
|
2014-03-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16652
|
|
|
|
|
* doc/binutils.texi (ar cmdline): Move --plugin command line
|
|
|
|
|
option to after the command option.
|
|
|
|
|
|
2014-03-12 18:56:17 +08:00
|
|
|
|
2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16567
|
|
|
|
|
* deflex.l: Add noinput and nounput options.
|
|
|
|
|
|
2014-03-12 12:32:00 +08:00
|
|
|
|
2014-03-12 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2014-03-06 18:57:13 +08:00
|
|
|
|
2014-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16664
|
|
|
|
|
* readelf.c (process_attributes): Add checks for corrupt
|
|
|
|
|
attribute section names.
|
|
|
|
|
|
2014-03-05 19:46:15 +08:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2014-03-01 19:25:26 +08:00
|
|
|
|
2014-03-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* README: Add "Copyright Notices" paragraph.
|
|
|
|
|
|
2014-02-12 03:33:49 +08:00
|
|
|
|
2014-02-11 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* binutils/dwarf.c (read_and_display_attr_value): Don't warn
|
|
|
|
|
for zero-length attribute value.
|
|
|
|
|
|
2014-02-10 07:29:35 +08:00
|
|
|
|
2014-02-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/binutils.pot: Regenerate.
|
|
|
|
|
|
2014-02-07 03:26:26 +08:00
|
|
|
|
2014-02-06 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
|
|
|
|
|
|
2014-02-06 02:29:24 +08:00
|
|
|
|
2014-02-06 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16444
|
|
|
|
|
* readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
|
|
|
|
|
|
2014-01-08 21:48:12 +08:00
|
|
|
|
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* version.c (print_version): Update copyright year to 2014.
|
|
|
|
|
|
2014-01-05 12:47:10 +08:00
|
|
|
|
2014-01-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
|
|
|
|
|
stdarg macros.
|
|
|
|
|
* dlltool.c (inform): Replace obsolete VA_* macros with stdarg
|
|
|
|
|
macros.
|
|
|
|
|
* dllwrap.c (inform, warn): Replace obsolete VA_* macros with
|
|
|
|
|
stdarg macros.
|
|
|
|
|
|
2014-01-06 10:49:29 +08:00
|
|
|
|
2014-01-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* coffgrok.h (coff_ofile): Don't use PARAMS.
|
|
|
|
|
* nlmheader.y (strerror): Don't use PARAMS.
|
|
|
|
|
|
2014-01-08 21:32:12 +08:00
|
|
|
|
For older changes see ChangeLog-2013
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
2014-01-08 21:32:12 +08:00
|
|
|
|
Copyright (C) 2014 Free Software Foundation, Inc.
|
2012-12-10 20:48:03 +08:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|