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