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