Fix the genetation of GOT entries for the Microblaze target.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
47993b4a
RF
12016-02-23 Rich Felker <bugdal@aerifal.cx>
2
3 PR target/19516
4 * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol):
5 Always produce a RELATIVE reloc for a local symbol.
6
2d8dcb81
HPN
72016-02-23 Hans-Peter Nilsson <hp@axis.com>
8
9 Fix test-case ld-elf/pr19617b
10 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
11 discard unused non-function symbols when --dynamic-list-data.
12
1a6e6083
L
132016-02-22 H.J. Lu <hongjiu.lu@intel.com>
14
15 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the
16 dynsym section, even if it is empty, with dynamic sections.
17
75c1920b
L
182016-02-22 H.J. Lu <hongjiu.lu@intel.com>
19
20 * syms.c: Remove BSF_COMMON from comments.
21 * bfd-in2.h: Regenerated.
22
9a228467
JW
232016-02-22 Jiong Wang <jiong.wang@arm.com>
24
25 * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation
26 for destination. Remove useless function parameters.
27 (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub.
28
73768414
NC
292016-02-19 Nick Clifton <nickc@redhat.com>
30
e517df3d
NC
31 PR ld/19629
32 * aoutx.h (aout_link_add_symbols): Check for out of range string
33 table offsets.
34
73768414
NC
35 PR ld/19628
36 * reloc.c (bfd_generic_get_relocated_section_contents): Stop
37 processing if we encounter a reloc without an associated symbol.
38
bf89386a
L
392016-02-18 H.J. Lu <hongjiu.lu@intel.com>
40
41 PR ld/19617
42 * elflink.c (elf_link_add_object_symbols): Always create dynamic
43 sections for -E/--dynamic-list.
44
8f79b794
L
452016-02-17 H.J. Lu <hongjiu.lu@intel.com>
46
47 * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined
48 to bfd_true.
49
64bfc258
JM
502016-02-16 Joseph Myers <joseph@codesourcery.com>
51
52 * plugin.c (plugin_vec): Set match priority to 255.
53 * format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When
54 matching against the plugin vector, take priority from there not
55 from TEMP.
56
9fb71ee4
NC
572016-02-15 Nick Clifton <nickc@redhat.com>
58
59 * elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
60 for length and type fields. Use a signed value for the
61 suffix_length field.
62
32875eb1
L
632016-02-10 H.J. Lu <hongjiu.lu@intel.com>
64
65 PR ld/19601
66 * elf32-i386.c (elf_i386_relocate_section): Mask off the least
67 significant bit in GOT offset for R_386_GOT32X.
68
83da6e74
NC
692016-02-10 Nick Clifton <nickc@redhat.com>
70
71 PR 19405
72 * elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed
73 immediate values.
74 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the
75 number of messages about FDE encoding preventing .eh_frame_hdr
76 generation.
77
027e9c75
NC
782016-02-09 Nick Clifton <nickc@redhat.com>
79
609332f1
NC
80 * oasys.c (oasys_archive_p): Fix indentation.
81 * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned
82 constant for left shifting.
83
027e9c75
NC
84 * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
85 helpful warning message to explain why certain AArch64 relocs
86 might overflow.
87
6f57d046
SM
882016-02-05 Simon Marchi <simon.marchi@ericsson.com>
89
90 * pe-mips.c (coff_mips_reloc): Fix formatting.
91
bdbca4e6
CM
922016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
93
94 * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
95 to bfd_mach_arc_arc600.
96
4f038ee5
AM
972016-02-04 Alan Modra <amodra@gmail.com>
98
99 * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch
100 for big-endian.
101
4a539596
L
1022016-02-02 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR ld/19542
105 * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
fb06f1c0 106 distances in the compressed_size field of the output section.
4a539596 107
85fabe71
AM
1082016-02-02 Alan Modra <amodra@gmail.com>
109
110 * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict
111 ELFv2 entry optimization.
112
14f2c699
L
1132016-02-02 H.J. Lu <hongjiu.lu@intel.com>
114
115 PR binutils/19547
116 * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
117 no relocations in relocatable files.
118
aef28989
L
1192016-02-01 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR ld/19553
122 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
123 if a symbol from a library loaded via DT_NEEDED doesn't match
124 the symbol referenced by regular object.
125
655ed9ea
NS
1262016-02-01 Nathaniel Smith <njs@pobox.com>
127
128 * peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both
129 CODE and DATA.
130
ec1f73bb
AM
1312016-02-01 Alan Modra <amodra@gmail.com>
132
133 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
134 an out of range reloc_index.
135 * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
136
b6471e6e
KR
1372016-02-01 Kamil Rytarowski <n54@gmx.com>
138
139 * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo.
140 (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c.
141 * Makefile.in: Regenerated.
142
0bc7245a
JK
1432016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
144
145 * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
146
6d4b2867
JDA
1472016-01-31 John David Anglin <danglin@gcc.gnu.org>
148
149 PR ld/19526
150 * elf32-hppa.c (elf32_hppa_final_link): Don't sort non-regular output
151 files.
152 * elf64-hppa.c (elf32_hppa_final_link): Likewise. Remove retval.
153
d9e3b590
L
1542016-01-30 H.J. Lu <hongjiu.lu@intel.com>
155
156 PR ld/19539
157 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
158 against STT_GNU_IFUNC symbol only with dynamic symbols.
159 * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
160
bf150a0b
L
1612016-01-28 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR binutils/19523
164 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
165 decompress debug sections.
166
840855c5
MR
1672016-01-25 Maciej W. Rozycki <macro@imgtec.com>
168
169 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
170 `dynindx'.
171
cf466c2a
NC
1722016-01-25 Nick Clifton <nickc@redhat.com>
173
174 PR target/19435
175 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
176 dsym filename buffer.
177
eb6b0cf4
MR
1782016-01-24 Maciej W. Rozycki <macro@imgtec.com>
179
180 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
181
e67f83e5
MR
1822016-01-24 Maciej W. Rozycki <macro@imgtec.com>
183
184 * elfxx-mips.c (BZ16_REG): Correct calculation.
185
23a42089
NC
1862016-01-21 Nick Clifton <nickc@redhat.com>
187
188 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
189 changing the type of _loc to be bfd_byte *.
190 (elf_arc_finish_dynamic_symbol): Likewise.
191
aebf9be7
NC
1922016-01-21 Nick Clifton <nickc@redhat.com>
193
194 PR ld/19455
195 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
196 class of the linker stub bfd.
197 (elf32_arm_check_relocs): Skip check for pic format after
198 processing a vxWorks R_ARM_ABS12 reloc.
199 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
200 reporting a class mismatch.
201
2f340668
JW
2022016-01-21 Jiong Wang <jiong.wang@arm.com>
203
204 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
205 veneer for sym_sec != input_sec.
206 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
207 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
208 calculation destination.
209
aeb70569
AM
2102016-01-21 Alan Modra <amodra@gmail.com>
211
212 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
213 (swap_linux_prpsinfo64_out): New function.
214 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
215 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
216 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
217 (elfcore_write_linux_prpsinfo64): Likewise.
218 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
219 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
220 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
221
de64ce13
AM
2222016-01-21 Alan Modra <amodra@gmail.com>
223
224 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
225 * elf.c: Adjust #include.
226 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
227 * Makefile.am (SOURCE_HFILES): Update.
228 * Makefile.in: Regenerate.
229 * po/SRC-PORFILES.in: Regenerate.
230
c603b11b
AM
2312016-01-21 Alan Modra <amodra@gmail.com>
232
233 * configure.ac: Move corefile selection later in file. Move
234 tdefaults code immediately after other target vector code.
235 * configure: Regenerate.
236
91f68a68
MG
2372016-01-20 Mickael Guene <mickael.guene@st.com>
238
239 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
240 section using '.text.noread' pattern.
241
5b2c414d
JB
2422016-01-19 John Baldwin <jhb@FreeBSD.org>
243
244 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
245
34e967a5
MC
2462016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
247 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
248
249 * arc-plt.def: New file.
250 * arc-plt.h: Likewise.
251 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
252 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
253 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
254 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
255 (name_for_global_symbol): Added.
256 (ADD_RELA): Helper to create dynamic relocs.
257 (new_got_entry_to_list): Create a new got entry in linked list.
258 (symbol_has_entry_of_type): Search for specific type of entry in
259 list.
260 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
261 (is_reloc_for_TLS, arc_elf_set_private_flags)
262 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
263 (arc_elf_merge_private_bfd_data): New functions.
264 (debug_arc_reloc): Cleaned debug info printing.
265 (PDATA reloc): Changed not to perform address alignment.
266 (reverse_me): Added. Fix for ARC_32 relocs.
267 (arc_do_relocation): Return bfd_reloc_of when no relocation should
268 occur.
269 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
270 Changed function to access an array of list of GOT entries instead
271 of just an array of offsets.
272 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
273 (elf_arc_check_relocs): Likewise.
274 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
275 (elf_arc_finish_dynamic_sections): Likewise
276 (arc_create_dynamic_sections): Modified conditions to create
277 dynamic sections.
278 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
279 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
280 (relocate_plt_for_entry): Changed to support new way to define PLT
281 related code.
282 (add_symbol_to_plt): Likewise.
283 (arc_elf_link_hash_table_create): New function.
284
9ae678af
NC
2852016-01-18 Nick Clifton <nickc@redhat.com>
286
287 PR ld/19440
288 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
289 section number into internal section number.
290 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
291 * coffswap.h (coff_swap_sym_in): Likewise.
292 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
293 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
294 section number field is big enough to hold the external value.
295
5c14705f
AM
2962016-01-17 Alan Modra <amodra@gmail.com>
297
298 * configure: Regenerate.
299
ac06903d
YU
3002016-01-12 Yury Usishchev <y.usishchev@samsung.com>
301
302 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
303 when address in first unwind entry does not match start of
304 section.
305
109575d7
JW
3062016-01-08 Richard Sandiford <richard.sandiford@arm.com>
307 Jiong Wang <jiong.wang@arm.com>
308
309 PR ld/19368
310 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
311 reloc_class_ifunc.
312
b05a65d0
AB
3132016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
316 place 'R_' before the reloc name returned.
317 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
318 the relocation string.
319
a3dc0a7f
MR
3202016-01-04 Maciej W. Rozycki <macro@imgtec.com>
321
322 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
323 factored out from...
324 (_bfd_mips_elf_merge_private_bfd_data): ... here.
325
d537eeb5
MR
3262016-01-04 Maciej W. Rozycki <macro@imgtec.com>
327
328 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
329 attribute check after ELF file header flag check.
330
43d223b5
MR
3312016-01-04 Maciej W. Rozycki <macro@imgtec.com>
332
333 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
334 return status from `_bfd_elf_merge_object_attributes'.
335
b2e9744f
MR
3362016-01-04 Maciej W. Rozycki <macro@imgtec.com>
337
338 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
339 factored out from...
340 (_bfd_mips_elf_merge_private_bfd_data): ... here.
341
28d45e28
MR
3422016-01-04 Maciej W. Rozycki <macro@imgtec.com>
343
344 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
345 handling of input MIPS ABI flags together.
346
23ba6f18
MR
3472016-01-04 Maciej W. Rozycki <macro@imgtec.com>
348
349 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
350 attribute checks for null input.
351
cf8502c1
MR
3522016-01-04 Maciej W. Rozycki <macro@imgtec.com>
353
354 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
355 pointers to target data.
356
dcb1c796
MR
3572016-01-04 Maciej W. Rozycki <macro@imgtec.com>
358
359 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
360 an FP ABI warning.
361
6f2750fe
AM
3622016-01-01 Alan Modra <amodra@gmail.com>
363
364 Update year range in copyright notice of all files.
365
3499769a
AM
366For older changes see ChangeLog-2015 and doc/ChangeLog-0415
367\f
368Copyright (C) 2016 Free Software Foundation, Inc.
369
370Copying and distribution of this file, with or without modification,
371are permitted in any medium without royalty provided the copyright
372notice and this notice are preserved.
373
374Local Variables:
375mode: change-log
376left-margin: 8
377fill-column: 74
378version-control: never
379End:
This page took 0.057828 seconds and 4 git commands to generate.