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