]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/ChangeLog
Fixes powerpc64le ld segfaults when --emit-relocs is used.
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
1 2014-01-24 Alan Modra <amodra@gmail.com>
2
3 * elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed
4 to get_relocs for ELFv2.
5
6 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR ld/16498
9 * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error
10 if TLS sections are not adjacent.
11
12 2014-01-22 Alan Modra <amodra@gmail.com>
13
14 * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed.
15
16 2014-01-22 Alan Modra <amodra@gmail.com>
17
18 * elf64-ppc.c (STK_LINKER): Comment typo fix.
19
20 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
21
22 PR ld/16467
23 * elflink.c (_bfd_elf_merge_symbol): When types of the existing
24 regular default symbol definition and the versioned dynamic
25 symbol definition mismatch, skip the default symbol definition
26 if one of them is IFUNC.
27
28 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
29
30 PR ld/2404
31 * elflink.c (_bfd_elf_merge_symbol): Don't check info->shared,
32 info->export_dynamic nor h->ref_dynamic for type mismatch when
33 adding the default version.
34
35 2014-01-16 Alan Modra <amodra@gmail.com>
36
37 * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
38 mips_elf_traverse_got_arg* rather than mips_got_info*.
39 Adjust caller. Alloc on output_bfd rather than symbol section
40 owner.
41
42 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
43
44 * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
45 change.
46 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
47
48 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR ld/16428
51 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs
52 against __ehdr_start.
53 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
54
55 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
56
57 * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
58 change.
59 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
60
61 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
62
63 PR ld/16428
64 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
65 count if there are any non pc-relative relocs.
66 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
67
68 2014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org>
69 Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
70
71 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
72 offset while calculating relocation address.
73 (elfNN_aarch64_create_small_pltn_entry): Likewise.
74 (elfNN_aarch64_init_small_plt0_entry): Likewise.
75
76 2014-01-13 Ma Jiang <ma.jiang@zte.com.cn>
77
78 PR ld/16202
79 * elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for
80 R_ARM_ABS8 and R_ARM_ABS16.
81
82 2014-01-13 Alan Modra <amodra@gmail.com>
83
84 * elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc,
85 error when shared and force a plt call otherwise.
86 (ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless
87 plt_type == PLT_NEW.
88 (ppc_elf_relocate_section): Add missing test to resolve ifuncs to
89 the appropriate call stub.
90
91 2014-01-10 Alan Modra <amodra@gmail.com>
92
93 PR ld/14207
94 PR ld/16322
95 PR binutils/16323
96 * elf.c (assign_file_positions_for_load_sections): Revert last change.
97 (assign_file_positions_for_non_load_sections): When setting up
98 PT_GNU_RELRO header, don't require a corresponding PT_LOAD
99 header that completely covers the relro region.
100
101 2014-01-09 Tristan Gingold <gingold@adacore.com>
102
103 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump
104 table macros and add macros to initializa the structure.
105
106 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
107
108 PR ld/14207
109 PR ld/16322
110 PR binutils/16323
111 * elf.c (_bfd_elf_map_sections_to_segments): Don't check section
112 size for PT_GNU_RELRO segment.
113 (assign_file_positions_for_load_sections): If PT_LOAD segment
114 doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
115
116 2014-01-07 Tom Tromey <tromey@redhat.com>
117
118 * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility
119 wrappers.
120
121 2014-01-03 Nick Clifton <nickc@redhat.com>
122
123 PR binutils/16199
124 * elf.c (vma_page_aligned_bias): Handle a maxpagesize value of
125 zero.
126
127 2014-01-02 Yuanhui Zhang <asmwarrior@gmail.com>
128
129 PR binutils/14289
130 * pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80.
131
132 2014-01-02 Nick Clifton <nickc@redhat.com>
133
134 PR binutils/11983
135 * archive.c (_bfd_get_elt_at_filepos): Store a copy of the
136 filename in the bfd's filename field.
137 * elfcode.h (bfd_from_remote_memory): Likewise.
138 * ieee.c (ieee_object_p): Likewise.
139 * mach-o.c (bfd_mach_o_fat_member_init): Likewise.
140 * oasys.c (oasys_openr_next_archived_file): Likewise.
141 * vms-lib.c (_bfd_vms_lib_get_module): Likewise.
142 * opncls.c (bfd_fopen): Likewise.
143 (bfd_openstreamr): Likewise.
144 (bfd_openr_iovec): Likewise.
145 (bfd_openw): Likewise.
146 (bfd_create): Likewise.
147 (_bfd_delete_bfd): Free filename.
148
149 For older changes see ChangeLog-2013
150 \f
151 Copyright (C) 2014 Free Software Foundation, Inc.
152
153 Copying and distribution of this file, with or without modification,
154 are permitted in any medium without royalty provided the copyright
155 notice and this notice are preserved.
156
157 Local Variables:
158 mode: change-log
159 left-margin: 8
160 fill-column: 74
161 version-control: never
162 End: