mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
8486501545
PR target/19938 bfd * elf-bbfd.h (struct elf_backend_data): New field: elf_strtab_flags. New field: elf_backend_set_special_section_info_and_link * elfxx-target.h (elf_backend_strtab_flags): Define if not already defined. (elf_backend_set_special_section_info_and_link): Define if not already defined. (elfNN_bed): Use elf_backend_set_special_section_info_and_link and elf_backend_strtab_flags macros to initialise fields in structure. * elf.c (_bfd_elf_make_section_from_shdr): Check for SHF_STRINGS being set even if SHF_MERGE is not set. (elf_fake_sections): Likewise. (section_match): New function. Matches two ELF sections based upon fixed characteristics. (find_link): New function. Locates a section in a BFD that matches a section in a different BFD. (_bfd_elf_copy_private_bfd_data): Copy the sh_info and sh_link fields of reserved sections. (bfd_elf_compute_section_file_positions): Set the flags for the .shstrtab section based upon the elf_strtab_flags field in the elf_backend_data structure. (swap_out_syms): Likewise for the .strtab section. * elflink.c (bfd_elf_final_link): Set the flags for the .strtab section based upon the elf_strtab_flags field in the elf_backend_data structure. * elf32-i386.c (elf32_i386_set_special_info_link): New function. (elf_backend_strtab_flags): Set to SHF_STRINGS for Solaris targets. (elf_backend_set_special_section_info_and_link): Define for Solaris targets. * elf32-sparc.c: Likewise. * elf64-x86-64.c: Likewise. binutils* testsuite/binutils-all/i386/compressed-1b.d: Allow for the string sections possibly having the SHF_STRINGS flag bit set. * testsuite/binutils-all/i386/compressed-1c.d: Likewise. * testsuite/binutils-all/readelf.s: Likewise. * testsuite/binutils-all/readelf.s-64: Likewise. * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. gas * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string sections possibly having the SHF_STRINGS flag bit set. * testsuite/gas/i386/x86-64-unwind.d: Likewise.
241 lines
7.7 KiB
Plaintext
241 lines
7.7 KiB
Plaintext
2016-04-14 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR target/19938
|
||
* testsuite/binutils-all/i386/compressed-1b.d: Allow for the
|
||
string sections possibly having the SHF_STRINGS flag bit set.
|
||
* testsuite/binutils-all/i386/compressed-1c.d: Likewise.
|
||
* testsuite/binutils-all/readelf.s: Likewise.
|
||
* testsuite/binutils-all/readelf.s-64: Likewise.
|
||
* testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
|
||
* testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
|
||
|
||
2016-04-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR target/19938
|
||
* readelf.c (get_solaris_section_type): New function: Returns the
|
||
name of Solaris specific section types.
|
||
(get_solaris_dynamic_type): New function: Return the name of
|
||
Solaris specific dynamic types.
|
||
(get_dynamic_type): Use get_solaris_dynamic_type.
|
||
(get_section_type_name): Use get_solaris_section_type.
|
||
(get_solaris_symbol_visibility): New function: Returns Solaris
|
||
specific symbol visibilities.
|
||
(print_dynamic_symbol): Use get_solaris_symbol_visibility.
|
||
(process_symbol_table): Likewise.
|
||
|
||
2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||
|
||
* dwarf.h (init_dwarf_regnames_s390): Declare.
|
||
* dwarf.c (dwarf_regnames_s390): New.
|
||
(init_dwarf_regnames_s390): New.
|
||
(init_dwarf_regnames): Call it.
|
||
* objdump.c (dump_dwarf): Likewise.
|
||
|
||
2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
|
||
|
||
* testsuite/binutils-all/mips/mips16-undecoded.d: New test.
|
||
* testsuite/binutils-all/mips/mips16-undecoded.s: New test
|
||
source.
|
||
* testsuite/binutils-all/mips/mips.exp: Run the new test.
|
||
|
||
2016-04-04 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 19872
|
||
* dwarf.c (display_debug_aranges): Skip warning about unrecognised
|
||
version number if the version is zero.
|
||
|
||
2016-03-29 Alan Modra <amodra@gmail.com>
|
||
|
||
* readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
|
||
(get_dynamic_data): Likewise.
|
||
|
||
2016-03-22 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 19851
|
||
* dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
|
||
with run time size check.
|
||
|
||
* configure: Regenerate.
|
||
|
||
2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* readelf.c (decode_ARC_machine_flags): Handle nps400.
|
||
|
||
2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* readelf.c (get_machine_flags): Move arc processing into...
|
||
(decode_ARC_machine_flags): ... new function. Remove use of
|
||
EF_ARC_CPU_GENERIC, change default case from "generic arc" to
|
||
"unknown arc". Merged ABI printing between two machine types.
|
||
|
||
2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
|
||
to the architecture list.
|
||
|
||
2016-03-21 Nick Clifton <nickc@redhat.com>
|
||
|
||
* dlltool.c: Replace use of alloca with call to xmalloc.
|
||
* dllwrap.c: Likewise.
|
||
* nlmconv.c: Likewise.
|
||
* objdump.c: Likewise.
|
||
* resrc.c: Likewise.
|
||
* winduni.c: Likewise.
|
||
* configure: Regenerate.
|
||
|
||
2016-03-07 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/19775
|
||
* testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
|
||
Run the new proc.
|
||
* testsuite/binutils-all/empty: New, empty, file.
|
||
|
||
2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
|
||
|
||
* readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
|
||
|
||
2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/19645
|
||
* NEWS: Mention --elf-stt-common= for objcopy.
|
||
* doc/binutils.texi: Document --elf-stt-common= for objcopy.
|
||
* objcopy.c (do_elf_stt_common): New.
|
||
(command_line_switch): Add OPTION_ELF_STT_COMMON.
|
||
(copy_options): Add --elf-stt-common=.
|
||
(copy_usage): Add --elf-stt-common=.
|
||
(copy_object): Also check do_elf_stt_common for ELF targets.
|
||
(copy_file): Handle do_elf_stt_common.
|
||
(copy_main): Handle OPTION_ELF_STT_COMMON.
|
||
* readelf.c (apply_relocations): Support STT_COMMON.
|
||
* testsuite/binutils-all/common-1.s: New file.
|
||
* testsuite/binutils-all/common-1a.d: Likewise.
|
||
* testsuite/binutils-all/common-1b.d: Likewise.
|
||
* testsuite/binutils-all/common-1c.d: Likewise.
|
||
* testsuite/binutils-all/common-1d.d: Likewise.
|
||
* testsuite/binutils-all/common-1e.d: Likewise.
|
||
* testsuite/binutils-all/common-1f.d: Likewise.
|
||
* testsuite/binutils-all/common-2.s: Likewise.
|
||
* testsuite/binutils-all/common-2a.d: Likewise.
|
||
* testsuite/binutils-all/common-2b.d: Likewise.
|
||
* testsuite/binutils-all/common-2c.d: Likewise.
|
||
* testsuite/binutils-all/common-2d.d: Likewise.
|
||
* testsuite/binutils-all/common-2e.d: Likewise.
|
||
* testsuite/binutils-all/common-2f.d: Likewise.
|
||
* testsuite/binutils-all/objcopy.exp
|
||
(objcopy_test_elf_common_symbols): New proc.
|
||
Run objcopy_test_elf_common_symbols for ELF targets
|
||
|
||
2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/19647
|
||
* readelf.c (get_section_type_name): Add a missing break.
|
||
|
||
2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
|
||
|
||
* readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
|
||
|
||
2016-02-15 Nick Clifton <nickc@redhat.com>
|
||
|
||
* readelf.c (get_section_type_name): Add hex prefix to offsets
|
||
printed for LOPROC and LOOS values. Ensure that a result is
|
||
always returned for the V850 target, even when an unrecognised
|
||
processor specific value is encountered.
|
||
(process_section_headers): Display key values in the order in
|
||
which they appear to the user. Add the "C (compressed)" value to
|
||
the list.
|
||
|
||
2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* doc/binutils.texi: Fix a typo.
|
||
|
||
2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
|
||
|
||
* testsuite/binutils-all/objdump.exp: Update expected default
|
||
architecture value for ARC binaries.
|
||
|
||
2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/19547
|
||
* testsuite/binutils-all/objcopy.exp
|
||
(objcopy_test_without_global_symbol): New proc.
|
||
Run objcopy_test_without_global_symbol.
|
||
* testsuite/binutils-all/pr19547.c: New file.
|
||
|
||
2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/19523
|
||
* Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
|
||
runtest.
|
||
* Makefile.in: Regenerated.
|
||
* testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
|
||
proc.
|
||
Run test_gnu_debuglink for native ELF build.
|
||
|
||
2016-01-20 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 19495
|
||
* testsuite/binutils-all/dlltool.exp: Fix tests for targets which
|
||
do not support inserting leading underscores.
|
||
|
||
2016-01-20 Mickael Guene <mickael.guene@st.com>
|
||
|
||
* readelf.c (get_elf_section_flags): Display y letter for section
|
||
with SHF_ARM_NOREAD section flag in readelf section output.
|
||
(process_section_headers): Add y letter in readelf section output
|
||
key mapping for ARM architecture.
|
||
* objdump.c (dump_section_header): Display NOREAD attributes as
|
||
well.
|
||
* doc/binutils.texi (objdump): Note that it is correct for
|
||
sections to have both the READONLY and NOREAD attributes.
|
||
|
||
2016-01-19 John Baldwin <jhb@FreeBSD.org>
|
||
|
||
* readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
|
||
|
||
2016-01-19 John Baldwin <jhb@FreeBSD.org>
|
||
|
||
* readelf.c (get_freebsd_elfcore_note_type): New
|
||
(process_note): Add support for FreeBSD core notes.
|
||
|
||
2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
|
||
Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
|
||
|
||
* readelf.c (get_machine_flags): Add support for newer ARC ELF
|
||
header flags.
|
||
|
||
2016-01-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2016-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2016-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* testsuite/lib/binutils-common.exp (is_elf_format): Return true
|
||
for m68hc11/12 and xgate triples.
|
||
|
||
2016-01-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
|
||
|
||
2016-01-01 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
|
||
|
||
Copyright (C) 2016 Free Software Foundation, Inc.
|
||
|
||
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.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|