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