Commit | Line | Data |
---|---|---|
4b05e0a7 PA |
1 | 2016-03-09 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * cpu-v850.c (N): Append ":old-gcc-abi" instead of " (using old | |
4 | gcc ABI)" to printable name. | |
5 | * cpu-v850_rh850.c (bfd_v850_rh850_arch): Use "v850:rh850" instead | |
6 | of "v850-rh850" as printable name. | |
7 | ||
26c62da0 LW |
8 | 2016-03-09 Leon Winter <winter-gcc@bfw-online.de> |
9 | ||
10 | PR ld/19623 | |
11 | * cofflink.c (_bfd_coff_generic_relocate_section): Do not apply | |
12 | relocations against absolute symbols. | |
13 | ||
03ee8583 AM |
14 | 2016-03-09 Alan Modra <amodra@gmail.com> |
15 | ||
16 | PR binutils/19775 | |
17 | * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Allow zero | |
18 | length elements in the archive. | |
19 | ||
9c1d7a08 L |
20 | 2016-03-08 H.J. Lu <hongjiu.lu@intel.com> |
21 | ||
22 | PR ld/19789 | |
23 | * elflink.c (elf_link_add_object_symbols): Create dynamic sections | |
24 | for -E/--dynamic-list only when not relocatable. | |
25 | ||
d1ed1c7d L |
26 | 2016-03-08 H.J. Lu <hongjiu.lu@intel.com> |
27 | ||
28 | PR ld/19784 | |
29 | * elf32-i386.c (elf_i386_check_relocs): Increment PLT reference | |
30 | count for locally defined local IFUNC symbols in shared object. | |
31 | * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. | |
32 | ||
202ac193 L |
33 | 2016-03-08 H.J. Lu <hongjiu.lu@intel.com> |
34 | ||
35 | PR ld/19579 | |
36 | * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking | |
37 | together. | |
38 | ||
72f3b6aa CZ |
39 | 2016-03-08 Cupertino Miranda <Cupertino.Miranda@synopsys.com> |
40 | Andrew Burgess <andrew.burgess@embecosm.com> | |
41 | ||
42 | * elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32. | |
43 | (arc_bfd_put_32): Becomes an alias for bfd_put_32. | |
44 | (arc_elf_howto_init): Added assert to validate relocations. | |
45 | (get_middle_endian_relocation): Delete. | |
46 | (middle_endian_convert): New function. | |
47 | (ME): Redefine, now does nothing. | |
48 | (IS_ME): New define. | |
49 | (arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO' | |
50 | definition to call middle_endian_convert. Add a new local | |
51 | variable and make use of this throughout. Added call to | |
52 | arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations. | |
53 | ||
4fc87424 NC |
54 | 2016-03-07 Nick Clifton <nickc@redhat.com> |
55 | ||
56 | PR binutils/19775 | |
57 | * archive.c (bfd_generic_openr_next_archived_file): Allow zero | |
58 | length elements in the archive. | |
59 | ||
18f822a0 JW |
60 | 2016-03-07 Jiong Wang <jiong.wang@arm.com> |
61 | ||
62 | * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got | |
63 | section if the symbol "_GLOBAL_OFFSET_TABLE_" is referenced. | |
64 | ||
07492f66 L |
65 | 2016-03-04 H.J. Lu <hongjiu.lu@intel.com> |
66 | ||
67 | PR ld/19579 | |
68 | * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in | |
69 | executable as definition if the new definition comes from a | |
70 | shared library. | |
71 | ||
70a5df4f AM |
72 | 2016-03-02 Alan Modra <amodra@gmail.com> |
73 | ||
74 | * Makefile.in: Regenerate. | |
75 | * po/SRC-POTFILES.in: Regenerate. | |
76 | ||
841fdfcd CZ |
77 | 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com> |
78 | ||
79 | * elf32-arc.c (elf_arc_relocate_section): Added rules to fix the | |
80 | relocation addend when sections get merged. | |
81 | ||
7e458899 CZ |
82 | 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com> |
83 | ||
84 | * elf32-arc.c (arc_elf_final_write_processing): Add condition to | |
85 | the flag change. | |
86 | (elf_arc_relocate_section): Fixes and conditions to support PIE. | |
87 | Assert for code sections dynamic relocs. | |
88 | ||
c5e3a364 RL |
89 | 2016-02-26 Renlin Li <renlin.li@arm.com> |
90 | ||
91 | * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow | |
92 | check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2. | |
93 | ||
bae420ef L |
94 | 2016-02-26 H.J. Lu <hongjiu.lu@intel.com> |
95 | ||
96 | PR ld/19609 | |
97 | * elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for | |
98 | load with locally bound symbols if PIC is false or there is no | |
99 | base register. Optimize branch to 0 if PIC is false. | |
100 | (elf_i386_relocate_section): Don't generate dynamic relocations | |
101 | against undefined weak symbols if PIC is false. | |
102 | * elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization | |
103 | if we can't estimate relocation overflow with --no-relax. | |
104 | Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound | |
105 | symbols if PIC is false. Optimize branch to 0 if PIC is false. | |
106 | (elf_x86_64_relocate_section): Don't generate dynamic relocations | |
107 | against undefined weak symbols if PIC is false. | |
108 | ||
11e5f1ec L |
109 | 2016-02-26 H.J. Lu <hongjiu.lu@intel.com> |
110 | ||
111 | PR ld/19645 | |
112 | * bfd.c (bfd): Change flags to 20 bits. | |
113 | (BFD_CONVERT_ELF_COMMON): New. | |
114 | (BFD_USE_ELF_STT_COMMON): Likewise. | |
115 | (BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and | |
116 | BFD_USE_ELF_STT_COMMON. | |
117 | (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise. | |
118 | * configure.ac: Remove --enable-elf-stt-common. | |
119 | * elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for | |
120 | common symbol depending on BFD_CONVERT_ELF_COMMON and | |
121 | BFD_USE_ELF_STT_COMMON. | |
122 | * elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for | |
123 | STT_COMMON. | |
124 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check | |
125 | STT_COMMON. | |
126 | (elf_link_convert_common_type): New function. | |
127 | (elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for | |
128 | common symbol depending on BFD_CONVERT_ELF_COMMON and | |
129 | BFD_USE_ELF_STT_COMMON. Set sym.st_info after sym.st_shndx. | |
130 | * elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON | |
131 | and BFD_USE_ELF_STT_COMMON to object_flags. | |
132 | (TARGET_LITTLE_SYM): Likewise. | |
133 | * syms.c (BSF_KEEP_G): Renamed to ... | |
134 | (BSF_ELF_COMMON): This. | |
135 | * bfd-in2.h: Regenerated. | |
136 | * config.in: Likewise. | |
137 | * configure: Likewise. | |
138 | ||
aec6b87e L |
139 | 2016-02-26 H.J. Lu <hongjiu.lu@intel.com> |
140 | ||
141 | PR ld/19636 | |
142 | PR ld/19704 | |
143 | PR ld/19719 | |
144 | * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New. | |
145 | (elf_i386_link_hash_entry): Add has_got_reloc and | |
146 | has_non_got_reloc. | |
147 | (elf_i386_link_hash_table): Add interp. | |
148 | (elf_i386_link_hash_newfunc): Initialize has_got_reloc and | |
149 | has_non_got_reloc. | |
150 | (elf_i386_copy_indirect_symbol): Copy has_got_reloc and | |
151 | has_non_got_reloc. | |
152 | (elf_i386_check_relocs): Set has_got_reloc and has_non_got_reloc. | |
153 | (elf_i386_fixup_symbol): New function. | |
154 | (elf_i386_pie_finish_undefweak_symbol): Likewise. | |
155 | (elf_i386_allocate_dynrelocs): Don't allocate space for dynamic | |
156 | relocations and discard relocations against resolved undefined | |
157 | weak symbols in executable. Don't make resolved undefined weak | |
158 | symbols in executable dynamic. Keep dynamic non-GOT/non-PLT | |
159 | relocation against undefined weak symbols in PIE. | |
160 | (elf_i386_size_dynamic_sections): Set interp to .interp section. | |
161 | (elf_i386_relocate_section): Don't generate dynamic relocations | |
162 | against resolved undefined weak symbols in PIE, except for | |
163 | R_386_PC32. | |
164 | (elf_i386_finish_dynamic_symbol): Keep PLT/GOT entries without | |
165 | dynamic PLT/GOT relocations for resolved undefined weak symbols. | |
166 | Don't generate dynamic relocation against resolved undefined weak | |
167 | symbol in executable. | |
168 | (elf_i386_finish_dynamic_sections): Call | |
169 | elf_i386_pie_finish_undefweak_symbol on all symbols in PIE. | |
170 | (elf_backend_fixup_symbol): New. | |
171 | * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New. | |
172 | (elf_x86_64_link_hash_entry): Add has_got_reloc and | |
173 | has_non_got_reloc. | |
174 | (elf_x86_64_link_hash_table): Add interp. | |
175 | (elf_x86_64_link_hash_newfunc): Initialize has_got_reloc and | |
176 | has_non_got_reloc. | |
177 | (elf_x86_64_copy_indirect_symbol): Copy has_got_reloc and | |
178 | has_non_got_reloc. | |
179 | (elf_x86_64_check_relocs): Set has_got_reloc and | |
180 | has_non_got_reloc. | |
181 | (elf_x86_64_fixup_symbol): New function. | |
182 | (elf_x86_64_pie_finish_undefweak_symbol): Likewise. | |
183 | (elf_x86_64_allocate_dynrelocs): Don't allocate space for dynamic | |
184 | relocations and discard relocations against resolved undefined | |
185 | weak symbols in executable. Don't make resolved undefined weak | |
186 | symbols in executable dynamic. | |
187 | (elf_x86_64_size_dynamic_sections): Set interp to .interp section. | |
188 | (elf_x86_64_relocate_section): Check relocation overflow for | |
189 | dynamic relocations against unresolved weak undefined symbols. | |
190 | Don't generate dynamic relocations against resolved weak | |
191 | undefined symbols in PIE. | |
192 | (elf_x86_64_finish_dynamic_symbol): Keep PLT/GOT entries without | |
193 | dynamic PLT/GOT relocations for resolved undefined weak symbols. | |
194 | Don't generate dynamic relocation against resolved undefined weak | |
195 | symbol in executable. | |
196 | (elf_x86_64_finish_dynamic_sections): Call | |
197 | elf_x86_64_pie_finish_undefweak_symbol on all symbols in PIE. | |
198 | (elf_backend_fixup_symbol): New. | |
199 | ||
b32547cd AM |
200 | 2016-02-26 Alan Modra <amodra@gmail.com> |
201 | ||
202 | * elf64-ppc.c (create_linkage_sections): Create sfpr when | |
203 | save_restore_funcs, rest of sections when not relocatable. | |
204 | (ppc64_elf_init_stub_bfd): Always call create_linkage_sections. | |
205 | (sfpr_define): Define all symbols on emitted code. | |
206 | (ppc64_elf_func_desc_adjust): Adjust for sfpr now being created | |
207 | when relocatable. Move sfpr_define loop earlier. | |
208 | ||
ef77d6af L |
209 | 2016-02-24 H.J. Lu <hongjiu.lu@intel.com> |
210 | ||
211 | * elf64-x86-64.c (elf_x86_64_need_pic): New function. | |
212 | (elf_x86_64_relocate_section): Use it. Replace | |
213 | x86_64_elf_howto_table[r_type] with howto. | |
214 | ||
0f550b3d L |
215 | 2016-02-24 H.J. Lu <hongjiu.lu@intel.com> |
216 | ||
217 | PR ld/19698 | |
218 | * elflink.c (bfd_elf_record_link_assignment): Set versioned if | |
219 | symbol version is unknown. | |
220 | ||
13f42277 L |
221 | 2016-02-24 H.J. Lu <hongjiu.lu@intel.com> |
222 | ||
223 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset | |
224 | to (bfd_vma) -1 when setting needs_plt to 0. | |
225 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
226 | ||
6b3b0ab8 L |
227 | 2016-02-23 H.J. Lu <hongjiu.lu@intel.com> |
228 | ||
229 | * elflink.c (bfd_elf_record_link_assignment): Check for shared | |
230 | library, instead of PIC, and don't check PDE when making linker | |
231 | assigned symbol dynamic. | |
232 | ||
17733f5b FS |
233 | 2016-02-23 Faraz Shahbazker <faraz.shahbazker@imgtec.com> |
234 | ||
235 | * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment | |
236 | ABIVERSION for non-executable stack. | |
237 | ||
47993b4a RF |
238 | 2016-02-23 Rich Felker <bugdal@aerifal.cx> |
239 | ||
240 | PR target/19516 | |
241 | * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): | |
242 | Always produce a RELATIVE reloc for a local symbol. | |
243 | ||
2d8dcb81 HPN |
244 | 2016-02-23 Hans-Peter Nilsson <hp@axis.com> |
245 | ||
246 | Fix test-case ld-elf/pr19617b | |
247 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
248 | discard unused non-function symbols when --dynamic-list-data. | |
249 | ||
1a6e6083 L |
250 | 2016-02-22 H.J. Lu <hongjiu.lu@intel.com> |
251 | ||
252 | * elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the | |
253 | dynsym section, even if it is empty, with dynamic sections. | |
254 | ||
75c1920b L |
255 | 2016-02-22 H.J. Lu <hongjiu.lu@intel.com> |
256 | ||
257 | * syms.c: Remove BSF_COMMON from comments. | |
258 | * bfd-in2.h: Regenerated. | |
259 | ||
9a228467 JW |
260 | 2016-02-22 Jiong Wang <jiong.wang@arm.com> |
261 | ||
262 | * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation | |
263 | for destination. Remove useless function parameters. | |
264 | (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub. | |
265 | ||
73768414 NC |
266 | 2016-02-19 Nick Clifton <nickc@redhat.com> |
267 | ||
e517df3d NC |
268 | PR ld/19629 |
269 | * aoutx.h (aout_link_add_symbols): Check for out of range string | |
270 | table offsets. | |
271 | ||
73768414 NC |
272 | PR ld/19628 |
273 | * reloc.c (bfd_generic_get_relocated_section_contents): Stop | |
274 | processing if we encounter a reloc without an associated symbol. | |
275 | ||
bf89386a L |
276 | 2016-02-18 H.J. Lu <hongjiu.lu@intel.com> |
277 | ||
278 | PR ld/19617 | |
279 | * elflink.c (elf_link_add_object_symbols): Always create dynamic | |
280 | sections for -E/--dynamic-list. | |
281 | ||
8f79b794 L |
282 | 2016-02-17 H.J. Lu <hongjiu.lu@intel.com> |
283 | ||
284 | * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined | |
285 | to bfd_true. | |
286 | ||
64bfc258 JM |
287 | 2016-02-16 Joseph Myers <joseph@codesourcery.com> |
288 | ||
289 | * plugin.c (plugin_vec): Set match priority to 255. | |
290 | * format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When | |
291 | matching against the plugin vector, take priority from there not | |
292 | from TEMP. | |
293 | ||
9fb71ee4 NC |
294 | 2016-02-15 Nick Clifton <nickc@redhat.com> |
295 | ||
296 | * elf-bfd.h (struct bfd_elf_special_section): Use unsigned values | |
297 | for length and type fields. Use a signed value for the | |
298 | suffix_length field. | |
299 | ||
32875eb1 L |
300 | 2016-02-10 H.J. Lu <hongjiu.lu@intel.com> |
301 | ||
302 | PR ld/19601 | |
303 | * elf32-i386.c (elf_i386_relocate_section): Mask off the least | |
304 | significant bit in GOT offset for R_386_GOT32X. | |
305 | ||
83da6e74 NC |
306 | 2016-02-10 Nick Clifton <nickc@redhat.com> |
307 | ||
308 | PR 19405 | |
309 | * elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed | |
310 | immediate values. | |
311 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the | |
312 | number of messages about FDE encoding preventing .eh_frame_hdr | |
313 | generation. | |
314 | ||
027e9c75 NC |
315 | 2016-02-09 Nick Clifton <nickc@redhat.com> |
316 | ||
609332f1 NC |
317 | * oasys.c (oasys_archive_p): Fix indentation. |
318 | * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned | |
319 | constant for left shifting. | |
320 | ||
027e9c75 NC |
321 | * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more |
322 | helpful warning message to explain why certain AArch64 relocs | |
323 | might overflow. | |
324 | ||
6f57d046 SM |
325 | 2016-02-05 Simon Marchi <simon.marchi@ericsson.com> |
326 | ||
327 | * pe-mips.c (coff_mips_reloc): Fix formatting. | |
328 | ||
bdbca4e6 CM |
329 | 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com> |
330 | ||
331 | * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2 | |
332 | to bfd_mach_arc_arc600. | |
333 | ||
4f038ee5 AM |
334 | 2016-02-04 Alan Modra <amodra@gmail.com> |
335 | ||
336 | * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch | |
337 | for big-endian. | |
338 | ||
4a539596 L |
339 | 2016-02-02 H.J. Lu <hongjiu.lu@intel.com> |
340 | ||
341 | PR ld/19542 | |
342 | * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated | |
fb06f1c0 | 343 | distances in the compressed_size field of the output section. |
4a539596 | 344 | |
85fabe71 AM |
345 | 2016-02-02 Alan Modra <amodra@gmail.com> |
346 | ||
347 | * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict | |
348 | ELFv2 entry optimization. | |
349 | ||
14f2c699 L |
350 | 2016-02-02 H.J. Lu <hongjiu.lu@intel.com> |
351 | ||
352 | PR binutils/19547 | |
353 | * elf.c (assign_section_numbers): Clear HAS_RELOC if there are | |
354 | no relocations in relocatable files. | |
355 | ||
aef28989 L |
356 | 2016-02-01 H.J. Lu <hongjiu.lu@intel.com> |
357 | ||
358 | PR ld/19553 | |
359 | * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED | |
360 | if a symbol from a library loaded via DT_NEEDED doesn't match | |
361 | the symbol referenced by regular object. | |
362 | ||
655ed9ea NS |
363 | 2016-02-01 Nathaniel Smith <njs@pobox.com> |
364 | ||
365 | * peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both | |
366 | CODE and DATA. | |
367 | ||
ec1f73bb AM |
368 | 2016-02-01 Alan Modra <amodra@gmail.com> |
369 | ||
370 | * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on | |
371 | an out of range reloc_index. | |
372 | * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise. | |
373 | ||
b6471e6e KR |
374 | 2016-02-01 Kamil Rytarowski <n54@gmx.com> |
375 | ||
376 | * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo. | |
377 | (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c. | |
378 | * Makefile.in: Regenerated. | |
379 | ||
0bc7245a JK |
380 | 2016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
381 | ||
382 | * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation. | |
383 | ||
6d4b2867 JDA |
384 | 2016-01-31 John David Anglin <danglin@gcc.gnu.org> |
385 | ||
386 | PR ld/19526 | |
387 | * elf32-hppa.c (elf32_hppa_final_link): Don't sort non-regular output | |
388 | files. | |
389 | * elf64-hppa.c (elf32_hppa_final_link): Likewise. Remove retval. | |
390 | ||
d9e3b590 L |
391 | 2016-01-30 H.J. Lu <hongjiu.lu@intel.com> |
392 | ||
393 | PR ld/19539 | |
394 | * elf32-i386.c (elf_i386_reloc_type_class): Check relocation | |
395 | against STT_GNU_IFUNC symbol only with dynamic symbols. | |
396 | * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise. | |
397 | ||
bf150a0b L |
398 | 2016-01-28 H.J. Lu <hongjiu.lu@intel.com> |
399 | ||
400 | PR binutils/19523 | |
401 | * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to | |
402 | decompress debug sections. | |
403 | ||
840855c5 MR |
404 | 2016-01-25 Maciej W. Rozycki <macro@imgtec.com> |
405 | ||
406 | * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to | |
407 | `dynindx'. | |
408 | ||
cf466c2a NC |
409 | 2016-01-25 Nick Clifton <nickc@redhat.com> |
410 | ||
411 | PR target/19435 | |
412 | * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free | |
413 | dsym filename buffer. | |
414 | ||
eb6b0cf4 MR |
415 | 2016-01-24 Maciej W. Rozycki <macro@imgtec.com> |
416 | ||
417 | * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation. | |
418 | ||
e67f83e5 MR |
419 | 2016-01-24 Maciej W. Rozycki <macro@imgtec.com> |
420 | ||
421 | * elfxx-mips.c (BZ16_REG): Correct calculation. | |
422 | ||
23a42089 NC |
423 | 2016-01-21 Nick Clifton <nickc@redhat.com> |
424 | ||
425 | * elf32-arc.c (ADD_RELA): Fix compile time warning errors by | |
426 | changing the type of _loc to be bfd_byte *. | |
427 | (elf_arc_finish_dynamic_symbol): Likewise. | |
428 | ||
aebf9be7 NC |
429 | 2016-01-21 Nick Clifton <nickc@redhat.com> |
430 | ||
431 | PR ld/19455 | |
432 | * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF | |
433 | class of the linker stub bfd. | |
434 | (elf32_arm_check_relocs): Skip check for pic format after | |
435 | processing a vxWorks R_ARM_ABS12 reloc. | |
436 | * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when | |
437 | reporting a class mismatch. | |
438 | ||
2f340668 JW |
439 | 2016-01-21 Jiong Wang <jiong.wang@arm.com> |
440 | ||
441 | * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch | |
442 | veneer for sym_sec != input_sec. | |
443 | (elfNN_aarch64_size_stub): Support STT_SECTION symbol. | |
444 | (elfNN_aarch64_final_link_relocate): Take rela addend into account when | |
445 | calculation destination. | |
446 | ||
aeb70569 AM |
447 | 2016-01-21 Alan Modra <amodra@gmail.com> |
448 | ||
449 | * elf-linux-core.h (swap_linux_prpsinfo32_out): New function. | |
450 | (swap_linux_prpsinfo64_out): New function. | |
451 | (LINUX_PRPSINFO32_SWAP_FIELDS): Delete. | |
452 | (LINUX_PRPSINFO64_SWAP_FIELDS): Delete. | |
453 | * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset. | |
454 | (elfcore_write_linux_prpsinfo64): Likewise. | |
455 | * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function. | |
456 | (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete. | |
457 | (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset. | |
458 | ||
de64ce13 AM |
459 | 2016-01-21 Alan Modra <amodra@gmail.com> |
460 | ||
461 | * elf-linux-core.h: Rename from elf-linux-psinfo.h. | |
462 | * elf.c: Adjust #include. | |
463 | * elf32-ppc.c: Don't #include elf-linux-psinfo.h | |
464 | * Makefile.am (SOURCE_HFILES): Update. | |
465 | * Makefile.in: Regenerate. | |
466 | * po/SRC-PORFILES.in: Regenerate. | |
467 | ||
c603b11b AM |
468 | 2016-01-21 Alan Modra <amodra@gmail.com> |
469 | ||
470 | * configure.ac: Move corefile selection later in file. Move | |
471 | tdefaults code immediately after other target vector code. | |
472 | * configure: Regenerate. | |
473 | ||
91f68a68 MG |
474 | 2016-01-20 Mickael Guene <mickael.guene@st.com> |
475 | ||
476 | * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread | |
477 | section using '.text.noread' pattern. | |
478 | ||
5b2c414d JB |
479 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
480 | ||
481 | * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes. | |
482 | ||
34e967a5 MC |
483 | 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com> |
484 | Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com> | |
485 | ||
486 | * arc-plt.def: New file. | |
487 | * arc-plt.h: Likewise. | |
488 | * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry, | |
489 | elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry, | |
490 | elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry, | |
491 | elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove. | |
492 | (name_for_global_symbol): Added. | |
493 | (ADD_RELA): Helper to create dynamic relocs. | |
494 | (new_got_entry_to_list): Create a new got entry in linked list. | |
495 | (symbol_has_entry_of_type): Search for specific type of entry in | |
496 | list. | |
497 | (is_reloc_for_GOT): return FALSE for any TLS related relocs. | |
498 | (is_reloc_for_TLS, arc_elf_set_private_flags) | |
499 | (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data) | |
500 | (arc_elf_merge_private_bfd_data): New functions. | |
501 | (debug_arc_reloc): Cleaned debug info printing. | |
502 | (PDATA reloc): Changed not to perform address alignment. | |
503 | (reverse_me): Added. Fix for ARC_32 relocs. | |
504 | (arc_do_relocation): Return bfd_reloc_of when no relocation should | |
505 | occur. | |
506 | (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets. | |
507 | Changed function to access an array of list of GOT entries instead | |
508 | of just an array of offsets. | |
509 | (elf_arc_relocate_section): Added support for PIC and TLS related relocations. | |
510 | (elf_arc_check_relocs): Likewise. | |
511 | (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol, | |
512 | (elf_arc_finish_dynamic_sections): Likewise | |
513 | (arc_create_dynamic_sections): Modified conditions to create | |
514 | dynamic sections. | |
515 | (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro. | |
516 | (plt_do_relocs_for_symbol, relocate_plt_for_symbol) | |
517 | (relocate_plt_for_entry): Changed to support new way to define PLT | |
518 | related code. | |
519 | (add_symbol_to_plt): Likewise. | |
520 | (arc_elf_link_hash_table_create): New function. | |
521 | ||
9ae678af NC |
522 | 2016-01-18 Nick Clifton <nickc@redhat.com> |
523 | ||
524 | PR ld/19440 | |
525 | * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external | |
526 | section number into internal section number. | |
527 | * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise. | |
528 | * coffswap.h (coff_swap_sym_in): Likewise. | |
529 | * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise. | |
530 | * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal | |
531 | section number field is big enough to hold the external value. | |
532 | ||
5c14705f AM |
533 | 2016-01-17 Alan Modra <amodra@gmail.com> |
534 | ||
535 | * configure: Regenerate. | |
536 | ||
ac06903d YU |
537 | 2016-01-12 Yury Usishchev <y.usishchev@samsung.com> |
538 | ||
539 | * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind | |
540 | when address in first unwind entry does not match start of | |
541 | section. | |
542 | ||
109575d7 JW |
543 | 2016-01-08 Richard Sandiford <richard.sandiford@arm.com> |
544 | Jiong Wang <jiong.wang@arm.com> | |
545 | ||
546 | PR ld/19368 | |
547 | * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to | |
548 | reloc_class_ifunc. | |
549 | ||
b05a65d0 AB |
550 | 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com> |
551 | ||
552 | * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to | |
553 | place 'R_' before the reloc name returned. | |
554 | (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before | |
555 | the relocation string. | |
556 | ||
a3dc0a7f MR |
557 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
558 | ||
559 | * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function, | |
560 | factored out from... | |
561 | (_bfd_mips_elf_merge_private_bfd_data): ... here. | |
562 | ||
d537eeb5 MR |
563 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
564 | ||
565 | * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move | |
566 | attribute check after ELF file header flag check. | |
567 | ||
43d223b5 MR |
568 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
569 | ||
570 | * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the | |
571 | return status from `_bfd_elf_merge_object_attributes'. | |
572 | ||
b2e9744f MR |
573 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
574 | ||
575 | * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function, | |
576 | factored out from... | |
577 | (_bfd_mips_elf_merge_private_bfd_data): ... here. | |
578 | ||
28d45e28 MR |
579 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
580 | ||
581 | * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the | |
582 | handling of input MIPS ABI flags together. | |
583 | ||
23ba6f18 MR |
584 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
585 | ||
586 | * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress | |
587 | attribute checks for null input. | |
588 | ||
cf8502c1 MR |
589 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
590 | ||
591 | * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local | |
592 | pointers to target data. | |
593 | ||
dcb1c796 MR |
594 | 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> |
595 | ||
596 | * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct | |
597 | an FP ABI warning. | |
598 | ||
6f2750fe AM |
599 | 2016-01-01 Alan Modra <amodra@gmail.com> |
600 | ||
601 | Update year range in copyright notice of all files. | |
602 | ||
3499769a AM |
603 | For older changes see ChangeLog-2015 and doc/ChangeLog-0415 |
604 | \f | |
605 | Copyright (C) 2016 Free Software Foundation, Inc. | |
606 | ||
607 | Copying and distribution of this file, with or without modification, | |
608 | are permitted in any medium without royalty provided the copyright | |
609 | notice and this notice are preserved. | |
610 | ||
611 | Local Variables: | |
612 | mode: change-log | |
613 | left-margin: 8 | |
614 | fill-column: 74 | |
615 | version-control: never | |
616 | End: |