non-PIC references to __ehdr_start in pie and shared
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
818d220a
L
12014-01-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/16428
4 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs
5 against __ehdr_start.
6 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
7
c3ce498c
L
82014-01-14 H.J. Lu <hongjiu.lu@intel.com>
9
10 * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
11 change.
12 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
13
d1ec1e40
L
142014-01-14 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR ld/16428
17 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
18 count if there are any non pc-relative relocs.
19 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
20
f44a1f8e
CL
212014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org>
22 Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
23
24 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
25 offset while calculating relocation address.
26 (elfNN_aarch64_create_small_pltn_entry): Likewise.
27 (elfNN_aarch64_init_small_plt0_entry): Likewise.
28
fd0fd00c
MJ
292014-01-13 Ma Jiang <ma.jiang@zte.com.cn>
30
31 PR ld/16202
32 * elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for
33 R_ARM_ABS8 and R_ARM_ABS16.
34
aa726b9e
AM
352014-01-13 Alan Modra <amodra@gmail.com>
36
37 * elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc,
38 error when shared and force a plt call otherwise.
39 (ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless
40 plt_type == PLT_NEW.
41 (ppc_elf_relocate_section): Add missing test to resolve ifuncs to
42 the appropriate call stub.
43
eec2f3ed
AM
442014-01-10 Alan Modra <amodra@gmail.com>
45
46 PR ld/14207
47 PR ld/16322
48 PR binutils/16323
49 * elf.c (assign_file_positions_for_load_sections): Revert last change.
50 (assign_file_positions_for_non_load_sections): When setting up
51 PT_GNU_RELRO header, don't require a corresponding PT_LOAD
52 header that completely covers the relro region.
53
09bf66a8
TG
542014-01-09 Tristan Gingold <gingold@adacore.com>
55
56 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump
57 table macros and add macros to initializa the structure.
58
43a8475c
L
592014-01-08 H.J. Lu <hongjiu.lu@intel.com>
60
61 PR ld/14207
62 PR ld/16322
63 PR binutils/16323
64 * elf.c (_bfd_elf_map_sections_to_segments): Don't check section
65 size for PT_GNU_RELRO segment.
66 (assign_file_positions_for_load_sections): If PT_LOAD segment
67 doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
68
1651e569
TT
692014-01-07 Tom Tromey <tromey@redhat.com>
70
71 * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility
72 wrappers.
73
dc9155b2
NC
742014-01-03 Nick Clifton <nickc@redhat.com>
75
76 PR binutils/16199
77 * elf.c (vma_page_aligned_bias): Handle a maxpagesize value of
78 zero.
79
dd8dfa39 802014-01-02 Yuanhui Zhang <asmwarrior@gmail.com>
044387af
A
81
82 PR binutils/14289
83 * pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80.
84
1be5090b
NC
852014-01-02 Nick Clifton <nickc@redhat.com>
86
87 PR binutils/11983
88 * archive.c (_bfd_get_elt_at_filepos): Store a copy of the
89 filename in the bfd's filename field.
90 * elfcode.h (bfd_from_remote_memory): Likewise.
91 * ieee.c (ieee_object_p): Likewise.
92 * mach-o.c (bfd_mach_o_fat_member_init): Likewise.
93 * oasys.c (oasys_openr_next_archived_file): Likewise.
94 * vms-lib.c (_bfd_vms_lib_get_module): Likewise.
95 * opncls.c (bfd_fopen): Likewise.
96 (bfd_openstreamr): Likewise.
97 (bfd_openr_iovec): Likewise.
98 (bfd_openw): Likewise.
99 (bfd_create): Likewise.
100 (_bfd_delete_bfd): Free filename.
101
5fb776a6 102For older changes see ChangeLog-2013
56882138 103\f
5fb776a6 104Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
105
106Copying and distribution of this file, with or without modification,
107are permitted in any medium without royalty provided the copyright
108notice and this notice are preserved.
109
56882138
AM
110Local Variables:
111mode: change-log
112left-margin: 8
113fill-column: 74
114version-control: never
115End:
This page took 0.865365 seconds and 4 git commands to generate.