Check reloc against IFUNC symbol only with dynamic symbols
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/19539
4 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
5 against STT_GNU_IFUNC symbol only with dynamic symbols.
6 * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
7
8 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
9
10 PR binutils/19523
11 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
12 decompress debug sections.
13
14 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
15
16 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
17 `dynindx'.
18
19 2016-01-25 Nick Clifton <nickc@redhat.com>
20
21 PR target/19435
22 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
23 dsym filename buffer.
24
25 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
26
27 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
28
29 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
30
31 * elfxx-mips.c (BZ16_REG): Correct calculation.
32
33 2016-01-21 Nick Clifton <nickc@redhat.com>
34
35 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
36 changing the type of _loc to be bfd_byte *.
37 (elf_arc_finish_dynamic_symbol): Likewise.
38
39 2016-01-21 Nick Clifton <nickc@redhat.com>
40
41 PR ld/19455
42 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
43 class of the linker stub bfd.
44 (elf32_arm_check_relocs): Skip check for pic format after
45 processing a vxWorks R_ARM_ABS12 reloc.
46 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
47 reporting a class mismatch.
48
49 2016-01-21 Jiong Wang <jiong.wang@arm.com>
50
51 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
52 veneer for sym_sec != input_sec.
53 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
54 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
55 calculation destination.
56
57 2016-01-21 Alan Modra <amodra@gmail.com>
58
59 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
60 (swap_linux_prpsinfo64_out): New function.
61 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
62 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
63 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
64 (elfcore_write_linux_prpsinfo64): Likewise.
65 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
66 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
67 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
68
69 2016-01-21 Alan Modra <amodra@gmail.com>
70
71 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
72 * elf.c: Adjust #include.
73 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
74 * Makefile.am (SOURCE_HFILES): Update.
75 * Makefile.in: Regenerate.
76 * po/SRC-PORFILES.in: Regenerate.
77
78 2016-01-21 Alan Modra <amodra@gmail.com>
79
80 * configure.ac: Move corefile selection later in file. Move
81 tdefaults code immediately after other target vector code.
82 * configure: Regenerate.
83
84 2016-01-20 Mickael Guene <mickael.guene@st.com>
85
86 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
87 section using '.text.noread' pattern.
88
89 2016-01-19 John Baldwin <jhb@FreeBSD.org>
90
91 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
92
93 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
94 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
95
96 * arc-plt.def: New file.
97 * arc-plt.h: Likewise.
98 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
99 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
100 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
101 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
102 (name_for_global_symbol): Added.
103 (ADD_RELA): Helper to create dynamic relocs.
104 (new_got_entry_to_list): Create a new got entry in linked list.
105 (symbol_has_entry_of_type): Search for specific type of entry in
106 list.
107 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
108 (is_reloc_for_TLS, arc_elf_set_private_flags)
109 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
110 (arc_elf_merge_private_bfd_data): New functions.
111 (debug_arc_reloc): Cleaned debug info printing.
112 (PDATA reloc): Changed not to perform address alignment.
113 (reverse_me): Added. Fix for ARC_32 relocs.
114 (arc_do_relocation): Return bfd_reloc_of when no relocation should
115 occur.
116 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
117 Changed function to access an array of list of GOT entries instead
118 of just an array of offsets.
119 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
120 (elf_arc_check_relocs): Likewise.
121 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
122 (elf_arc_finish_dynamic_sections): Likewise
123 (arc_create_dynamic_sections): Modified conditions to create
124 dynamic sections.
125 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
126 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
127 (relocate_plt_for_entry): Changed to support new way to define PLT
128 related code.
129 (add_symbol_to_plt): Likewise.
130 (arc_elf_link_hash_table_create): New function.
131
132 2016-01-18 Nick Clifton <nickc@redhat.com>
133
134 PR ld/19440
135 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
136 section number into internal section number.
137 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
138 * coffswap.h (coff_swap_sym_in): Likewise.
139 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
140 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
141 section number field is big enough to hold the external value.
142
143 2016-01-17 Alan Modra <amodra@gmail.com>
144
145 * configure: Regenerate.
146
147 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
148
149 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
150 when address in first unwind entry does not match start of
151 section.
152
153 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
154 Jiong Wang <jiong.wang@arm.com>
155
156 PR ld/19368
157 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
158 reloc_class_ifunc.
159
160 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
163 place 'R_' before the reloc name returned.
164 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
165 the relocation string.
166
167 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
168
169 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
170 factored out from...
171 (_bfd_mips_elf_merge_private_bfd_data): ... here.
172
173 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
174
175 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
176 attribute check after ELF file header flag check.
177
178 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
179
180 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
181 return status from `_bfd_elf_merge_object_attributes'.
182
183 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
184
185 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
186 factored out from...
187 (_bfd_mips_elf_merge_private_bfd_data): ... here.
188
189 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
190
191 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
192 handling of input MIPS ABI flags together.
193
194 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
195
196 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
197 attribute checks for null input.
198
199 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
200
201 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
202 pointers to target data.
203
204 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
205
206 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
207 an FP ABI warning.
208
209 2016-01-01 Alan Modra <amodra@gmail.com>
210
211 Update year range in copyright notice of all files.
212
213 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
214 \f
215 Copyright (C) 2016 Free Software Foundation, Inc.
216
217 Copying and distribution of this file, with or without modification,
218 are permitted in any medium without royalty provided the copyright
219 notice and this notice are preserved.
220
221 Local Variables:
222 mode: change-log
223 left-margin: 8
224 fill-column: 74
225 version-control: never
226 End:
This page took 0.078109 seconds and 5 git commands to generate.