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