b75d42bce5
When a symbol is absolute, this code in mips_elf_record_got_page_entry entry = bfd_zalloc (sec->owner, sizeof (*entry)); segfaults. sec == bfd_abs_section_ptr and sec->owner == NULL. * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a mips_elf_traverse_got_arg* rather than mips_got_info*. Adjust caller. Alloc on output_bfd rather than symbol section owner.
129 lines
4.0 KiB
Plaintext
129 lines
4.0 KiB
Plaintext
2014-01-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
|
||
mips_elf_traverse_got_arg* rather than mips_got_info*.
|
||
Adjust caller. Alloc on output_bfd rather than symbol section
|
||
owner.
|
||
|
||
2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
|
||
change.
|
||
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
|
||
|
||
2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/16428
|
||
* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs
|
||
against __ehdr_start.
|
||
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
|
||
|
||
2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
|
||
change.
|
||
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
|
||
|
||
2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/16428
|
||
* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
|
||
count if there are any non pc-relative relocs.
|
||
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
|
||
|
||
2014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org>
|
||
Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
|
||
|
||
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
|
||
offset while calculating relocation address.
|
||
(elfNN_aarch64_create_small_pltn_entry): Likewise.
|
||
(elfNN_aarch64_init_small_plt0_entry): Likewise.
|
||
|
||
2014-01-13 Ma Jiang <ma.jiang@zte.com.cn>
|
||
|
||
PR ld/16202
|
||
* elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for
|
||
R_ARM_ABS8 and R_ARM_ABS16.
|
||
|
||
2014-01-13 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc,
|
||
error when shared and force a plt call otherwise.
|
||
(ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless
|
||
plt_type == PLT_NEW.
|
||
(ppc_elf_relocate_section): Add missing test to resolve ifuncs to
|
||
the appropriate call stub.
|
||
|
||
2014-01-10 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/14207
|
||
PR ld/16322
|
||
PR binutils/16323
|
||
* elf.c (assign_file_positions_for_load_sections): Revert last change.
|
||
(assign_file_positions_for_non_load_sections): When setting up
|
||
PT_GNU_RELRO header, don't require a corresponding PT_LOAD
|
||
header that completely covers the relro region.
|
||
|
||
2014-01-09 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump
|
||
table macros and add macros to initializa the structure.
|
||
|
||
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/14207
|
||
PR ld/16322
|
||
PR binutils/16323
|
||
* elf.c (_bfd_elf_map_sections_to_segments): Don't check section
|
||
size for PT_GNU_RELRO segment.
|
||
(assign_file_positions_for_load_sections): If PT_LOAD segment
|
||
doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
|
||
|
||
2014-01-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility
|
||
wrappers.
|
||
|
||
2014-01-03 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/16199
|
||
* elf.c (vma_page_aligned_bias): Handle a maxpagesize value of
|
||
zero.
|
||
|
||
2014-01-02 Yuanhui Zhang <asmwarrior@gmail.com>
|
||
|
||
PR binutils/14289
|
||
* pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80.
|
||
|
||
2014-01-02 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/11983
|
||
* archive.c (_bfd_get_elt_at_filepos): Store a copy of the
|
||
filename in the bfd's filename field.
|
||
* elfcode.h (bfd_from_remote_memory): Likewise.
|
||
* ieee.c (ieee_object_p): Likewise.
|
||
* mach-o.c (bfd_mach_o_fat_member_init): Likewise.
|
||
* oasys.c (oasys_openr_next_archived_file): Likewise.
|
||
* vms-lib.c (_bfd_vms_lib_get_module): Likewise.
|
||
* opncls.c (bfd_fopen): Likewise.
|
||
(bfd_openstreamr): Likewise.
|
||
(bfd_openr_iovec): Likewise.
|
||
(bfd_openw): Likewise.
|
||
(bfd_create): Likewise.
|
||
(_bfd_delete_bfd): Free filename.
|
||
|
||
For older changes see ChangeLog-2013
|
||
|
||
Copyright (C) 2014 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:
|