ChangeLog revision 1.12 1 1.12 rjs 2019-08-22 Alan Modra <amodra (a] gmail.com>
2 1.12 rjs
3 1.12 rjs * elf32-arm.c (cmse_scan): Don't use ARM_GET_SYM_CMSE_SPCL,
4 1.12 rjs instead recognize CMSE_PREFIX in symbol name.
5 1.12 rjs (elf32_arm_gc_mark_extra_sections): Likewise.
6 1.12 rjs (elf32_arm_filter_cmse_symbols): Don't test ARM_GET_SYM_CMSE_SPCL.
7 1.12 rjs (elf32_arm_swap_symbol_in): Don't invoke ARM_SET_SYM_CMSE_SPCL.
8 1.12 rjs
9 1.11 christos 2018-07-18 Nick Clifton <nickc (a] redhat.com>
10 1.11 christos
11 1.11 christos 2.31.1 Release point.
12 1.11 christos * version.m4: Set to 2.31.1
13 1.11 christos * development.sh: Set to true.
14 1.11 christos * configure: Regenerate.
15 1.11 christos * po/bfd.pot: Regenerate.
16 1.11 christos
17 1.11 christos 2018-07-14 Nick Clifton <nickc (a] redhat.com>
18 1.11 christos
19 1.11 christos * version.m4: Update to 2.31.0.
20 1.11 christos * development.sh: Set to true.
21 1.11 christos * configure: Regenerate.
22 1.11 christos * po/bfd.pot: Regenerate.
23 1.8 christos
24 1.11 christos 2018-07-14 Nick Clifton <nickc (a] redhat.com>
25 1.8 christos
26 1.11 christos 2.31 Release point.
27 1.11 christos * version.m4: Update to 2.31.
28 1.10 christos * development.sh: Set to false.
29 1.8 christos * configure: Regenerate.
30 1.10 christos * po/bfd.pot: Regenerate.
31 1.8 christos
32 1.11 christos 2018-07-03 Alan Modra <amodra (a] gmail.com>
33 1.11 christos
34 1.11 christos PR 17550
35 1.11 christos * elflink.c (_bfd_elf_fix_symbol_flags): Hide dynamic symbols
36 1.11 christos in discarded sections.
37 1.11 christos
38 1.11 christos 2018-07-11 Max Filippov <jcmvbkbc (a] gmail.com>
39 1.11 christos
40 1.11 christos * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Don't allocate
41 1.11 christos space for dynamic relocation for undefined weak symbol.
42 1.11 christos (elf_xtensa_relocate_section): Don't emit R_XTENSA_RELATIVE
43 1.11 christos relocation for undefined weak symbols.
44 1.11 christos (shrink_dynamic_reloc_sections): Don't shrink dynamic relocation
45 1.11 christos section for relocations against undefined weak symbols.
46 1.11 christos
47 1.11 christos 2018-07-10 Maciej W. Rozycki <macro (a] mips.com>
48 1.11 christos
49 1.11 christos * elflink.c (bfd_elf_final_link): Rename `remove' local variable
50 1.11 christos to `remove_section'.
51 1.11 christos
52 1.11 christos 2018-07-09 H.J. Lu <hongjiu.lu (a] intel.com>
53 1.11 christos
54 1.11 christos PR ld/23388
55 1.11 christos * configure.ac: Use changequote for "i[3-7]86-*-linux-*".
56 1.11 christos * configure: Regenerated.
57 1.11 christos
58 1.11 christos 2018-07-09 H.J. Lu <hongjiu.lu (a] intel.com>
59 1.11 christos
60 1.11 christos PR ld/23372
61 1.11 christos * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Remove x86
62 1.11 christos ISA properties with empty bits.
63 1.11 christos
64 1.11 christos 2018-07-06 Alan Modra <amodra (a] gmail.com>
65 1.11 christos
66 1.11 christos * elf32-arm.c (elf32_arm_nabi_write_core_note): Don't use
67 1.11 christos DIAGNOTIC_PUSH and DIAGNOSTIC_POP unconditionally.
68 1.11 christos * elf32-ppc.c (ppc_elf_write_core_note): Likewise.
69 1.11 christos * elf32-s390.c (elf_s390_write_core_note): Likewise.
70 1.11 christos * elf64-ppc.c (ppc64_elf_write_core_note): Likewise.
71 1.11 christos * elf64-s390.c (elf_s390_write_core_note): Likewise.
72 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise.
73 1.11 christos
74 1.11 christos 2018-07-05 Jim Wilson <jimw (a] sifive.com>
75 1.11 christos
76 1.11 christos * config.bfd (riscv32*-*-*): Renamed from riscv32-*-*.
77 1.11 christos (riscv64*-*-*): Likewise.
78 1.11 christos (riscv-*-*): Add as an alias for riscv32*-*-*.
79 1.11 christos
80 1.11 christos 2018-07-05 Alan Modra <amodra (a] gmail.com>
81 1.11 christos
82 1.11 christos * elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Update prototype.
83 1.11 christos * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Return error
84 1.11 christos on mismatch. Remove "warning: " from messages. Track last bfd
85 1.11 christos used to set tags.
86 1.11 christos (ppc_elf_merge_obj_attributes): Likewise. Handle status from
87 1.11 christos _bfd_elf_ppc_merge_fp_attributes.
88 1.11 christos * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Handle status
89 1.11 christos from _bfd_elf_ppc_merge_fp_attributes.
90 1.11 christos
91 1.11 christos 2018-07-03 Alan Modra <amodra (a] gmail.com>
92 1.11 christos
93 1.11 christos * elflink.c (bfd_elf_final_link): Remove zero size .gnu.attributes
94 1.11 christos sections.
95 1.11 christos
96 1.11 christos 2018-07-03 Alan Modra <amodra (a] gmail.com>
97 1.11 christos
98 1.11 christos * elf-bfd.h (ATTR_TYPE_FLAG_ERROR, ATTR_TYPE_HAS_ERROR): Define.
99 1.11 christos * elf-attrs.c (is_default_attr): Handle ATTR_TYPE_HAS_ERROR.
100 1.11 christos * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Use
101 1.11 christos ATTR_TYPE_FLAG_INT_VAL. Set ATTR_TYPE_HAS_ERROR on finding
102 1.11 christos incompatible attribute.
103 1.11 christos (ppc_elf_merge_obj_attributes): Likewise. Return
104 1.11 christos _bfd_elf_merge_object_attributes result.
105 1.11 christos * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Return
106 1.11 christos _bfd_elf_merge_object_attributes result.
107 1.11 christos
108 1.11 christos 2018-07-05 Nick Clifton <nickc (a] redhat.com>
109 1.11 christos
110 1.11 christos * po/ru.po: Updated Russian translation.
111 1.11 christos
112 1.11 christos 2018-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
113 1.11 christos
114 1.11 christos * Makefile.am (bfdinclude_HEADERS): Add $(INCDIR)/diagnostics.h.
115 1.11 christos * Makefile.in: Regenerated.
116 1.11 christos
117 1.11 christos 2018-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
118 1.11 christos
119 1.11 christos PR ld/23324
120 1.11 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Clear the
121 1.11 christos R_X86_64_converted_reloc_bit bit.
122 1.11 christos
123 1.11 christos 2018-06-26 Nick Clifton <nickc (a] redhat.com>
124 1.11 christos
125 1.11 christos * po/uk.po: Updated Ukranian translation.
126 1.11 christos
127 1.11 christos 2018-06-25 Nick Clifton <nickc (a] redhat.com>
128 1.11 christos
129 1.11 christos * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_stub_name): Check
130 1.11 christos for malloc returning NULL.
131 1.11 christos (_bfd_aarch64_erratum_843419_fixup): Check for
132 1.11 christos _bfd_aarch64_erratum_835769_stub_name returning NULL.
133 1.11 christos
134 1.11 christos 2018-06-24 Nick Clifton <nickc (a] redhat.com>
135 1.11 christos
136 1.11 christos * version.m4 (BFD_VERSION): Update to 2.30.90.
137 1.11 christos * configure: Regenerate.
138 1.11 christos * po/bfd.pot: Regenerate.
139 1.11 christos
140 1.11 christos 2018-06-24 Nick Clifton <nickc (a] redhat.com>
141 1.11 christos
142 1.11 christos 2.31 branch created.
143 1.11 christos
144 1.11 christos 2018-06-21 Maciej W. Rozycki <macro (a] mips.com>
145 1.11 christos
146 1.11 christos * elfxx-mips.c (_bfd_mips_elf_compact_eh_encoding)
147 1.11 christos (_bfd_mips_elf_cant_unwind_opcode): Correct formatting.
148 1.11 christos
149 1.11 christos 2018-06-21 Maciej W. Rozycki <macro (a] mips.com>
150 1.11 christos
151 1.11 christos * elfxx-mips.c (_bfd_mips_post_process_headers): Keep
152 1.11 christos EI_ABIVERSION setting together.
153 1.11 christos
154 1.11 christos 2018-06-21 Maciej W. Rozycki <macro (a] mips.com>
155 1.11 christos
156 1.11 christos * elfxx-mips.c (MIPS_LIBC_ABI_DEFAULT, MIPS_LIBC_ABI_MIPS_PLT)
157 1.11 christos (MIPS_LIBC_ABI_UNIQUE, MIPS_LIBC_ABI_MIPS_O32_FP64)
158 1.11 christos (MIPS_LIBC_ABI_MAX): New enumeration constants.
159 1.11 christos (_bfd_mips_post_process_headers): Use them in place of magic
160 1.11 christos numbers.
161 1.11 christos
162 1.11 christos 2018-06-21 Jim Wilson <jimw (a] sifive.com>
163 1.11 christos
164 1.11 christos * elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Update comment.
165 1.11 christos Use SYMBOL_REFERENCES_LOCAL. Add asserts for h->got.offset.
166 1.11 christos
167 1.11 christos 2018-06-21 Alan Modra <amodra (a] gmail.com>
168 1.11 christos
169 1.11 christos * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
170 1.11 christos * doc/Makefile.in: Regenerate.
171 1.11 christos
172 1.11 christos 2018-06-20 Renlin Li <renlin.li (a] arm.com>
173 1.11 christos
174 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use PG_OFFSET
175 1.11 christos to resolve BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
176 1.11 christos BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
177 1.11 christos BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
178 1.11 christos BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC,
179 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
180 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
181 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
182 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
183 1.11 christos
184 1.11 christos 2018-06-20 Nick Clifton <nickc (a] redhat.com>
185 1.11 christos
186 1.11 christos PR 23316
187 1.11 christos * opncls.c (get_build_id): Check for a negative or excessive data
188 1.11 christos size in the build-id note.
189 1.11 christos
190 1.11 christos 2018-06-20 Nick Clifton <nickc (a] redhat.com>
191 1.11 christos
192 1.11 christos PR 23299
193 1.11 christos * mach-o.c (cputype): New function.
194 1.11 christos (cpusubtype): New function.
195 1.11 christos (bfd_mach_o_bfd_print_private_data): New function. Dispalys the
196 1.11 christos values in the MACH-O file header.
197 1.11 christos (bfd_mach_o_bfd_copy_private_header_data): Copy the cputype and
198 1.11 christos cpusubtype fields from the input bfd's mach-o header to the output
199 1.11 christos bfd.
200 1.11 christos * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data):
201 1.11 christos Redefine to bfd_mach_o_bfd_print_private_data.
202 1.11 christos * mach-o.h (bfd_mach_o_bfd_print_private_bfd_data): Prototype.
203 1.11 christos
204 1.11 christos 2018-06-19 Maciej W. Rozycki <macro (a] mips.com>
205 1.11 christos
206 1.11 christos PR ld/22966
207 1.11 christos * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Verify the
208 1.11 christos `.got.plt' entry referred is in range.
209 1.11 christos (mips_finish_exec_plt): Correct the range check for `.got.plt'
210 1.11 christos start. Replace the assertion used for that with a proper error
211 1.11 christos message.
212 1.11 christos
213 1.11 christos 2018-06-19 Maciej W. Rozycki <macro (a] mips.com>
214 1.11 christos
215 1.11 christos * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix
216 1.11 christos formatting.
217 1.11 christos
218 1.11 christos 2018-06-19 Simon Marchi <simon.marchi (a] ericsson.com>
219 1.11 christos
220 1.11 christos * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
221 1.11 christos (INCLUDES): Rename to ...
222 1.11 christos (AM_CPPFLAGS): ... this.
223 1.11 christos * configure.ac: Remove AC_PREREQ.
224 1.11 christos * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add
225 1.11 christos info-in-builddir no-texinfo.tex.
226 1.11 christos (info_TEXINFOS): Rename bfd.texinfo to bfd.texi.
227 1.11 christos * doc/bfd.texinfo: Rename to ...
228 1.11 christos * doc/bfd.texi: ... this.
229 1.11 christos * Makefile.in: Re-generate.
230 1.11 christos * aclocal.m4: Re-generate.
231 1.11 christos * config.in: Re-generate.
232 1.11 christos * configure: Re-generate.
233 1.11 christos * doc/Makefile.in: Re-generate.
234 1.11 christos
235 1.11 christos 2018-06-18 Mephi <mephi42 (a] gmail.com>
236 1.11 christos
237 1.11 christos PR 23297
238 1.11 christos * mach-o-x86-64.c (x86_64_howto_table): Add entry for
239 1.11 christos BFD_RELOC_MACH_O_X86_64_RELOC_TLV.
240 1.11 christos (bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc.
241 1.11 christos (bfd_mach_o_x86_64_swap_reloc_out): Likewise.
242 1.11 christos * reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry.
243 1.11 christos * bfd-in2.h: Regenerate.
244 1.11 christos * libbfd.h: Regenerate.
245 1.11 christos
246 1.11 christos 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker (a] mips.com>
247 1.11 christos
248 1.11 christos * elfxx-mips.c (print_mips_ases): Add GINV extension.
249 1.11 christos
250 1.11 christos 2018-06-14 H.J. Lu <hongjiu.lu (a] intel.com>
251 1.11 christos
252 1.11 christos PR binutils/23267
253 1.11 christos * elf.c (_bfd_elf_get_symbol_version_string): Check if the first
254 1.11 christos symbol version is base version.
255 1.11 christos
256 1.11 christos 2018-06-14 Alan Modra <amodra (a] gmail.com>
257 1.11 christos
258 1.11 christos * elf-bfd.h (struct elf_link_hash_table): Add "dynamic_relocs".
259 1.11 christos * elflink.c (_bfd_elf_init_2_index_sections): Comment fix.
260 1.11 christos (_bfd_elf_add_dynamic_entry): Set "dynamic_relocs".
261 1.11 christos (_bfd_elf_link_renumber_dynsyms): Exclude all section symbols when
262 1.11 christos "dynamic_relocs" is not set.
263 1.11 christos * elfxx-mips.c (count_section_dynsyms): Likewise.
264 1.11 christos
265 1.11 christos 2018-06-14 Alan Modra <amodra (a] gmail.com>
266 1.11 christos
267 1.11 christos PR 23282
268 1.11 christos * bfdio.c (bfd_seek): Optimize away seeks to current position.
269 1.11 christos
270 1.11 christos 2018-06-13 Scott Egerton <scott.egerton (a] imgtec.com>
271 1.11 christos Faraz Shahbazker <Faraz.Shahbazker (a] mips.com>
272 1.11 christos
273 1.11 christos * elfxx-mips.c (print_mips_ases): Add CRC.
274 1.11 christos
275 1.11 christos 2018-06-08 H.J. Lu <hongjiu.lu (a] intel.com>
276 1.11 christos
277 1.11 christos PR ld/23161
278 1.11 christos * elfxx-x86.c (elf_x86_hide_linker_defined): New function.
279 1.11 christos (_bfd_x86_elf_link_check_relocs): Use it to hide hidden
280 1.11 christos __bss_start, _end and _edata in shared libraries.
281 1.11 christos
282 1.11 christos 2018-06-07 Alan Modra <amodra (a] gmail.com>
283 1.11 christos
284 1.11 christos * elf32-tic6x.c (elf32_tic6x_check_relocs): Reference
285 1.11 christos __c6xabi_DSBT_BASE explicitly for R_C6000_SBR_* relocs.
286 1.11 christos
287 1.11 christos 2018-06-05 Alan Modra <amodra (a] gmail.com>
288 1.11 christos
289 1.11 christos * bfd.c (struct bfd): Update comment on "where" usage.
290 1.11 christos * bfdio.c (bfd_bwrite, bfd_stat): Use and update "iovec",
291 1.11 christos "iostream", and "where" from containing archive file. Return
292 1.11 christos error on NULL iovec.
293 1.11 christos (bfd_bread): Similarly, and return error attempted out of
294 1.11 christos bounds archive element access.
295 1.11 christos (bfd_tell, bfd_flush): Use and update "iovec", "iostream", and
296 1.11 christos "where" from containing archive file.
297 1.11 christos (bfd_seek): Likewise. Return error on NULL iovec. Don't
298 1.11 christos attempt to optimize away seeks. Don't paper over errors by
299 1.11 christos calling bfd_tell.
300 1.11 christos (bfd_get_mtime): Call bfd_stat rather than iovec->bstat.
301 1.11 christos (bfd_get_size): Likewise.
302 1.11 christos (bfd_mmap): Operate on and use iovec of containing archive
303 1.11 christos file. Return error on NULL iovec.
304 1.11 christos * cache.c (bfd_cache_lookup_worker): Abort if working on
305 1.11 christos archive element bfd.
306 1.11 christos (cache_bread_1): Delete bfd parameter, add FILE* parameter.
307 1.11 christos Don't ignore zero byte reads.
308 1.11 christos (cache_bread): Look up FILE* in cache here. Error on NULL
309 1.11 christos lookup.
310 1.11 christos (cache_bwrite): Rename "where" to "from".
311 1.11 christos (cache_bmmap): Don't handle archive elements.
312 1.11 christos * coffcode.h (coff_slurp_line_table): Exit early on zero
313 1.11 christos lineno count.
314 1.11 christos * bfd-in2.h: Regenerate.
315 1.11 christos
316 1.11 christos 2018-06-05 Alan Modra <amodra (a] gmail.com>
317 1.11 christos
318 1.11 christos PR 23254
319 1.11 christos * plugin.c (bfd_plugin_open_input): Allow for possibility of
320 1.11 christos nested archives. Open file again for plugin.
321 1.11 christos (try_claim): Don't save and restore file position. Close file
322 1.11 christos if not claimed.
323 1.11 christos * sysdep.h (O_BINARY): Define.
324 1.11 christos
325 1.11 christos 2018-06-04 Max Filippov <jcmvbkbc (a] gmail.com>
326 1.11 christos
327 1.11 christos * elf32-xtensa.c (xtensa_read_table_entries): Make global.
328 1.11 christos (compute_fill_extra_space): Drop declaration. Rename function to
329 1.11 christos xtensa_compute_fill_extra_space.
330 1.11 christos (compute_ebb_actions, remove_dead_literal): Update references to
331 1.11 christos compute_fill_extra_space.
332 1.11 christos
333 1.11 christos 2018-06-04 Volodymyr Arbatov <arbatov (a] cadence.com>
334 1.11 christos
335 1.11 christos * elf32-xtensa.c (elf32xtensa_separate_props): New global
336 1.11 christos variable.
337 1.11 christos (xtensa_add_names): New function.
338 1.11 christos (xtensa_property_section_name): Add new parameter
339 1.11 christos separate_sections, use it to choose property section name.
340 1.11 christos (xtensa_get_separate_property_section): New function.
341 1.11 christos (xtensa_get_property_section): Invoke
342 1.11 christos xtensa_get_separate_property_section to get individual property
343 1.11 christos section if it exists, common property section otherwise.
344 1.11 christos (xtensa_make_property_section): Pass elf32xtensa_separate_props
345 1.11 christos to xtensa_property_section_name.
346 1.11 christos
347 1.11 christos 2018-06-04 H.J. Lu <hongjiu.lu (a] intel.com>
348 1.11 christos
349 1.11 christos PR binutils/23146
350 1.11 christos * bfd-in.h: Include "diagnostics.h".
351 1.11 christos * bfd-in2.h: Regenerated.
352 1.11 christos * elf32-arm.c (elf32_arm_nabi_write_core_note): Use
353 1.11 christos DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and
354 1.11 christos DIAGNOSTIC_POP to silence GCC 8.1 warnings with
355 1.11 christos -Wstringop-truncation.
356 1.11 christos * elf32-ppc.c (ppc_elf_write_core_note): Likewse.
357 1.11 christos * elf32-s390.c (elf_s390_write_core_note): Likewse.
358 1.11 christos * elf64-ppc.c (ppc64_elf_write_core_note): Likewse.
359 1.11 christos * elf64-s390.c (elf_s390_write_core_note): Likewse.
360 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse.
361 1.11 christos
362 1.11 christos 2018-06-03 Jim Wilson <jimw (a] sifive.com>
363 1.11 christos
364 1.11 christos PR ld/23244
365 1.11 christos * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Check
366 1.11 christos for and handle an undefined weak with no PLT.
367 1.11 christos
368 1.11 christos PR ld/22756
369 1.11 christos * elfnn-riscv.c (riscv_relax_delete_bytes): Add versioned_hidden check
370 1.11 christos to code that ignores duplicate symbols.
371 1.11 christos
372 1.11 christos 2018-06-01 H.J. Lu <hongjiu.lu (a] intel.com>
373 1.11 christos
374 1.11 christos * version.m4: Bump version to 2.30.52
375 1.11 christos * configure: Regenerated.
376 1.11 christos
377 1.11 christos 2018-06-01 Alan Modra <amodra (a] gmail.com>
378 1.11 christos
379 1.11 christos * bfd.c (_bfd_error_handler): Arrange for this function to be
380 1.11 christos declared in bfd-in2.h.
381 1.11 christos * libbfd-in.h (_bfd_error_handler): Don't declare.
382 1.11 christos * libbfd.h: Regenerate.
383 1.11 christos * bfd-in2.h: Regenerate.
384 1.11 christos
385 1.11 christos 2018-05-30 Amaan Cheval <amaan.cheval (a] gmail.com>
386 1.11 christos
387 1.11 christos * config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems*
388 1.11 christos This is needed to generate UEFI application image files from ELFs.
389 1.11 christos
390 1.11 christos 2018-05-28 H.J. Lu <hongjiu.lu (a] intel.com>
391 1.11 christos
392 1.11 christos * elf32-i386.c (elf_i386_lazy_plt): Add plt_tlsdesc_entry,
393 1.11 christos plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
394 1.11 christos plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
395 1.11 christos plt_tlsdesc_got2_insn_end for TLSDESC entry.
396 1.11 christos (elf_i386_lazy_ibt_plt): Likewise.
397 1.11 christos (elf_i386_nacl_plt): Likewise.
398 1.11 christos * elf64-x86-64.c (tlsdesc_plt_entry): Moved and renamed to ...
399 1.11 christos (elf_x86_64_tlsdesc_plt_entry): This.
400 1.11 christos (elf_x86_64_lazy_plt): Add plt_tlsdesc_entry,
401 1.11 christos plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
402 1.11 christos plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
403 1.11 christos plt_tlsdesc_got2_insn_end for TLSDESC entry.
404 1.11 christos (elf_x86_64_lazy_bnd_plt): Likewise.
405 1.11 christos (elf_x86_64_lazy_ibt_plt): Likewise.
406 1.11 christos (elf_x32_lazy_ibt_plt): Likewise.
407 1.11 christos (elf_x86_64_nacl_plt): Likewise.
408 1.11 christos (elf_x86_64_finish_dynamic_sections): Use plt_tlsdesc_entry,
409 1.11 christos plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
410 1.11 christos plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
411 1.11 christos plt_tlsdesc_got2_insn_end to update TLSDESC entry.
412 1.11 christos * elfxx-x86.h (elf_x86_lazy_plt_layout): Update comments.
413 1.11 christos Add plt_tlsdesc_entry, plt_tlsdesc_entry_size,
414 1.11 christos plt_tlsdesc_got1_offset, plt_tlsdesc_got2_offset,
415 1.11 christos plt_tlsdesc_got1_insn_end and plt_tlsdesc_got2_insn_end.
416 1.11 christos (elf_x86_non_lazy_plt_layout): Update comments.
417 1.11 christos (elf_x86_plt_layout): Likewise.
418 1.11 christos
419 1.11 christos 2018-05-28 H.J. Lu <hongjiu.lu (a] intel.com>
420 1.11 christos
421 1.11 christos PR ld/23238
422 1.11 christos * elf-s390-common.c (elf_s390_add_symbol_hook): Removed.
423 1.11 christos * elf32-arc.c (elf_arc_add_symbol_hook): Likewise.
424 1.11 christos (elf_backend_add_symbol_hook): Likewise.
425 1.11 christos * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise.
426 1.11 christos (elf_backend_add_symbol_hook): Likewise.
427 1.11 christos * elf32-s390.c (elf_backend_add_symbol_hook): Likewise.
428 1.11 christos * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
429 1.11 christos (elf_backend_add_symbol_hook): Likewise.
430 1.11 christos * elf64-s390.c (elf_backend_add_symbol_hook): Likewise.
431 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise.
432 1.11 christos * elfxx-aarch64.h (_bfd_aarch64_elf_add_symbol_hook): Likewise.
433 1.11 christos (elf_backend_add_symbol_hook): Likewise.
434 1.11 christos * elf32-arm.c (elf32_arm_add_symbol_hook): Remove STT_GNU_IFUNC
435 1.11 christos handling.
436 1.11 christos * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
437 1.11 christos * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
438 1.11 christos * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
439 1.11 christos * elflink.c (elf_link_add_object_symbols): Set
440 1.11 christos elf_gnu_symbol_ifunc for STT_GNU_IFUNC symbols.
441 1.11 christos
442 1.11 christos 2018-05-26 H.J. Lu <hongjiu.lu (a] intel.com>
443 1.11 christos
444 1.11 christos PR ld/23194
445 1.11 christos * elf-bfd.h (_bfd_elf_link_hide_sym_by_version): New.
446 1.11 christos * elflink.c (_bfd_elf_link_hide_versioned_symbol): New function.
447 1.11 christos Extracted from _bfd_elf_link_assign_sym_version.
448 1.11 christos (_bfd_elf_link_hide_sym_by_version): New function.
449 1.11 christos (_bfd_elf_link_assign_sym_version): Use
450 1.11 christos _bfd_elf_link_hide_versioned_symbol.
451 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Call
452 1.11 christos _bfd_elf_link_hide_sym_by_version instead of
453 1.11 christos bfd_hide_sym_by_version. Don't check unversioned symbol.
454 1.11 christos
455 1.11 christos 2018-05-25 Alan Modra <amodra (a] gmail.com>
456 1.11 christos
457 1.11 christos * Makefile.in: Regenerate.
458 1.11 christos * po/SRC-POTFILES.in: Regenerate.
459 1.11 christos
460 1.11 christos 2018-05-25 Alan Modra <amodra (a] gmail.com>
461 1.11 christos
462 1.11 christos * configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS.
463 1.11 christos * configure: Regenerate.
464 1.11 christos
465 1.11 christos 2018-05-23 H.J. Lu <hongjiu.lu (a] intel.com>
466 1.11 christos
467 1.11 christos * elf64-ppc.c (ppc64_elf_write_core_note): Add ATTRIBUTE_NONSTRING
468 1.11 christos to data.
469 1.11 christos
470 1.11 christos 2018-05-22 Alan Modra <amodra (a] gmail.com>
471 1.11 christos
472 1.11 christos PR 23207
473 1.11 christos * elf32-hppa.c (hppa_get_stub_entry): Return NULL when link_sec
474 1.11 christos is NULL.
475 1.11 christos (elf32_hppa_size_stubs): Only create stubs for load, alloc, code
476 1.11 christos sections.
477 1.11 christos (final_link_relocate): Revert last change.
478 1.11 christos
479 1.11 christos 2018-05-22 Alan Modra <amodra (a] gmail.com>
480 1.11 christos
481 1.11 christos PR 23207
482 1.11 christos * elf32-hppa.c (final_link_relocate): Don't look for plt call
483 1.11 christos stubs in non-alloc sections.
484 1.11 christos
485 1.11 christos 2018-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
486 1.11 christos
487 1.11 christos PR ld/23201
488 1.11 christos * aout-target.h (MY_bfd_link_hide_symbol): New.
489 1.11 christos * aout-tic30.c (MY_bfd_link_hide_symbol): Likewise.
490 1.11 christos * binary.c (binary_bfd_link_hide_symbol): Likewise.
491 1.11 christos * coff-alpha.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise.
492 1.11 christos * coff-mips.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise.
493 1.11 christos * coff-rs6000.c (_bfd_xcoff_bfd_link_hide_symbol): Likewise.
494 1.11 christos * coffcode.h (coff_bfd_link_hide_symbol): Likewise.
495 1.11 christos * elf-bfd.h (_bfd_elf_link_hide_symbol): Likewise.
496 1.11 christos * elfxx-target.h (bfd_elfNN_bfd_link_hide_symbol): Likewise.
497 1.11 christos * i386msdos.c (msdos_bfd_link_hide_symbol): Likewise.
498 1.11 christos * ihex.c (ihex_bfd_link_hide_symbol): Likewise.
499 1.11 christos * libbfd-in.h (_bfd_nolink_bfd_link_hide_symbol): Likewise.
500 1.11 christos * linker.c (_bfd_generic_link_hide_symbol): Likewise.
501 1.11 christos (bfd_link_hide_symbol): Likewise.
502 1.11 christos * mach-o-target.c (bfd_mach_o_bfd_link_hide_symbol): Likewise.
503 1.11 christos * mmo.c (mmo_bfd_link_hide_symbol): Likewise.
504 1.11 christos * pef.c (bfd_pef_bfd_link_hide_symbol): Likewise.
505 1.11 christos * plugin.c (bfd_plugin_bfd_link_hide_symbol): Likewise.
506 1.11 christos * ppcboot.c (ppcboot_bfd_link_hide_symbol): Likewise.
507 1.11 christos * som.c (som_bfd_link_hide_symbol): Likewise.
508 1.11 christos * srec.c (srec_bfd_link_hide_symbol): Likewise.
509 1.11 christos * tekhex.c (tekhex_bfd_link_hide_symbol): Likewise.
510 1.11 christos * vms-alpha.c (vms_bfd_link_hide_symbol): Likewise.
511 1.11 christos (alpha_vms_bfd_link_hide_symbol): Likewise.
512 1.11 christos * xsym.c (bfd_sym_bfd_link_hide_symbol): Likewise.
513 1.11 christos * coff64-rs6000.c (rs6000_xcoff64_vec): Add
514 1.11 christos _bfd_generic_link_hide_symbol.
515 1.11 christos (rs6000_xcoff64_aix_vec): Likewise.
516 1.11 christos * elflink.c (bfd_elf_record_link_assignment): Don't make forced
517 1.11 christos local symbol dynamic.
518 1.11 christos (_bfd_elf_link_hide_symbol): New function.
519 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't
520 1.11 christos check root.ldscript_def.
521 1.11 christos * targets.c (bfd_target): Add _bfd_link_hide_symbol.
522 1.11 christos (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_link_hide_symbol.
523 1.11 christos * bfd-in2.h: Regenerated.
524 1.11 christos * libbfd.h: Likewise.
525 1.11 christos
526 1.11 christos 2018-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
527 1.11 christos
528 1.11 christos PR binutils/23199
529 1.11 christos * elf.c (setup_group): Mark section in a section group with
530 1.11 christos SHF_GROUP.
531 1.11 christos
532 1.11 christos 2018-05-18 H.J. Lu <hongjiu.lu (a] intel.com>
533 1.11 christos
534 1.11 christos PR ld/23194
535 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't
536 1.11 christos set eh->local_ref to 1 if a symbol is versioned and there is a
537 1.11 christos version script.
538 1.11 christos
539 1.11 christos 2018-05-18 Kito Cheng <kito.cheng (a] gmail.com>
540 1.11 christos
541 1.11 christos * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Handle
542 1.11 christos EF_RISCV_RVE.
543 1.11 christos
544 1.11 christos 2018-05-18 Jim Wilson <jimw (a] sifive.com>
545 1.11 christos
546 1.11 christos * elfnn-riscv.c (allocate_dynrelocs): Discard dynamic relocations if
547 1.11 christos UNDEFWEAK_NO_DYNAMIC_RELOC is true.
548 1.11 christos (riscv_elf_relocate_section): Don't generate dynamic relocation if
549 1.11 christos UNDEFWEAK_NO_DYNAMIC_RELOC is true.
550 1.11 christos (riscv_elf_finish_dynamic_symbol): Likewise.
551 1.11 christos
552 1.11 christos 2018-05-18 John Darrington <john (a] darrington.wattle.id.au>
553 1.11 christos
554 1.11 christos * Makefile.am: Add s12z files.
555 1.11 christos * Makefile.in: Regenerate.
556 1.11 christos * archures.c: Add bfd_s12z_arch.
557 1.11 christos * bfd-in.h: Add exports of bfd_putb24 and bfd_putl24.
558 1.11 christos * bfd-in2.h: Regenerate.
559 1.11 christos * config.bfd: Add s12z target.
560 1.11 christos * configure.ac: Add s12z target.
561 1.11 christos * configure: Regenerate.
562 1.11 christos * cpu-s12z.c: New file.
563 1.11 christos * elf32-s12z.c: New file.
564 1.11 christos * libbfd.c (bfd_putb24): New function.
565 1.11 christos (bfd_putl24): New function.
566 1.11 christos * libbfd.h: Regenerate.
567 1.11 christos * reloc.c: Add s12z relocations.
568 1.11 christos (bfd_get_reloc_size): Handle size 5 relocs.
569 1.11 christos * targets.c: Add s12z_elf32_vec.
570 1.11 christos
571 1.11 christos 2018-05-18 H.J. Lu <hongjiu.lu (a] intel.com>
572 1.11 christos
573 1.11 christos PR ld/23189
574 1.11 christos * elf32-i386.c (elf_i386_relocate_section): Handle R_386_GOT32X
575 1.11 christos like R_386_GOT32.
576 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't
577 1.11 christos set eh->local_ref to 1 for linker defined symbols.
578 1.11 christos
579 1.11 christos 2018-05-18 Alan Modra <amodra (a] gmail.com>
580 1.11 christos
581 1.11 christos PR 23199
582 1.11 christos * elf.c (setup_group): Formatting. Check that SHT_GROUP entries
583 1.11 christos don't point at other SHT_GROUP sections. Set shdr corresponding
584 1.11 christos to invalid entry, to NULL rather than section 0. Identify
585 1.11 christos SHT_GROUP section index when reporting an error. Cope with NULL
586 1.11 christos shdr pointer.
587 1.11 christos
588 1.11 christos 2018-05-18 Alan Modra <amodra (a] gmail.com>
589 1.11 christos
590 1.11 christos * libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout.
591 1.11 christos * configure.ac (HAVE_HIDDEN): Check compiler support for hidden
592 1.11 christos visibility.
593 1.11 christos * libbfd.h: Regenerate.
594 1.11 christos * configure: Regenerate.
595 1.11 christos * config.in: Regenerate.
596 1.11 christos
597 1.11 christos 2018-05-18 Alan Modra <amodra (a] gmail.com>
598 1.11 christos
599 1.11 christos * libbfd-in.h: Add include guard.
600 1.11 christos * libcoff-in.h: Likewise.
601 1.11 christos * doc/Makefile.am (libbfd.h, libcoff.h): Append another #endif.
602 1.11 christos * doc/Makefile.in: Regenerate.
603 1.11 christos * libbfd.h: Regenerate.
604 1.11 christos * libcoff.h: Regenerate.
605 1.11 christos
606 1.11 christos 2018-05-16 Maciej W. Rozycki <macro (a] mips.com>
607 1.11 christos
608 1.11 christos * elf32-nds32.c (nds32_convert_32_to_16): Preset `insn_type'.
609 1.11 christos
610 1.11 christos 2018-05-16 Alan Modra <amodra (a] gmail.com>
611 1.11 christos
612 1.11 christos PR 22458
613 1.11 christos * format.c (struct bfd_preserve): Add section_id.
614 1.11 christos (bfd_preserve_save, bfd_preserve_restore): Save and restore
615 1.11 christos _bfd_section_id.
616 1.11 christos (bfd_reinit): Set _bfd_section_id.
617 1.11 christos (bfd_check_format_matches): Put all matches of any priority into
618 1.11 christos matching_vector. Save initial section id and start each attempted
619 1.11 christos match at that section id.
620 1.11 christos * libbfd-in.h (_bfd_section_id): Declare.
621 1.11 christos * section.c (_bfd_section_id): Rename from section_id and make
622 1.11 christos global. Adjust uses.
623 1.11 christos (bfd_get_next_section_id): Delete.
624 1.11 christos * elf64-ppc.c (ppc64_elf_setup_section_lists): Replace use of
625 1.11 christos bfd_get_section_id with _bfd_section_id.
626 1.11 christos * libbfd.h: Regenerate.
627 1.11 christos * bfd-in2.h: Regenerate.
628 1.11 christos
629 1.11 christos 2018-05-15 Christophe Guillon <christophe.guillon (a] st.com>
630 1.11 christos
631 1.11 christos * coffcode.h (coff_bigobj_swap_aux_in): Make sure that all fields
632 1.11 christos of the aux structure are initialised.
633 1.11 christos
634 1.11 christos 2018-05-15 Francois H. Theron <francois.theron (a] netronome.com>
635 1.11 christos
636 1.11 christos * targets.c: Wrap nfp_elf64_vec in BFD64 ifdef.
637 1.11 christos
638 1.11 christos 2018-05-15 Nick Clifton <nickc (a] redhat.com>
639 1.11 christos
640 1.11 christos * po/pt.po: New Portuguese translation.
641 1.11 christos * configure.ac (ALL_LINGUAS): Add pt.
642 1.11 christos * configure: Regenerate.
643 1.11 christos
644 1.11 christos 2018-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
645 1.11 christos
646 1.11 christos PR ld/23169
647 1.11 christos * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Don't issue
648 1.11 christos an error on IFUNC pointer defined in PDE.
649 1.11 christos * elf32-i386.c (elf_i386_finish_dynamic_symbol): Call
650 1.11 christos _bfd_x86_elf_link_fixup_ifunc_symbol.
651 1.11 christos * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
652 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): New
653 1.11 christos function.
654 1.11 christos * elfxx-x86.h (_bfd_x86_elf_link_fixup_ifunc_symbol): New.
655 1.11 christos
656 1.11 christos 2018-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
657 1.11 christos
658 1.11 christos PR ld/23162
659 1.11 christos * elfxx-x86.c (elf_x86_linker_defined): New function.
660 1.11 christos (_bfd_x86_elf_link_check_relocs): Use it to mark __bss_start,
661 1.11 christos _end and _edata locally defined within executables.
662 1.11 christos
663 1.11 christos 2018-05-12 Alan Modra <amodra (a] gmail.com>
664 1.11 christos
665 1.11 christos PR 20659
666 1.11 christos * elf.c (rewrite_elf_program_header): Use segment_mark only for
667 1.11 christos PT_LOAD headers. Delete first_matching_lma and first_suggested_lma.
668 1.11 christos Instead make matching_lma and suggested_lma pointers to the
669 1.11 christos sections. Align section vma and lma calculated from segment.
670 1.11 christos Don't clear includes_phdrs or includes_filehdr based on p_paddr
671 1.11 christos test. Try to handle alignment padding before first section by
672 1.11 christos adjusting new segment lma down. Adjust PT_PHDR map p_paddr.
673 1.11 christos
674 1.11 christos 2018-05-09 Dimitar Dimitrov <dimitar (a] dinux.eu>
675 1.11 christos
676 1.11 christos * elf32-pru.c (pru_elf32_do_ldi32_relocate): Make LDI32 relocation
677 1.11 christos conformant to TI ABI.
678 1.11 christos (pru_elf32_relax_section): Likewise.
679 1.11 christos (pru_elf_relax_delete_bytes): Fix offsets for new LDI32 code.
680 1.11 christos * elf32-pru.c (pru_elf32_do_ldi32_relocate): Ignore addend.
681 1.11 christos (pru_elf32_pmem_relocate): Trap - should not get here.
682 1.11 christos (pru_elf32_relocate_section): Add support for REL relocations.
683 1.11 christos (elf_info_to_howto_rel): Enable REL.
684 1.11 christos (elf_backend_may_use_rel_p): Likewise.
685 1.11 christos (elf_backend_may_use_rela_p): Likewise.
686 1.11 christos (elf_backend_default_use_rela_p): Likewise.
687 1.11 christos
688 1.11 christos 2018-05-09 Alan Modra <amodra (a] gmail.com>
689 1.11 christos
690 1.11 christos PR 23148
691 1.11 christos * peXXigen.c (pe_print_edata): Correct minimum size.
692 1.11 christos
693 1.11 christos 2018-05-09 Alan Modra <amodra (a] gmail.com>
694 1.11 christos
695 1.11 christos PR 23147
696 1.11 christos * peXXigen.c (pe_print_idata): Bound check hint_addr.
697 1.11 christos
698 1.11 christos 2018-05-08 Nick Clifton <nickc (a] redhat.com>
699 1.11 christos
700 1.11 christos PR 22809
701 1.11 christos * elf.c (bfd_elf_get_str_section): Check for an excessively large
702 1.11 christos string section.
703 1.11 christos * elf-attrs.c (_bfd_elf_parse_attributes): Issue an error if the
704 1.11 christos attribute section is larger than the size of the file.
705 1.11 christos
706 1.11 christos 2018-05-07 Alan Modra <amodra (a] gmail.com>
707 1.11 christos
708 1.11 christos * cofflink.c (_bfd_coff_link_input_bfd): Use memcmp rather than
709 1.11 christos strncmp when checking for ".bf" special symbol.
710 1.11 christos * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Make pe_required_section_flags
711 1.11 christos section name a char array, remove sentinal known_sections entry,
712 1.11 christos and adjust loop over known_sections to suit. Use memcmp rather
713 1.11 christos than strncmp.
714 1.11 christos
715 1.11 christos 2018-05-04 Alan Modra <amodra (a] gmail.com>
716 1.11 christos
717 1.11 christos * elf-linux-core.h (struct elf_external_linux_prpsinfo32_ugid32),
718 1.11 christos (struct elf_external_linux_prpsinfo32_ugid16),
719 1.11 christos (struct elf_external_linux_prpsinfo64_ugid32),
720 1.11 christos (struct elf_external_linux_prpsinfo64_ugid16): Add ATTRIBUTE_NONSTRING
721 1.11 christos to pr_fname and pr_psargs fields. Remove GCC diagnostic pragmas.
722 1.11 christos Move comment to..
723 1.11 christos * elf.c (elfcore_write_prpsinfo): ..here. Indent nested preprocessor
724 1.11 christos directives.
725 1.11 christos * elf32-arm.c (elf32_arm_nabi_write_core_note): Add ATTRIBUTE_NONSTRING
726 1.11 christos to data.
727 1.11 christos * elf32-ppc.c (ppc_elf_write_core_note): Likewise.
728 1.11 christos * elf32-s390.c (elf_s390_write_core_note): Likewise.
729 1.11 christos * elf64-s390.c (elf_s390_write_core_note): Likewise.
730 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise.
731 1.11 christos * elf64-x86-64.c (elf_x86_64_write_core_note): Add GCC diagnostic
732 1.11 christos pragmas.
733 1.11 christos * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Use strnlen to avoid
734 1.11 christos false positive gcc-8 warning.
735 1.11 christos * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
736 1.11 christos
737 1.11 christos 2018-05-04 Tulio Magno Quites Machado Filho <tuliom (a] linux.ibm.com>
738 1.11 christos
739 1.11 christos * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Fix the order
740 1.11 christos of arguments when warning about different long double types.
741 1.11 christos
742 1.11 christos 2018-05-03 Simon Atanasyan <simon (a] atanasyan.com>
743 1.11 christos
744 1.11 christos * elf32-mips.c: (elf32_mips_fixup_symbol): New function.
745 1.11 christos (elf_backend_fixup_symbol): New macro.
746 1.11 christos * elfxx-mips.c: (mips_elf_output_extsym): Discard _gp_disp
747 1.11 christos handling.
748 1.11 christos (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
749 1.11 christos
750 1.11 christos 2018-04-30 Francois H. Theron <francois.theron (a] netronome.com>
751 1.11 christos
752 1.11 christos * Makefile.am: Added NFP files to build.
753 1.11 christos * archures.c: Added bfd_arch_nfp
754 1.11 christos * config.bfd: Added NFP support.
755 1.11 christos * configure.ac: Added NFP support.
756 1.11 christos * cpu-nfp.c: New, for NFP support.
757 1.11 christos * elf-bfd.h: Added elf_section_info()
758 1.11 christos * elf64-nfp.c: New, for NFP support.
759 1.11 christos * po/SRC-POTFILES.in: Added NFP source files.
760 1.11 christos * targets.c: Added nfp_elf64_vec
761 1.11 christos * bfd-in2.h: Regenerate.
762 1.11 christos * Makefile.in: Regenerate.
763 1.11 christos * configure: Regenerate.
764 1.11 christos
765 1.11 christos 2018-04-27 Alan Modra <amodra (a] gmail.com>
766 1.11 christos
767 1.11 christos * bfd-in2.h: Regenerate.
768 1.11 christos * libbfd.h: Regenerate.
769 1.11 christos
770 1.11 christos 2018-04-27 Alan Modra <amodra (a] gmail.com>
771 1.11 christos
772 1.11 christos PR 23123
773 1.11 christos PR 22374
774 1.11 christos * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't drop plt
775 1.11 christos relocs for ifuncs.
776 1.11 christos * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Comment fixes.
777 1.11 christos
778 1.11 christos 2018-04-26 Pedro Alves <palves (a] redhat.com>
779 1.11 christos
780 1.11 christos * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't consider
781 1.11 christos ifunc and non-ifunc symbols duplicates.
782 1.11 christos
783 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
784 1.11 christos Mickal Gun <mickael.guene (a] st.com>
785 1.11 christos
786 1.11 christos * elf32-arm.c (elf32_arm_fdpic_thumb_plt_entry): New.
787 1.11 christos (elf32_arm_plt_needs_thumb_stub_p): Handle thumb-only case.
788 1.11 christos (elf32_arm_populate_plt_entry): Likewise.
789 1.11 christos (elf32_arm_output_plt_map_1): Likewise.
790 1.11 christos (elf32_arm_output_arch_local_syms): Likewise.
791 1.11 christos
792 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
793 1.11 christos Mickal Gun <mickael.guene (a] st.com>
794 1.11 christos
795 1.11 christos * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Handle
796 1.11 christos _GLOBAL_OFFSET_TABLE_ in FDPIC mode.
797 1.11 christos
798 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
799 1.11 christos Mickal Gun <mickael.guene (a] st.com>
800 1.11 christos
801 1.11 christos * elf32-arm.c (bfd_elf32_arm_set_target_params): Handle FDPIC case
802 1.11 christos for R_ARM_TARGET2.
803 1.11 christos
804 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
805 1.11 christos Mickal Gun <mickael.guene (a] st.com>
806 1.11 christos
807 1.11 christos * elf32-arm.c (DEFAULT_STACK_SIZE): New.
808 1.11 christos (elf32_arm_always_size_sections): Create stack segment.
809 1.11 christos
810 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
811 1.11 christos Mickal Gun <mickael.guene (a] st.com>
812 1.11 christos
813 1.11 christos * bfd-in2.h (BFD_RELOC_ARM_TLS_GD32_FDPIC)
814 1.11 christos (BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC): New
815 1.11 christos relocations.
816 1.11 christos * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_TLS_GD32_FDPIC,
817 1.11 christos R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC relocations.
818 1.11 christos (elf32_arm_reloc_map): Add R_ARM_TLS_GD32_FDPIC,
819 1.11 christos R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC.
820 1.11 christos (struct elf32_arm_link_hash_table): Update comment.
821 1.11 christos (elf32_arm_final_link_relocate): Handle TLS FDPIC relocations.
822 1.11 christos (IS_ARM_TLS_RELOC): Likewise.
823 1.11 christos (elf32_arm_check_relocs): Likewise.
824 1.11 christos (allocate_dynrelocs_for_symbol): Likewise.
825 1.11 christos (elf32_arm_size_dynamic_sections): Update comment.
826 1.11 christos * reloc.c: Add BFD_RELOC_ARM_TLS_GD32_FDPIC,
827 1.11 christos BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC.
828 1.11 christos
829 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
830 1.11 christos Mickal Gun <mickael.guene (a] st.com>
831 1.11 christos
832 1.11 christos * elf32-arm.c (elf32_arm_fdpic_plt_entry): New.
833 1.11 christos (elf32_arm_create_dynamic_sections): Handle FDPIC.
834 1.11 christos (elf32_arm_allocate_plt_entry): Likewise.
835 1.11 christos (elf32_arm_populate_plt_entry): Likewise.
836 1.11 christos (elf32_arm_output_plt_map_1): Likewise.
837 1.11 christos
838 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
839 1.11 christos Mickal Gun <mickael.guene (a] st.com>
840 1.11 christos
841 1.11 christos * elf32-arm.c (struct fdpic_local): New.
842 1.11 christos (elf_arm_obj_tdata): Add local_fdpic_cnts field.
843 1.11 christos (elf32_arm_local_fdpic_cnts): New.
844 1.11 christos (struct fdpic_global): New.
845 1.11 christos (elf32_arm_link_hash_entry): Add fdpic_cnts field.
846 1.11 christos (elf32_arm_link_hash_table): Add srofixup field.
847 1.11 christos (arm_elf_add_rofixup): New.
848 1.11 christos (arm_elf_fill_funcdesc): New.
849 1.11 christos (elf32_arm_link_hash_newfunc): Handle fdpic_cnts.
850 1.11 christos (elf32_arm_allocate_local_sym_info): Likewise.
851 1.11 christos (create_got_section): Create .rofixup section.
852 1.11 christos (elf32_arm_copy_indirect_symbol): Handle fdpic_cnts.
853 1.11 christos (bfd_elf32_arm_set_target_params): Handle FDPIC.
854 1.11 christos (elf32_arm_final_link_relocate): Likewise.
855 1.11 christos (elf32_arm_check_relocs): Likewise.
856 1.11 christos (allocate_dynrelocs_for_symbol): Likewise.
857 1.11 christos (elf32_arm_size_dynamic_sections): Likewise.
858 1.11 christos (elf32_arm_finish_dynamic_sections): Likewise.
859 1.11 christos (elf32_arm_output_arch_local_syms): Likewise.
860 1.11 christos (elf32_arm_fdpic_omit_section_dynsym): New.
861 1.11 christos
862 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
863 1.11 christos Mickal Gun <mickael.guene (a] st.com>
864 1.11 christos
865 1.11 christos * bfd-in2.c (BFD_RELOC_ARM_GOTFUNCDESC)
866 1.11 christos (BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC)
867 1.11 christos (BFD_RELOC_ARM_FUNCDESC_VALUE): New.
868 1.11 christos * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_GOTFUNCDESC,
869 1.11 christos R_ARM_GOTOFFFUNCDESC, R_ARM_FUNCDESC, R_ARM_FUNCDESC_VALUE.
870 1.11 christos (elf32_arm_howto_from_type): Take new members of
871 1.11 christos elf32_arm_howto_table_2 into account.
872 1.11 christos (elf32_arm_reloc_map): Add BFD_RELOC_ARM_GOTFUNCDESC,
873 1.11 christos BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC,
874 1.11 christos BFD_RELOC_ARM_FUNCDESC_VALUE.
875 1.11 christos * reloc.c: Add BFD_RELOC_ARM_GOTFUNCDESC,
876 1.11 christos BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC,
877 1.11 christos BFD_RELOC_ARM_FUNCDESC_VALUE.
878 1.11 christos
879 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
880 1.11 christos Mickal Gun <mickael.guene (a] st.com>
881 1.11 christos
882 1.11 christos * elf32-arm.c (elf32_arm_print_private_bfd_data): Support
883 1.11 christos EF_ARM_PIC and ELFOSABI_ARM_FDPIC.
884 1.11 christos (elf32_arm_post_process_headers): Support ELFOSABI_ARM_FDPIC.
885 1.11 christos (ELF_OSABI): Define to ELFOSABI_ARM_FDPIC.
886 1.11 christos
887 1.11 christos 2018-04-25 Christophe Lyon <christophe.lyon (a] st.com>
888 1.11 christos Mickal Gun <mickael.guene (a] st.com>
889 1.11 christos
890 1.11 christos * config.bfd (arm*-*-linux-*): Add arm_elf32_fdpic_be_vec and
891 1.11 christos arm_elf32_fdpic_le_vec to targ_selvecs. Accept
892 1.11 christos arm*-*-uclinuxfdpiceabi.
893 1.11 christos * configure.ac: Add support for arm_elf32_fdpic_be_vec and
894 1.11 christos arm_elf32_fdpic_le_vec.
895 1.11 christos * configure: Regenerate.
896 1.11 christos * elf32-arm.c (struct elf32_arm_link_hash_table): Add fdpic_p.
897 1.11 christos (elf32_arm_link_hash_table_create): Initialize fdpic_p.
898 1.11 christos (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM)
899 1.11 christos (TARGET_BIG_NAME, elf_match_priority): Define for FDPIC targets.
900 1.11 christos (elf32_arm_fdpic_link_hash_table_create): New.
901 1.11 christos * targets.c (_bfd_target_vector): Add arm_elf32_fdpic_be_vec and
902 1.11 christos arm_elf32_fdpic_le_vec.
903 1.11 christos
904 1.11 christos 2018-04-25 Alan Modra <amodra (a] gmail.com>
905 1.11 christos
906 1.11 christos * elf-linux-core.h: Disable gcc-8 string truncation warning.
907 1.11 christos * elf.c (elfcore_write_prpsinfo): Likewise.
908 1.11 christos
909 1.11 christos 2018-04-25 Alan Modra <amodra (a] gmail.com>
910 1.11 christos
911 1.11 christos * Makefile.am: Remove arm-aout and arm-coff support.
912 1.11 christos * config.bfd: Likewise.
913 1.11 christos * configure.ac: Likewise.
914 1.11 christos * targets.c: Likewise.
915 1.11 christos * aout-arm.c: Delete.
916 1.11 christos * armnetbsd.c: Delete.
917 1.11 christos * riscix.c: Delete.
918 1.11 christos * Makefile.in: Regenerate.
919 1.11 christos * configure: Regenerate.
920 1.11 christos * po/SRC-POTFILES.in: Regenerate.
921 1.11 christos
922 1.11 christos 2018-04-24 Nick Clifton <nickc (a] redhat.com>
923 1.11 christos
924 1.11 christos PR 23113
925 1.11 christos * elf.c (ignore_section_sym): Check for the output_section pointer
926 1.11 christos being NULL before dereferencing it.
927 1.11 christos
928 1.11 christos PR 23110
929 1.11 christos * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check for
930 1.11 christos a negative PE_DEBUG_DATA size before iterating over the debug data.
931 1.11 christos
932 1.11 christos 2018-04-23 Alan Modra <amodra (a] gmail.com>
933 1.11 christos
934 1.11 christos * elf-linux-core.h: Revert last change.
935 1.11 christos * elf.c: Likewise.
936 1.11 christos
937 1.11 christos 2018-04-23 Nick Clifton <nickc (a] redhat.com>
938 1.11 christos
939 1.11 christos PR 23056
940 1.11 christos * aoutx.h (aout_get_external_symbols): Allocate an extra byte at
941 1.11 christos the end of the string table, and zero it.
942 1.11 christos
943 1.11 christos 2018-04-23 Alan Modra <amodra (a] gmail.com>
944 1.11 christos
945 1.11 christos * elf-linux-core.h (swap_linux_prpsinfo32_ugid32_out): Disable
946 1.11 christos gcc-8 string truncation warning.
947 1.11 christos (swap_linux_prpsinfo32_ugid16_out): Likewise.
948 1.11 christos (swap_linux_prpsinfo64_ugid32_out): Likewise.
949 1.11 christos (swap_linux_prpsinfo64_ugid16_out): Likewise.
950 1.11 christos * elf.c (elfcore_write_prpsinfo): Likewise.
951 1.11 christos
952 1.11 christos 2018-04-23 Nick Clifton <nickc (a] redhat.com>
953 1.11 christos
954 1.11 christos PR 23056
955 1.11 christos * aoutx.h (aout_get_external_symbols): Allocate an extra byte at
956 1.11 christos the end of the string table, and zero it.
957 1.11 christos
958 1.11 christos 2018-04-20 Alan Modra <amodra (a] gmail.com>
959 1.11 christos
960 1.11 christos PR 22978
961 1.11 christos * elf32-hppa.c (got_relocs_needed): Add extra param to special
962 1.11 christos case both dtprel and tprel relocs.
963 1.11 christos (allocate_dynrelocs): Adjust conditions for got relocs.
964 1.11 christos (elf32_hppa_relocate_section): Likewise for local sym got relocs.
965 1.11 christos Emit dynamic relocs on TLS GOT entries for shared libraries,
966 1.11 christos not when pic. Omit dynamic reloc on dtprel entry when local,
967 1.11 christos and on tprel entry when local and executable.
968 1.11 christos
969 1.11 christos 2018-04-19 Alan Modra <amodra (a] gmail.com>
970 1.11 christos
971 1.11 christos PR 22537
972 1.11 christos * elf32-hppa.c (elf32_hppa_size_stubs): Init "destination" to -1.
973 1.11 christos (hppa_type_of_stub): Don't return a long branch stub for
974 1.11 christos symbols other than those defined statically.
975 1.11 christos
976 1.11 christos 2018-04-19 Alan Modra <amodra (a] gmail.com>
977 1.11 christos
978 1.11 christos * Makefile.am: Revert 2018-04-18 coff-mips changes.
979 1.11 christos * config.bfd: Add back mips_ecoff_le_vec and mips_ecoff_be_vec
980 1.11 christos to selvecs for mips targets change 2018-04-18.
981 1.11 christos * configure.ac: Reinstate mips_ecoff_le_vec, mips_ecoff_be_vec
982 1.11 christos and mips_ecoff_bele_vec.
983 1.11 christos * targets.c: Likewise.
984 1.11 christos * coff-mips.c: Resurrect.
985 1.11 christos * Makefile.in: Regenerate.
986 1.11 christos * configure: Regenerate.
987 1.11 christos * po/SRC-POTFILES.in: Regenerate.
988 1.11 christos
989 1.11 christos 2018-04-18 Alan Modra <amodra (a] gmail.com>
990 1.11 christos
991 1.11 christos * Makefile.am: Remove mips aout and coff support.
992 1.11 christos * config.bfd: Likewise.
993 1.11 christos * configure.ac: Likewise.
994 1.11 christos * targets.c: Likewise.
995 1.11 christos * coff-mips.c: Delete
996 1.11 christos * mipsbsd.c: Delete
997 1.11 christos * pe-mips.c: Delete
998 1.11 christos * pei-mips.c: Delete
999 1.11 christos * Makefile.in: Regenerate.
1000 1.11 christos * configure: Regenerate.
1001 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1002 1.11 christos
1003 1.11 christos 2018-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
1004 1.11 christos
1005 1.11 christos * elf32-i386.c (elf32_bed): Define before including
1006 1.11 christos "elf32-target.h".
1007 1.11 christos * elf64-x86-64.c (elf64_bed): Define before including
1008 1.11 christos "elf64-target.h".
1009 1.11 christos (elf32_bed): Define before including "elf32-target.h".
1010 1.11 christos
1011 1.11 christos 2018-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
1012 1.11 christos
1013 1.11 christos PR ld/23055
1014 1.11 christos * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Use a
1015 1.11 christos normal input file with compatible relocation.
1016 1.11 christos
1017 1.11 christos 2018-04-18 Alan Modra <amodra (a] gmail.com>
1018 1.11 christos
1019 1.11 christos * Makefile.am: Remove support for assorted i386 aout and coff targets.
1020 1.11 christos * config.bfd: Likewise.
1021 1.11 christos * configure.ac: Likewise.
1022 1.11 christos * doc/bfdint.texi: Likewise.
1023 1.11 christos * targets.c: Likewise.
1024 1.11 christos * freebsd.h: Delete.
1025 1.11 christos * i386dynix.c: Delete.
1026 1.11 christos * i386freebsd.c: Delete.
1027 1.11 christos * i386linux.c: Delete.
1028 1.11 christos * i386mach3.c: Delete.
1029 1.11 christos * i386netbsd.c: Delete.
1030 1.11 christos * i386os9k.c: Delete.
1031 1.11 christos * Makefile.in: Regenerate.
1032 1.11 christos * configure: Regenerate.
1033 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1034 1.11 christos
1035 1.11 christos 2018-04-17 Andrew Sadek <andrew.sadek.se (a] gmail.com>
1036 1.11 christos
1037 1.11 christos Microblaze Target: PIC data text relative
1038 1.11 christos
1039 1.11 christos * bfd/reloc.c (2 new BFD relocations):
1040 1.11 christos BFD_RELOC_MICROBLAZE_64_TEXTPCREL &
1041 1.11 christos BFD_RELOC_MICROBLAZE_64_TEXTPCREL
1042 1.11 christos * bfd/bfd-in2.h: Regenerate
1043 1.11 christos * bfd/libbfd.h: Regenerate
1044 1.11 christos * bfd/elf32-microblaze.c (Handle new relocs): define 'HOWTO' of 3
1045 1.11 christos new relocs and handle them in both relocate and relax functions.
1046 1.11 christos (microblaze_elf_reloc_type_lookup): add mapping between for new
1047 1.11 christos bfd relocs.
1048 1.11 christos (microblaze_elf_relocate_section): Handle new relocs in case of
1049 1.11 christos elf relocation.
1050 1.11 christos (microblaze_elf_relax_section): Handle new relocs for elf relaxation.
1051 1.11 christos
1052 1.11 christos 2018-04-17 Nick Clifton <nickc (a] redhat.com>
1053 1.11 christos
1054 1.11 christos PR 23055
1055 1.11 christos * aoutx.h (find_nearest_line): Check that the symbol name exists
1056 1.11 christos and is long enough, before attempting to see if it is for a .o
1057 1.11 christos file.
1058 1.11 christos * hash.c (bfd_hash_hash): Add an assertion that the string is not
1059 1.11 christos NULL.
1060 1.11 christos * linker.c (bfd_link_hash_lookup): Fail if the table or string are
1061 1.11 christos NULL.
1062 1.11 christos (_bfd_generic_link_add_archive_symbols): Fail if an archive entry
1063 1.11 christos has no name.
1064 1.11 christos
1065 1.11 christos PR 23065
1066 1.11 christos * dwarf2.c (concat_filename): Check for a NULL table pointer.
1067 1.11 christos
1068 1.11 christos 2018-04-16 Nick Clifton <nickc (a] redhat.com>
1069 1.11 christos
1070 1.11 christos PR 23061
1071 1.11 christos * coffgen.c (coff_pointerize_aux): Check for an out of range
1072 1.11 christos fixup.
1073 1.11 christos
1074 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1075 1.11 christos
1076 1.11 christos * Makefile.am: Remove arm-epoc-pe support.
1077 1.11 christos * coff-arm.c: Likewise.
1078 1.11 christos * config.bfd: Likewise.
1079 1.11 christos * configure.ac: Likewise.
1080 1.11 christos * targets.c: Likewise.
1081 1.11 christos * epoc-pe-arm.c: Delete.
1082 1.11 christos * epoc-pei-arm.c: Delete.
1083 1.11 christos * Makefile.in: Regenerate.
1084 1.11 christos * configure: Regenerate.
1085 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1086 1.11 christos
1087 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1088 1.11 christos
1089 1.11 christos * Makefile.am: Remove sparc-aout and sparc-coff support.
1090 1.11 christos * config.bfd: Likewise.
1091 1.11 christos * configure.ac: Likewise.
1092 1.11 christos * targets.c: Likewise.
1093 1.11 christos * aout-sparcle.c: Delete.
1094 1.11 christos * aoutf1.h: Delete.
1095 1.11 christos * cf-sparclynx.c: Delete.
1096 1.11 christos * coff-sparc.c: Delete.
1097 1.11 christos * demo64.c: Delete.
1098 1.11 christos * sparclinux.c: Delete.
1099 1.11 christos * sparclynx.c: Delete.
1100 1.11 christos * sparcnetbsd.c: Delete.
1101 1.11 christos * sunos.c: Delete.
1102 1.11 christos * Makefile.in: Regenerate.
1103 1.11 christos * configure: Regenerate.
1104 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1105 1.11 christos
1106 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1107 1.11 christos
1108 1.11 christos * Makefile.am: Remove m68k-aout and m68k-coff support.
1109 1.11 christos * aoutf1.h: Likewise.
1110 1.11 christos * aoutx.h: Likewise.
1111 1.11 christos * archive.c: Likewise.
1112 1.11 christos * bfd-in.h: Likewise.
1113 1.11 christos * bfd.c: Likewise.
1114 1.11 christos * coffcode.h: Likewise.
1115 1.11 christos * coffswap.h: Likewise.
1116 1.11 christos * config.bfd: Likewise.
1117 1.11 christos * configure.ac: Likewise.
1118 1.11 christos * configure.host: Likewise.
1119 1.11 christos * doc/bfd.texinfo: Likewise.
1120 1.11 christos * doc/bfdint.texi: Likewise.
1121 1.11 christos * freebsd.h: Likewise.
1122 1.11 christos * gen-aout.c: Likewise.
1123 1.11 christos * hpux-core.c: Likewise.
1124 1.11 christos * libaout.h: Likewise.
1125 1.11 christos * libbfd-in.h: Likewise.
1126 1.11 christos * pdp11.c: Likewise.
1127 1.11 christos * peicode.h: Likewise.
1128 1.11 christos * riscix.c: Likewise.
1129 1.11 christos * targets.c: Likewise.
1130 1.11 christos * aout0.c: Delete.
1131 1.11 christos * coff-apollo.c: Delete.
1132 1.11 christos * coff-aux.c: Delete.
1133 1.11 christos * coff-m68k.c: Delete.
1134 1.11 christos * coff-svm68k.c: Delete.
1135 1.11 christos * coff-u68k.c: Delete.
1136 1.11 christos * hosts/delta68.h: Delete.
1137 1.11 christos * hosts/hp300bsd.h: Delete.
1138 1.11 christos * hosts/m68kaux.h: Delete.
1139 1.11 christos * hosts/news.h: Delete.
1140 1.11 christos * hp300bsd.c: Delete.
1141 1.11 christos * hp300hpux.c: Delete.
1142 1.11 christos * liboasys.h: Delete.
1143 1.11 christos * m68k4knetbsd.c: Delete.
1144 1.11 christos * m68klinux.c: Delete.
1145 1.11 christos * m68knetbsd.c: Delete.
1146 1.11 christos * oasys.c: Delete.
1147 1.11 christos * versados.c: Delete.
1148 1.11 christos * Makefile.in: Regenerate.
1149 1.11 christos * bfd-in2.h: Regenerate.
1150 1.11 christos * configure: Regenerate.
1151 1.11 christos * libbfd.h: Regenerate.
1152 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1153 1.11 christos
1154 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1155 1.11 christos
1156 1.11 christos * Makefile.am: Remove sh5 and sh64 support.
1157 1.11 christos * archures.c: Likewise.
1158 1.11 christos * config.bfd: Likewise.
1159 1.11 christos * configure.ac: Likewise.
1160 1.11 christos * cpu-sh.c: Likewise.
1161 1.11 christos * elf32-sh-relocs.h: Likewise.
1162 1.11 christos * elf32-sh.c: Likewise.
1163 1.11 christos * targets.c: Likewise.
1164 1.11 christos * elf32-sh64-com.c: Delete.
1165 1.11 christos * elf32-sh64.c: Delete.
1166 1.11 christos * elf32-sh64.h: Delete.
1167 1.11 christos * elf64-sh64.c: Delete.
1168 1.11 christos * Makefile.in: Regenerate.
1169 1.11 christos * bfd-in2.h: Regenerate.
1170 1.11 christos * configure: Regenerate.
1171 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1172 1.11 christos
1173 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1174 1.11 christos
1175 1.11 christos * Makefile.am: Remove sh-symbianelf support.
1176 1.11 christos * config.bfd: Likewise.
1177 1.11 christos * configure.ac: Likewise.
1178 1.11 christos * targets.c: Likewise.
1179 1.11 christos * elf32-sh-symbian.c: Delete.
1180 1.11 christos * Makefile.in: Regenerate.
1181 1.11 christos * configure: Regenerate.
1182 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1183 1.11 christos
1184 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1185 1.11 christos
1186 1.11 christos * Makefile.am: Remove vax-bsd and vax-ultrix support.
1187 1.11 christos * config.bfd: Likewise.
1188 1.11 christos * configure.ac: Likewise.
1189 1.11 christos * targets.c: Likewise.
1190 1.11 christos * vaxbsd.c: Delete.
1191 1.11 christos * Makefile.in: Regenerate.
1192 1.11 christos * configure: Regenerate.
1193 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1194 1.11 christos
1195 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1196 1.11 christos
1197 1.11 christos * Makefile.am: Remove w65 support.
1198 1.11 christos * archures.c: Likewise.
1199 1.11 christos * coffcode.h: Likewise.
1200 1.11 christos * config.bfd: Likewise.
1201 1.11 christos * configure.ac: Likewise.
1202 1.11 christos * targets.c: Likewise.
1203 1.11 christos * coff-w65.c: Delete.
1204 1.11 christos * cpu-w65.c: Delete.
1205 1.11 christos * Makefile.in: Regenerate.
1206 1.11 christos * bfd-in2.h: Regenerate.
1207 1.11 christos * configure: Regenerate.
1208 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1209 1.11 christos
1210 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1211 1.11 christos
1212 1.11 christos * Makefile.am: Remove we32k support.
1213 1.11 christos * archures.c: Likewise.
1214 1.11 christos * coffcode.h: Likewise.
1215 1.11 christos * config.bfd: Likewise.
1216 1.11 christos * configure.ac: Likewise.
1217 1.11 christos * targets.c: Likewise.
1218 1.11 christos * coff-we32k.c: Delete.
1219 1.11 christos * cpu-we32k.c: Delete.
1220 1.11 christos * Makefile.in: Regenerate.
1221 1.11 christos * bfd-in2.h: Regenerate.
1222 1.11 christos * configure: Regenerate.
1223 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1224 1.11 christos
1225 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1226 1.11 christos
1227 1.11 christos * Makefile.am: Remove m88k support.
1228 1.11 christos * aoutx.h: Likewise.
1229 1.11 christos * archures.c: Likewise.
1230 1.11 christos * coffcode.h: Likewise.
1231 1.11 christos * coffswap.h: Likewise.
1232 1.11 christos * config.bfd: Likewise.
1233 1.11 christos * configure.ac: Likewise.
1234 1.11 christos * cpu-ns32k.c: Likewise.
1235 1.11 christos * elf32-nds32.c: Likewise.
1236 1.11 christos * mach-o.c: Likewise.
1237 1.11 christos * netbsd-core.c: Likewise.
1238 1.11 christos * reloc.c: Likewise.
1239 1.11 christos * targets.c: Likewise.
1240 1.11 christos * coff-m88k.c: Delete.
1241 1.11 christos * cpu-m88k.c: Delete.
1242 1.11 christos * elf32-m88k.c: Delete.
1243 1.11 christos * hosts/m88kmach3.h: Delete.
1244 1.11 christos * m88kmach3.c: Delete.
1245 1.11 christos * m88kopenbsd.c: Delete.
1246 1.11 christos * Makefile.in: Regenerate.
1247 1.11 christos * bfd-in2.h: Regenerate.
1248 1.11 christos * configure: Regenerate.
1249 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1250 1.11 christos
1251 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1252 1.11 christos
1253 1.11 christos * Makefile.am: Remove i370 support.
1254 1.11 christos * archures.c: Likewise.
1255 1.11 christos * config.bfd: Likewise.
1256 1.11 christos * configure.ac: Likewise.
1257 1.11 christos * targets.c: Likewise.
1258 1.11 christos * cpu-i370.c: Delete.
1259 1.11 christos * elf32-i370.c: Delete.
1260 1.11 christos * Makefile.in: Regenerate.
1261 1.11 christos * bfd-in2.h: Regenerate.
1262 1.11 christos * configure: Regenerate.
1263 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1264 1.11 christos
1265 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1266 1.11 christos
1267 1.11 christos * Makefile.am: Remove h8500 support.
1268 1.11 christos * archures.c: Likewise.
1269 1.11 christos * coffcode.h: Likewise.
1270 1.11 christos * config.bfd: Likewise.
1271 1.11 christos * configure.ac: Likewise.
1272 1.11 christos * targets.c: Likewise.
1273 1.11 christos * coff-h8500.c: Delete.
1274 1.11 christos * cpu-h8500.c: Delete.
1275 1.11 christos * Makefile.in: Regenerate.
1276 1.11 christos * bfd-in2.h: Regenerate.
1277 1.11 christos * configure: Regenerate.
1278 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1279 1.11 christos
1280 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1281 1.11 christos
1282 1.11 christos * Makefile.am: Remove h8300-coff support.
1283 1.11 christos * coffcode.h: Likewise.
1284 1.11 christos * config.bfd: Likewise.
1285 1.11 christos * configure.ac: Likewise.
1286 1.11 christos * reloc16.c: Likewise.
1287 1.11 christos * targets.c: Likewise.
1288 1.11 christos * coff-h8300.c: Delete.
1289 1.11 christos * Makefile.in: Regenerate.
1290 1.11 christos * configure: Regenerate.
1291 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1292 1.11 christos
1293 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1294 1.11 christos
1295 1.11 christos * Makefile.am: Remove IEEE 695 support.
1296 1.11 christos * archures.c: Likewise.
1297 1.11 christos * bfd.c: Likewise.
1298 1.11 christos * config.bfd: Likewise.
1299 1.11 christos * configure.ac: Likewise.
1300 1.11 christos * doc/bfd.texinfo: Likewise.
1301 1.11 christos * doc/bfdint.texi: Likewise.
1302 1.11 christos * doc/bfdsumm.texi: Likewise.
1303 1.11 christos * section.c: Likewise.
1304 1.11 christos * targets.c: Likewise.
1305 1.11 christos * ieee.c: Delete.
1306 1.11 christos * libieee.h: Delete.
1307 1.11 christos * Makefile.in: Regenerate.
1308 1.11 christos * bfd-in2.h: Regenerate.
1309 1.11 christos * configure: Regenerate.
1310 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1311 1.11 christos
1312 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1313 1.11 christos
1314 1.11 christos * config.bfd: Remove tandem support.
1315 1.11 christos
1316 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1317 1.11 christos
1318 1.11 christos * Makefile.am: Remove newsos3 support.
1319 1.11 christos * aoutx.h: Likewise.
1320 1.11 christos * config.bfd: Likewise.
1321 1.11 christos * configure.ac: Likewise.
1322 1.11 christos * targets.c: Likewise.
1323 1.11 christos * newsos3.c: Delete.
1324 1.11 christos * Makefile.in: Regenerate.
1325 1.11 christos * configure: Regenerate.
1326 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1327 1.11 christos
1328 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1329 1.11 christos
1330 1.11 christos * Makefile.am: Remove netware support.
1331 1.11 christos * bfd-in.h: Likewise.
1332 1.11 christos * bfd.c: Likewise.
1333 1.11 christos * config.bfd: Likewise.
1334 1.11 christos * configure.ac: Likewise.
1335 1.11 christos * doc/bfdint.texi: Likewise.
1336 1.11 christos * ecoff.c: Likewise.
1337 1.11 christos * targets.c: Likewise.
1338 1.11 christos * libnlm.h: Delete.
1339 1.11 christos * nlm-target.h: Delete.
1340 1.11 christos * nlm.c: Delete.
1341 1.11 christos * nlm32-alpha.c: Delete.
1342 1.11 christos * nlm32-i386.c: Delete.
1343 1.11 christos * nlm32-ppc.c: Delete.
1344 1.11 christos * nlm32-sparc.c: Delete.
1345 1.11 christos * nlm32.c: Delete.
1346 1.11 christos * nlm64.c: Delete.
1347 1.11 christos * nlmcode.h: Delete.
1348 1.11 christos * nlmswap.h: Delete.
1349 1.11 christos * Makefile.in: Regenerate.
1350 1.11 christos * bfd-in2.h: Regenerate.
1351 1.11 christos * configure: Regenerate.
1352 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1353 1.11 christos
1354 1.11 christos 2018-04-16 Alan Modra <amodra (a] gmail.com>
1355 1.11 christos
1356 1.11 christos * archures.c: Remove tahoe support.
1357 1.11 christos * config.bfd: Likewise.
1358 1.11 christos * configure.ac: Likewise.
1359 1.11 christos * hosts/tahoe.h: Delete.
1360 1.11 christos * bfd-in2.h: Regenerate.
1361 1.11 christos * configure: Regenerate.
1362 1.11 christos
1363 1.11 christos 2018-04-14 Alan Modra <amodra (a] gmail.com>
1364 1.11 christos
1365 1.11 christos * elf-bfd.h (struct elf_backend_data): Add relropagesize.
1366 1.11 christos * elfxx-target.h (ELF_RELROPAGESIZE): Provide default and
1367 1.11 christos sanity test.
1368 1.11 christos (elfNN_bed): Init relropagesize.
1369 1.11 christos * bfd.c (bfd_emul_get_commonpagesize): Add boolean param to
1370 1.11 christos select relropagesize.
1371 1.11 christos * elf32-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000.
1372 1.11 christos (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE.
1373 1.11 christos (ELF_MINPAGESIZE): Don't define.
1374 1.11 christos * elf64-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000.
1375 1.11 christos (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE.
1376 1.11 christos * bfd-in2.h: Regenerate.
1377 1.11 christos
1378 1.11 christos 2018-04-14 Alan Modra <amodra (a] gmail.com>
1379 1.11 christos
1380 1.11 christos * elf32-ppc.c (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Don't depend
1381 1.11 christos on __QNXTARGET__ define.
1382 1.11 christos
1383 1.11 christos 2018-04-14 Alan Modra <amodra (a] gmail.com>
1384 1.11 christos
1385 1.11 christos * config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss*
1386 1.11 christos to obsolete list.
1387 1.11 christos
1388 1.11 christos 2018-04-11 Alan Modra <amodra (a] gmail.com>
1389 1.11 christos
1390 1.11 christos * aout-adobe.c: Delete.
1391 1.11 christos * bout.c: Delete.
1392 1.11 christos * coff-i860.c: Delete.
1393 1.11 christos * coff-i960.c: Delete.
1394 1.11 christos * cpu-i860.c: Delete.
1395 1.11 christos * cpu-i960.c: Delete.
1396 1.11 christos * elf32-i860.c: Delete.
1397 1.11 christos * elf32-i960.c: Delete.
1398 1.11 christos * hosts/i860mach3.h: Delete.
1399 1.11 christos * Makefile.am: Remove i860, i960, bout, and adobe support.
1400 1.11 christos * archures.c: Remove i860 and i960 support.
1401 1.11 christos * coffcode.h: Likewise.
1402 1.11 christos * reloc.c: Likewise.
1403 1.11 christos * aoutx.h: Comment updates.
1404 1.11 christos * archive.c: Remove BOUT and i960 support.
1405 1.11 christos * bfd.c: Remove BOUT support.
1406 1.11 christos * coffswap.h: Remove i960 support.
1407 1.11 christos * config.bfd: Remove i860, i960 and adobe targets.
1408 1.11 christos * configure.ac: Remove adode, bout, i860, i960, icoff targets.
1409 1.11 christos * targets.c: Likewise.
1410 1.11 christos * ieee.c: Remove i960 support.
1411 1.11 christos * mach-o.c: Remove i860 support.
1412 1.11 christos * Makefile.in: Regenerate.
1413 1.11 christos * bfd-in2.h: Regenerate.
1414 1.11 christos * configure: Regenerate.
1415 1.11 christos * libbfd.h: Regenerate.
1416 1.11 christos * po/SRC-POTFILES.in: Regenerate.
1417 1.11 christos
1418 1.11 christos 2018-04-09 Maciej W. Rozycki <macro (a] mips.com>
1419 1.11 christos
1420 1.11 christos * elf64-mips.c (mips_elf64_write_rel): Handle a NULL BFD pointer
1421 1.11 christos in the BFD symbol referred by the relocation.
1422 1.11 christos (mips_elf64_write_rela): Likewise.
1423 1.11 christos
1424 1.11 christos 2018-04-09 Maciej W. Rozycki <macro (a] mips.com>
1425 1.11 christos
1426 1.11 christos * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Issue an
1427 1.11 christos error for out-of-range `r_sym' values.
1428 1.11 christos
1429 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1430 1.11 christos
1431 1.11 christos * elf64-ppc.c (struct _ppc64_elf_section_data): Add has_pltcall field.
1432 1.11 christos (struct ppc_link_hash_table): Add can_convert_all_inline_plt.
1433 1.11 christos (ppc64_elf_check_relocs): Set has_pltcall.
1434 1.11 christos (ppc64_elf_adjust_dynamic_symbol): Discard some PLT entries.
1435 1.11 christos (ppc64_elf_inline_plt): New function.
1436 1.11 christos (ppc64_elf_size_dynamic_sections): Discard some PLT entries for locals.
1437 1.11 christos * elf64-ppc.h (ppc64_elf_inline_plt): Declare.
1438 1.11 christos * elf32-ppc.c (has_pltcall): Define.
1439 1.11 christos (struct ppc_elf_link_hash_table): Add can_convert_all_inline_plt.
1440 1.11 christos (ppc_elf_check_relocs): Set has_pltcall.
1441 1.11 christos (ppc_elf_inline_plt): New function.
1442 1.11 christos (ppc_elf_adjust_dynamic_symbol): Discard some PLT entries.
1443 1.11 christos (ppc_elf_size_dynamic_sections): Likewise.
1444 1.11 christos * elf32-ppc.h (ppc_elf_inline_plt): Declare.
1445 1.11 christos
1446 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1447 1.11 christos
1448 1.11 christos * elf32-ppc.c (ppc_elf_howto_raw): Add PLTSEQ and PLTCALL howtos.
1449 1.11 christos (is_plt_seq_reloc): New function.
1450 1.11 christos (ppc_elf_check_relocs): Handle PLTSEQ and PLTCALL relocs.
1451 1.11 christos (ppc_elf_tls_optimize): Handle inline plt call sequence.
1452 1.11 christos (ppc_elf_relax_section): Handle PLTCALL reloc.
1453 1.11 christos (ppc_elf_relocate_section): Nop out inline plt call sequence when
1454 1.11 christos resolving locally.
1455 1.11 christos * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_PLTSEQ and
1456 1.11 christos R_PPC64_PLTCALL entries. Comment R_PPC64_TOCSAVE.
1457 1.11 christos (has_tls_get_addr_call): Correct comment.
1458 1.11 christos (is_branch_reloc): Add PLTCALL.
1459 1.11 christos (is_plt_seq_reloc): New function.
1460 1.11 christos (ppc64_elf_check_relocs): Handle PLT16_LO_DS reloc. Set
1461 1.11 christos has_tls_reloc for R_PPC64_TLSGD and R_PPC64_TLSLD. Create plt
1462 1.11 christos entry for R_PPC64_PLTCALL.
1463 1.11 christos (ppc64_elf_tls_optimize): Handle inline plt call sequence.
1464 1.11 christos (ppc_type_of_stub): Handle PLTCALL reloc.
1465 1.11 christos (toc_adjusting_stub_needed): Likewise.
1466 1.11 christos (ppc64_elf_relocate_section): Set "can_plt_call" for PLTCALL
1467 1.11 christos reloc insn. Nop out inline plt call sequence when resolving
1468 1.11 christos locally. Handle __tls_get_addr inline plt call optimization.
1469 1.11 christos
1470 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1471 1.11 christos
1472 1.11 christos * elf64-ppc.c (LOCAL_PLT_ENTRY_SIZE): Define.
1473 1.11 christos (struct ppc_stub_hash_entry): Add symtype field.
1474 1.11 christos (PLT_KEEP): Define.
1475 1.11 christos (struct ppc_link_hash_table): Add pltlocal and relpltlocal.
1476 1.11 christos (create_linkage_sections): Create pltlocal and relpltlocal.
1477 1.11 christos (ppc64_elf_check_relocs): Allow PLT relocs on local symbols.
1478 1.11 christos Set PLT_KEEP.
1479 1.11 christos (ppc64_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls.
1480 1.11 christos (allocate_dynrelocs): Allocate pltlocal and relpltlocal.
1481 1.11 christos (ppc64_elf_size_dynamic_sections): Size pltlocal and relpltlocal.
1482 1.11 christos Keep PLT entries for inline calls against locals.
1483 1.11 christos (ppc_build_one_stub): Use pltlocal as appropriate.
1484 1.11 christos (ppc_size_one_stub): Likewise.
1485 1.11 christos (ppc64_elf_size_stubs): Set symtype.
1486 1.11 christos (build_global_entry_stubs_and_plt): Init pltlocal and write
1487 1.11 christos relpltlocal for globals.
1488 1.11 christos (write_plt_relocs_for_local_syms): Likewise for local syms.
1489 1.11 christos (ppc64_elf_relocate_section): Support PLT for local syms.
1490 1.11 christos * elf32-ppc.c (PLT_KEEP): Define.
1491 1.11 christos (struct ppc_elf_link_hash_table): Add pltlocal and relpltlocal.
1492 1.11 christos (ppc_elf_create_glink): Create pltlocal and relpltlocal.
1493 1.11 christos (ppc_elf_check_relocs): Allow PLT relocs on local symbols.
1494 1.11 christos Set PLT_KEEP. Adjust update_local_sym_info call.
1495 1.11 christos (ppc_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls.
1496 1.11 christos (allocate_dynrelocs): Allocate pltlocal and relpltlocal.
1497 1.11 christos (ppc_elf_size_dynamic_sections): Size pltlocal and relpltlocal.
1498 1.11 christos (ppc_elf_relocate_section): Support PLT16 relocs for local syms.
1499 1.11 christos (write_global_sym_plt): Init pltlocal and write relpltlocal.
1500 1.11 christos (ppc_finish_symbols): Likewise for locals.
1501 1.11 christos
1502 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1503 1.11 christos
1504 1.11 christos * elf64-ppc.c (ppc_build_one_stub): Move output of PLT relocs
1505 1.11 christos for local symbols to..
1506 1.11 christos (write_plt_relocs_for_local_syms): ..here. New function.
1507 1.11 christos (ppc64_elf_finish_dynamic_symbol): Move output of PLT relocs for
1508 1.11 christos global symbols to..
1509 1.11 christos (build_global_entry_stubs_and_plt): ..here. Rename from
1510 1.11 christos build_global_entry_stubs.
1511 1.11 christos (ppc64_elf_build_stubs): Always call build_global_entry_stubs_and_plt.
1512 1.11 christos Call write_plt_relocs_for_local_syms.
1513 1.11 christos * elf32-ppc.c (get_sym_h): New function.
1514 1.11 christos (ppc_elf_relax_section): Use get_sym_h.
1515 1.11 christos (ppc_elf_relocate_section): Move output of PLT relocs and glink
1516 1.11 christos stubs for local symbols to..
1517 1.11 christos (ppc_finish_symbols): ..here. New function.
1518 1.11 christos (ppc_elf_finish_dynamic_symbol): Move output of PLT relocs for
1519 1.11 christos global syms to..
1520 1.11 christos (write_global_sym_plt): ..here. New function.
1521 1.11 christos * elf32-ppc.h (ppc_elf_modify_segment_map): Delete attribute.
1522 1.11 christos (ppc_finish_symbols): Declare.
1523 1.11 christos
1524 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1525 1.11 christos
1526 1.11 christos * elf32-ppc.c (ppc_elf_check_relocs): Handle PLT16 relocs.
1527 1.11 christos (ppc_elf_relocate_section): Likewise.
1528 1.11 christos * elf64-ppc.c (ppc64_elf_check_relocs): Handle PLT16_LO_DS.
1529 1.11 christos (ppc64_elf_relocate_section): Likewise. Correct PLT16
1530 1.11 christos resolution to plt entry relative to toc pointer.
1531 1.11 christos
1532 1.11 christos 2018-04-09 Alan Modra <amodra (a] gmail.com>
1533 1.11 christos
1534 1.11 christos * elf64-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL,
1535 1.11 christos TLS_TPRELGD, TLS_EXPLICIT): Renumber. Test TLS_TLS throughout
1536 1.11 christos file when other TLS flags are tested in a mask.
1537 1.11 christos (TLS_MARK, NON_GOT): Define.
1538 1.11 christos (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well.
1539 1.11 christos (update_local_sym_info): Don't create got entry when NON_GOT.
1540 1.11 christos (ppc64_elf_check_relocs): Pass NON_GOT with PLT_IFUNC.
1541 1.11 christos Set TLS_MARK.
1542 1.11 christos (get_tls_mask): Do toc lookup if tls_mask is just TLS_MARK.
1543 1.11 christos (ppc64_elf_relocate_section): Likewise.
1544 1.11 christos (ppc64_elf_tls_optimize): Don't attempt to optimize indirect
1545 1.11 christos __tls_get_addr calls lacking a marker reloc.
1546 1.11 christos * elf32-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL,
1547 1.11 christos TLS_TPRELGD): Renumber. Update comment.
1548 1.11 christos (TLS_MARK, NON_GOT): Define.
1549 1.11 christos (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well.
1550 1.11 christos (update_local_sym_info): Don't create got entry when NON_GOT.
1551 1.11 christos (ppc_elf_check_relocs): Pass NON_GOT with PLT_IFUNC.
1552 1.11 christos Set TLS_MARK.
1553 1.11 christos (ppc_elf_tls_optimize): Don't attempt to optimize indirect
1554 1.11 christos __tls_get_addr calls lacking a marker reloc.
1555 1.11 christos
1556 1.11 christos 2018-04-06 H.J. Lu <hongjiu.lu (a] intel.com>
1557 1.11 christos
1558 1.11 christos * elf64-x86-64.c (elf_x86_64_info_to_howto): Don't mask out
1559 1.11 christos R_X86_64_converted_reloc_bit.
1560 1.11 christos
1561 1.11 christos 2018-04-05 H.J. Lu <hongjiu.lu (a] intel.com>
1562 1.11 christos
1563 1.11 christos PR gas/22318
1564 1.11 christos * configure: Regenerated.
1565 1.11 christos
1566 1.11 christos 2018-04-05 Alan Modra <amodra (a] gmail.com>
1567 1.11 christos
1568 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto): Init howto to NULL.
1569 1.11 christos (elf_hppa_info_to_howto_rel): Likewise.
1570 1.11 christos
1571 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1572 1.11 christos
1573 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto): Also return
1574 1.11 christos unsuccessfully for unimplemented relocations.
1575 1.11 christos (elf_hppa_info_to_howto_rel): Likewise.
1576 1.11 christos
1577 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1578 1.11 christos
1579 1.11 christos * elf32-i860.c (lookup_howto): Add `abfd' parameter. Set the
1580 1.11 christos `bfd_error_bad_value' error and call `_bfd_error_handler' on a
1581 1.11 christos howto lookup failure.
1582 1.11 christos (elf32_i860_reloc_type_lookup): Adjust `lookup_howto' call
1583 1.11 christos accordingly.
1584 1.11 christos (elf32_i860_info_to_howto_rela): Likewise.
1585 1.11 christos (elf32_i860_relocate_splitn): Likewise.
1586 1.11 christos (elf32_i860_relocate_pc16): Likewise.
1587 1.11 christos (elf32_i860_relocate_pc26): Likewise.
1588 1.11 christos (elf32_i860_relocate_section): Likewise.
1589 1.11 christos
1590 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1591 1.11 christos
1592 1.11 christos * elf32-visium.c (visium_info_to_howto_rela): Correct the range
1593 1.11 christos check for `visium_elf_howto_table' table access.
1594 1.11 christos
1595 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1596 1.11 christos
1597 1.11 christos * elf32-iq2000.c (iq2000_info_to_howto_rela): Correct the range
1598 1.11 christos check for `iq2000_elf_howto_table' table access.
1599 1.11 christos
1600 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1601 1.11 christos
1602 1.11 christos * elf32-frv.c (frv_info_to_howto_rela): Correct the range check
1603 1.11 christos for `elf32_frv_howto_table' table access.
1604 1.11 christos
1605 1.11 christos 2018-04-04 Maciej W. Rozycki <macro (a] mips.com>
1606 1.11 christos
1607 1.11 christos * elf32-mips.c (mips_elf32_rtype_to_howto): Also return
1608 1.11 christos unsuccessfully for placeholder howtos.
1609 1.11 christos * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
1610 1.11 christos * elfn32-mips.c (mips_elf_n32_rtype_to_howto): Likewise.
1611 1.11 christos
1612 1.11 christos 2018-03-29 Maciej W. Rozycki <macro (a] mips.com>
1613 1.11 christos
1614 1.11 christos * elf32-mips.c (mips_info_to_howto_rel): Remove the calls to
1615 1.11 christos `_bfd_error_handler' and to set the `bfd_error_bad_value' error.
1616 1.11 christos
1617 1.11 christos 2018-03-28 Maciej W. Rozycki <macro (a] mips.com>
1618 1.11 christos
1619 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove
1620 1.11 christos ATTRIBUTE_UNUSED from `abfd'.
1621 1.11 christos
1622 1.11 christos 2018-03-28 Maciej W. Rozycki <macro (a] mips.com>
1623 1.11 christos
1624 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct
1625 1.11 christos `_bfd_error_handler' call formatting.
1626 1.11 christos
1627 1.11 christos 2018-03-28 Maciej W. Rozycki <macro (a] mips.com>
1628 1.11 christos
1629 1.11 christos * elf32-mips.c (mips_info_to_howto_rel): Call
1630 1.11 christos `mips_elf32_rtype_to_howto' directly rather than via
1631 1.11 christos `->elf_backend_mips_rtype_to_howto'.
1632 1.11 christos
1633 1.11 christos 2018-03-28 Renlin Li <renlin.li (a] arm.com>
1634 1.11 christos
1635 1.11 christos PR ld/22970
1636 1.11 christos * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Add cases for
1637 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
1638 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
1639 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
1640 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
1641 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
1642 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
1643 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
1644 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
1645 1.11 christos (elfNN_aarch64_final_link_relocate): Support new relocations.
1646 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Support new
1647 1.11 christos relocations.
1648 1.11 christos (_bfd_aarch64_elf_resolve_relocation): Support new relocations.
1649 1.11 christos
1650 1.11 christos 2018-03-28 Renlin Li <renlin.li (a] arm.com>
1651 1.11 christos
1652 1.11 christos PR ld/22970
1653 1.11 christos * reloc.c: Add BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12
1654 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC,
1655 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
1656 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
1657 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
1658 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
1659 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
1660 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
1661 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
1662 1.11 christos BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
1663 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add table entry for
1664 1.11 christos TLSLE_LDST16_TPREL_LO12,
1665 1.11 christos TLSLE_LDST16_TPREL_LO12_NC,
1666 1.11 christos TLSLE_LDST32_TPREL_LO12,
1667 1.11 christos TLSLE_LDST32_TPREL_LO12_NC,
1668 1.11 christos TLSLE_LDST64_TPREL_LO12,
1669 1.11 christos TLSLE_LDST64_TPREL_LO12_NC,
1670 1.11 christos TLSLE_LDST8_TPREL_LO12,
1671 1.11 christos TLSLE_LDST8_TPREL_LO12_NC.
1672 1.11 christos * bfd-in2.h: Regenerated.
1673 1.11 christos * libbfd.h: Regenerated.
1674 1.11 christos
1675 1.11 christos 2018-03-28 Eric Botcazou <ebotcazou (a] adacore.com>
1676 1.11 christos
1677 1.11 christos PR ld/22972
1678 1.11 christos * elfxx-sparc.c (struct _bfd_sparc_elf_link_hash_entry): Add new flag
1679 1.11 christos has_old_style_got_reloc.
1680 1.11 christos (_bfd_sparc_elf_check_relocs) <GOT relocations>: Set it for old-style
1681 1.11 christos relocations. Fix a couple of long lines.
1682 1.11 christos (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: Do not generate
1683 1.11 christos a R_SPARC_NONE for the GOT slot if the symbol is also subject to old-style
1684 1.11 christos GOT relocations.
1685 1.11 christos
1686 1.11 christos 2018-03-25 H.J. Lu <hongjiu.lu (a] intel.com>
1687 1.11 christos
1688 1.11 christos PR ld/23000
1689 1.11 christos * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Add
1690 1.11 christos ENDBR64 to the TLSDESC PLT entry.
1691 1.11 christos
1692 1.11 christos 2018-03-21 Alan Modra <amodra (a] gmail.com>
1693 1.11 christos
1694 1.11 christos * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Trim uninteresting
1695 1.11 christos symbols. Use size_t counts. Delete redundant opd test.
1696 1.11 christos
1697 1.11 christos 2018-03-21 Alan Modra <amodra (a] gmail.com>
1698 1.11 christos
1699 1.11 christos * elf32-ppc.c (ppc_elf_tls_optimize): Delete locsyms.
1700 1.11 christos
1701 1.11 christos 2018-03-21 Alan Modra <amodra (a] gmail.com>
1702 1.11 christos
1703 1.11 christos * elf32-ppc.c (struct ppc_elf_link_hash_entry): Make tls_mask
1704 1.11 christos field unsigned.
1705 1.11 christos (update_local_sym_info): Likewise for local_got_tls_masks.
1706 1.11 christos (ppc_elf_tls_optimize): Likewise for lgot_masks.
1707 1.11 christos
1708 1.11 christos 2018-03-21 Alan Modra <amodra (a] gmail.com>
1709 1.11 christos
1710 1.11 christos * elf64-ppc.c (ppc_size_one_stub): Fix comment typo.
1711 1.11 christos (ppc64_elf_layout_multitoc): Allocate relocs for tprel as we
1712 1.11 christos do in size_dynamic_sections.
1713 1.11 christos
1714 1.11 christos 2018-03-21 Alan Modra <amodra (a] gmail.com>
1715 1.11 christos
1716 1.11 christos * elf64-ppc.c (ppc64_elf_relocate_section): Don't access rel[1]
1717 1.11 christos without first checking array bounds.
1718 1.11 christos * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
1719 1.11 christos
1720 1.11 christos 2018-03-20 H.J. Lu <hongjiu.lu (a] intel.com>
1721 1.11 christos
1722 1.11 christos PR ld/22983
1723 1.11 christos * elflink.c (bfd_elf_link_mark_dynamic_symbol): Set
1724 1.11 christos non_ir_ref_dynamic if a symbol is made dynamic by --dynamic-list.
1725 1.11 christos
1726 1.11 christos 2018-03-19 Nick Clifton <nickc (a] redhat.com>
1727 1.11 christos
1728 1.11 christos * po/es.po: Updated Spanish translation.
1729 1.11 christos
1730 1.11 christos 2018-03-15 Max Filippov <jcmvbkbc (a] gmail.com>
1731 1.11 christos
1732 1.11 christos * elf32-xtensa.c (xlate_map_entry): Change types of address
1733 1.11 christos fields from 'unsigned' to 'bfd_vma'.
1734 1.11 christos (xlate_offset_with_removed_text): Use struct xlate_map_entry as
1735 1.11 christos the key argument to bsearch. Allow offsets past the end of a
1736 1.11 christos section, use the last map entry for translation of such offsets.
1737 1.11 christos
1738 1.11 christos 2018-03-15 Kuan-Lin Chen <kuanlinchentw (a] gmail.com>
1739 1.11 christos
1740 1.11 christos * elf32-nds32.c (nds32_elf_ex9_build_hash_table): Removed.
1741 1.11 christos Not support the target feature.
1742 1.11 christos (nds32_elf_ex9_itb_base): Likewise.
1743 1.11 christos (nds32_elf_ex9_import_table): Likewise.
1744 1.11 christos (nds32_elf_ex9_finish): Likewise.
1745 1.11 christos (nds32_elf_ex9_reloc_jmp): Likewise.
1746 1.11 christos (nds32_elf_get_insn_with_reg): Likewise.
1747 1.11 christos (nds32_get_local_syms): Likewise.
1748 1.11 christos (nds32_elf_ex9_replace_instruction): Likewise.
1749 1.11 christos (nds32_elf_ifc_calc): Likewise.
1750 1.11 christos (nds32_elf_ifc_finish): Likewise.
1751 1.11 christos (nds32_elf_ifc_replace): Likewise.
1752 1.11 christos (nds32_elf_ifc_reloc): Likewise.
1753 1.11 christos
1754 1.11 christos 2018-03-14 Alan Modra <amodra (a] gmail.com>
1755 1.11 christos
1756 1.11 christos * elf64-ppc.c (sfpr_define): Adjust for stub_sec size having
1757 1.11 christos sfpr size added before defining alias symbols.
1758 1.11 christos (ppc64_elf_build_stubs): Add stub section padding before
1759 1.11 christos copying sfpr contents and defining save/restore alias symbols.
1760 1.11 christos
1761 1.11 christos 2018-03-14 H.J. Lu <hongjiu.lu (a] intel.com>
1762 1.11 christos
1763 1.11 christos PR ld/20882
1764 1.11 christos * elflink.c (elf_gc_mark_debug_section): Also check the local
1765 1.11 christos debug definition section.
1766 1.11 christos
1767 1.11 christos 2018-03-13 Nick Clifton <nickc (a] redhat.com>
1768 1.11 christos
1769 1.11 christos PR 22113
1770 1.11 christos * pei-x86_64.c (pex64_get_unwind_info): Change to a boolean
1771 1.11 christos function. Add an end address parameter. Check access of the data
1772 1.11 christos pointer to make sure that they do not extend beyond the end
1773 1.11 christos address. Return FALSE if any check fails. Add the end address
1774 1.11 christos pointer to the ui structure.
1775 1.11 christos (pex64_xdata_print_uwd_codes): Check accesses of the raw unwind
1776 1.11 christos codes to make sure that they do not extend beyond the end address
1777 1.11 christos pointer. Print an error message and return immediately if any
1778 1.11 christos check fails.
1779 1.11 christos
1780 1.11 christos 2018-03-09 Nick Clifton <nickc (a] redhat.com>
1781 1.11 christos
1782 1.11 christos * elf64-s390.c (elf_s390_relocate_section): Move check for
1783 1.11 christos relocations against non-allocated sections to before the code that
1784 1.11 christos handles ifunc relocations.
1785 1.11 christos * elf32-s390.c (elf_s390_relocate_section): Likewise.
1786 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Treat
1787 1.11 christos relocs against IFUNC symbols in non-allocated sections as relocs
1788 1.11 christos against FUNC symbols.
1789 1.11 christos * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
1790 1.11 christos
1791 1.11 christos 2018-03-08 H.J. Lu <hongjiu.lu (a] intel.com>
1792 1.11 christos
1793 1.11 christos PR ld/22929
1794 1.11 christos * elf32-i386.c (elf_i386_relocate_section): Treat relocation
1795 1.11 christos against IFUNC symbol in SHT_NOTE section without SHF_ALLOC as
1796 1.11 christos relocation against FUNC symbol.
1797 1.11 christos * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
1798 1.11 christos
1799 1.11 christos 2018-03-07 Renlin Li <renlin.li (a] arm.com>
1800 1.11 christos
1801 1.11 christos PR ld/20402
1802 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute
1803 1.11 christos symbol, and don't emit relocation in specific case.
1804 1.11 christos
1805 1.11 christos 2018-03-07 Alan Modra <amodra (a] gmail.com>
1806 1.11 christos
1807 1.11 christos * elf64-mips.c (mips_elf64_rtype_to_howto): Return NULL on error.
1808 1.11 christos (mips_elf64_slurp_one_reloc_table): Pass on error.
1809 1.11 christos
1810 1.11 christos 2018-03-03 James Cowgill <james.cowgill (a] mips.com>
1811 1.11 christos Maciej W. Rozycki <macro (a] mips.com>
1812 1.11 christos
1813 1.11 christos PR ld/21900
1814 1.11 christos * elfxx-mips.c (mips_elf_calculate_relocation): Only return
1815 1.11 christos after calling `undefined_symbol' hook if this is an error
1816 1.11 christos condition. Assume the value of 0 for the symbol requested
1817 1.11 christos otherwise.
1818 1.11 christos
1819 1.11 christos 2018-03-02 Jim Wilson <jimw (a] sifive.com>
1820 1.11 christos
1821 1.11 christos PR 22903
1822 1.11 christos * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Add 8 bytes for branch
1823 1.11 christos and nop instead of 4.
1824 1.11 christos (elfNN_arch64_build_stubs): Add nop after branch. Increase size by
1825 1.11 christos 8 instead of 4.
1826 1.11 christos
1827 1.11 christos 2018-03-01 Jim Wilson <jimw (a] sifive.com>
1828 1.11 christos
1829 1.11 christos PR 22756
1830 1.11 christos * elfnn-riscv.c (riscv_relax_delete_bytes): When adjust st_size, use
1831 1.11 christos else if instead of if.
1832 1.11 christos
1833 1.11 christos 2018-03-01 Alan Modra <amodra (a] gmail.com>
1834 1.11 christos
1835 1.11 christos * elf32-ft32.c (ft32_info_to_howto_rela): Correct range test.
1836 1.11 christos
1837 1.11 christos 2018-02-28 Alan Modra <amodra (a] gmail.com>
1838 1.11 christos
1839 1.11 christos PR 22887
1840 1.11 christos * aoutx.h (swap_std_reloc_in): Correct r_index bound check.
1841 1.11 christos
1842 1.11 christos 2018-02-28 Nick Clifton <nickc (a] redhat.com>
1843 1.11 christos
1844 1.11 christos PR 22895
1845 1.11 christos PR 22893
1846 1.11 christos * dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block
1847 1.11 christos pointer. Drop unused abfd parameter. Check the size of the block
1848 1.11 christos before initialising the data field. Return the end pointer if the
1849 1.11 christos size is invalid.
1850 1.11 christos (read_attribute_value): Adjust invocations of read_n_bytes.
1851 1.11 christos
1852 1.11 christos PR 22894
1853 1.11 christos * dwarf1.c (parse_die): Check the length of form blocks before
1854 1.11 christos advancing the data pointer.
1855 1.11 christos
1856 1.11 christos 2018-02-28 Alan Modra <amodra (a] gmail.com>
1857 1.11 christos
1858 1.11 christos PR 22887
1859 1.11 christos * aoutx.h (translate_symbol_table): Print an error message and set
1860 1.11 christos bfd_error on finding an invalid name string offset.
1861 1.11 christos
1862 1.11 christos 2018-02-27 H.J. Lu <hongjiu.lu (a] intel.com>
1863 1.11 christos
1864 1.11 christos * config.in: Regenerated.
1865 1.11 christos * configure: Likewise.
1866 1.11 christos * configure.ac: Add --enable-separate-code.
1867 1.11 christos (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. Default
1868 1.11 christos to 1 for Linux/x86 targets,
1869 1.11 christos * elf64-x86-64.c (ELF_MAXPAGESIZE): Set to 0x1000 if
1870 1.11 christos DEFAULT_LD_Z_SEPARATE_CODE is 1.
1871 1.11 christos
1872 1.11 christos 2018-02-27 Nick Clifton <nickc (a] redhat.com>
1873 1.11 christos
1874 1.11 christos * aout-cris.c (swap_ext_reloc_out): Standadize error/warning
1875 1.11 christos message.
1876 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto_rel): Likewise.
1877 1.11 christos * elf32-i386.c (elf_i386_reloc_type_lookup): Likewise.
1878 1.11 christos * elf32-xtensa.c (elf_xtensa_reloc_type_lookup): Likewise.
1879 1.11 christos * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Likewise.
1880 1.11 christos * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise.
1881 1.11 christos * elf64-sh64.c (sh_elf64_info_to_howto): Likewise.
1882 1.11 christos * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise.
1883 1.11 christos * elfxx-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Likewise.
1884 1.11 christos * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
1885 1.11 christos
1886 1.11 christos PR 22875
1887 1.11 christos * elf-bfd.h (struct elf_backend_data): Change the return type of
1888 1.11 christos the elf_info_to_howto and elf_info_to_howto_rel function pointers
1889 1.11 christos to bfd_boolean.
1890 1.11 christos * elfcode.h (elf_slurp_reloc_table_from_section): Check the return
1891 1.11 christos value from the info_to_howto function and fail if that function
1892 1.11 christos failed.
1893 1.11 christos * elf32-h8300.c (elf32_h8_relocate_section): Check return value
1894 1.11 christos from the info_to_howto function.
1895 1.11 christos (elf32_h8_relax_section): Likewise.
1896 1.11 christos * elf32-lm32.c (lm32_elf_relocate_section): Likewise.
1897 1.11 christos * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
1898 1.11 christos * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
1899 1.11 christos * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
1900 1.11 christos * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
1901 1.11 christos * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise.
1902 1.11 christos * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Likewise.
1903 1.11 christos * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
1904 1.11 christos * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise.
1905 1.11 christos * elfnn-riscv.c (riscv_elf_check_relocs): Likewise.
1906 1.11 christos (riscv_elf_relocate_section): Likewise.
1907 1.11 christos * elf-hppa.h (elf_hppa_info_to_howto): Change return type to
1908 1.11 christos bfd_boolean. Issue an error message, set an error value and
1909 1.11 christos return FALSE if the reloc is not recognized.
1910 1.11 christos (elf_hppa_info_to_howto_rel): Likewise.
1911 1.11 christos * elf-m10200.c (mn10200_info_to_howto): Likewise.
1912 1.11 christos * elf-m10300.c (mn10300_info_to_howto): Likewise.
1913 1.11 christos * elf.c (_bfd_elf_no_info_to_howto): Likewise.
1914 1.11 christos * elf32-arc.c (arc_info_to_howto_rel): Likewise.
1915 1.11 christos * elf32-arm.c (elf32_arm_info_to_howto): Likewise.
1916 1.11 christos * elf32-avr.c (avr_info_to_howto_rela): Likewise.
1917 1.11 christos * elf32-bfin.c (bfin_info_to_howto): Likewise.
1918 1.11 christos * elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
1919 1.11 christos * elf32-cr16c.c (elf_cr16c_info_to_howto): Likewise.
1920 1.11 christos * elf32-cris.c (elf_cr16c_info_to_howto_rel)
1921 1.11 christos (cris_info_to_howto_rela): Likewise.
1922 1.11 christos * elf32-crx.c (elf_crx_info_to_howto): Likewise.
1923 1.11 christos * elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
1924 1.11 christos * elf32-d30v.c (d30v_info_to_howto_rel, d30v_info_to_howto_rela):
1925 1.11 christos Likewise.
1926 1.11 christos * elf32-dlx.c (dlx_rtype_to_howto, elf32_dlx_info_to_howto)
1927 1.11 christos (elf32_dlx_info_to_howto_rel): Likewise.
1928 1.11 christos * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
1929 1.11 christos * elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
1930 1.11 christos * elf32-frv.c (frv_info_to_howto_rela)
1931 1.11 christos (frvfdpic_info_to_howto_rel): Likewise.
1932 1.11 christos * elf32-ft32.c (ft32_info_to_howto_rela): Likewise.
1933 1.11 christos * elf32-gen.c (elf_generic_info_to_howto)
1934 1.11 christos (elf_generic_info_to_howto_rel): Likewise.
1935 1.11 christos * elf32-h8300.c (elf32_h8_info_to_howto)
1936 1.11 christos (elf32_h8_info_to_howto_rel): Likewise.
1937 1.11 christos * elf32-i370.c (i370_elf_info_to_howto): Likewise.
1938 1.11 christos * elf32-i386.c (elf_i386_reloc_type_lookup)
1939 1.11 christos (elf_i386_rtype_to_howto, elf_i386_info_to_howto_rel): Likewise.
1940 1.11 christos * elf32-i860.c (lookup_howto, elf32_i860_info_to_howto_rela):
1941 1.11 christos Likewise.
1942 1.11 christos * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
1943 1.11 christos * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
1944 1.11 christos * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
1945 1.11 christos * elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
1946 1.11 christos * elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
1947 1.11 christos * elf32-m32r.c (m32r_info_to_howto_rel, m32r_info_to_howto):
1948 1.11 christos Likewise.
1949 1.11 christos * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
1950 1.11 christos * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
1951 1.11 christos * elf32-m68k.c (rtype_to_howto): Likewise.
1952 1.11 christos * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
1953 1.11 christos * elf32-mep.c (mep_info_to_howto_rela): Likewise.
1954 1.11 christos * elf32-metag.c (metag_info_to_howto_rela): Likewise.
1955 1.11 christos * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
1956 1.11 christos * elf32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela):
1957 1.11 christos Likewise.
1958 1.11 christos * elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
1959 1.11 christos * elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
1960 1.11 christos * elf32-mt.c (mt_info_to_howto_rela): Likewise.
1961 1.11 christos * elf32-nds32.c (nds32_info_to_howto_rel, nds32_info_to_howto):
1962 1.11 christos Likewise.
1963 1.11 christos * elf32-nios2.c (nios2_elf32_info_to_howto): Likewise.
1964 1.11 christos * elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
1965 1.11 christos * elf32-pj.c (pj_elf_info_to_howto): Likewise.
1966 1.11 christos * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
1967 1.11 christos * elf32-pru.c (pru_elf32_info_to_howto): Likewise.
1968 1.11 christos * elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
1969 1.11 christos * elf32-rx.c (rx_info_to_howto_rela): Likewise.
1970 1.11 christos * elf32-s390.c (elf_s390_info_to_howto): Likewise.
1971 1.11 christos * elf32-score.c (s3_bfd_score_info_to_howto)
1972 1.11 christos (_bfd_score_info_to_howto): Likewise.
1973 1.11 christos * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
1974 1.11 christos * elf32-sh.c (sh_elf_info_to_howto): Likewise.
1975 1.11 christos * elf32-spu.c (spu_elf_info_to_howto): Likewise.
1976 1.11 christos * elf32-tic6x.c (elf32_tic6x_info_to_howto)
1977 1.11 christos (elf32_tic6x_info_to_howto_rel): Likewise.
1978 1.11 christos * elf32-tilepro.c (tilepro_info_to_howto_rela): Likewise.
1979 1.11 christos * elf32-v850.c (v850_elf_info_to_howto_rel)
1980 1.11 christos (v850_elf_info_to_howto_rela, v800_elf_info_to_howto): Likewise.
1981 1.11 christos * elf32-vax.c (rtype_to_howto): Likewise.
1982 1.11 christos * elf32-visium.c (visium_info_to_howto_rela): Likewise.
1983 1.11 christos * elf32-wasm32.c (elf32_wasm32_rtype_to_howto)
1984 1.11 christos (elf32_wasm32_info_to_howto_rela): Likewise.
1985 1.11 christos * elf32-xc16x.c (elf32_xc16x_info_to_howto): Likewise.
1986 1.11 christos * elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
1987 1.11 christos * elf32-xstormy16.c (xstormy16_info_to_howto_rela): Likewise.
1988 1.11 christos * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
1989 1.11 christos * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
1990 1.11 christos * elf64-gen.c (elf_generic_info_to_howto)
1991 1.11 christos (elf_generic_info_to_howto_rel): Likewise.
1992 1.11 christos * elf64-ia64-vms.c (elf64_ia64_info_to_howto): Likewise.
1993 1.11 christos * elf64-mips.c (mips_elf64_info_to_howto_rela): Likewise.
1994 1.11 christos * elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
1995 1.11 christos * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
1996 1.11 christos * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise.
1997 1.11 christos * elf64-sh64.c (elf_s390_info_to_howto, sh_elf64_info_to_howto):
1998 1.11 christos Likewise.
1999 1.11 christos * elf64-x86-64.c (elf_x86_64_info_to_howto): Likewise.
2000 1.11 christos * elfn32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela):
2001 1.11 christos Likewise.
2002 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_info_to_howto): Likewise.
2003 1.11 christos * elfnn-ia64.c (elfNN_ia64_info_to_howto): Likewise.
2004 1.11 christos * elfnn-riscv.c (riscv_info_to_howto_rela): Likewise.
2005 1.11 christos * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise.
2006 1.11 christos * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Likewise.
2007 1.11 christos * elfxx-tilegx.c (tilegx_info_to_howto_rela): Likewise.
2008 1.11 christos * elf32-score.h (s7_bfd_score_info_to_howto): Update prototype.
2009 1.11 christos * elfxx-sparc.h (_bfd_sparc_elf_info_to_howto): Update prototype.
2010 1.11 christos * elfxx-tilegx.h (tilegx_info_to_howto_rela): Update prototype.
2011 1.11 christos * elfxx-target.h (elf_info_to_howto, elf_info_to_howto_rel):
2012 1.11 christos Default to NULL.
2013 1.11 christos
2014 1.11 christos 2018-02-26 Jim Wilson <jimw (a] sifive.com>
2015 1.11 christos Stephan Schreiber <info (a] fs-driver.org>
2016 1.11 christos
2017 1.11 christos PR 15904
2018 1.11 christos * elfnn-ia64.c (elfNN_ia64_relax_section): After ia64_elf_relax_brl
2019 1.11 christos call, set changed_contents and changed_relocs. Likewise after
2020 1.11 christos successful ia64_elf_relax_br call.
2021 1.11 christos
2022 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2023 1.11 christos
2024 1.11 christos * elf.c (assign_file_positions_except_relocs): Don't segfault
2025 1.11 christos when actual number of phdrs is less than allocated. Delete
2026 1.11 christos outdated comment. Formatting.
2027 1.11 christos
2028 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2029 1.11 christos
2030 1.11 christos * elf-m10300.c, * elf-s390-common.c, * elf32-arc.c, * elf32-cris.c,
2031 1.11 christos * elf32-dlx.c, * elf32-frv.c, * elf32-i370.c, * elf32-lm32.c,
2032 1.11 christos * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
2033 1.11 christos * elf32-microblaze.c, * elf32-msp430.c, * elf32-nds32.c,
2034 1.11 christos * elf32-nios2.c, * elf32-or1k.c, * elf32-rl78.c, * elf32-rx.c,
2035 1.11 christos * elf32-score.c, * elf32-score7.c, * elf32-sh-symbian.c,
2036 1.11 christos * elf32-sh.c, * elf32-spu.c, * elf32-v850.c, * elf32-xtensa.c,
2037 1.11 christos * elf64-alpha.c, * elf64-ia64-vms.c, * elf64-mmix.c,
2038 1.11 christos * elf64-sh64.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-tilegx.c,
2039 1.11 christos * mmo.c, * osf-core.c, * srec.c, * vms-alpha.c: Standardize
2040 1.11 christos error/warning messages.
2041 1.11 christos
2042 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2043 1.11 christos
2044 1.11 christos * archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c,
2045 1.11 christos * syms.c: Standardize error/warning messages.
2046 1.11 christos
2047 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2048 1.11 christos
2049 1.11 christos * aout-adobe.c, * aout-cris.c, * i386linux.c, * m68klinux.c,
2050 1.11 christos * sparclinux.c, * coff-alpha.c, * coff-arm.c, * coff-mcore.c,
2051 1.11 christos * coffcode.h, * coffgen.c, * cofflink.c, * ecoff.c, * pe-mips.c,
2052 1.11 christos * peXXigen.c, * peicode.h: Standardize error/warning messages.
2053 1.11 christos
2054 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2055 1.11 christos
2056 1.11 christos * elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages.
2057 1.11 christos
2058 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2059 1.11 christos
2060 1.11 christos * elfxx-mips.c: Standardize error/warning messages.
2061 1.11 christos
2062 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2063 1.11 christos
2064 1.11 christos * dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c,
2065 1.11 christos * elflink.c: Standardize error/warning messages. Replace use of
2066 1.11 christos linker callback einfo with _bfd_error_handler when possible.
2067 1.11 christos
2068 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2069 1.11 christos
2070 1.11 christos * aoutx.h, * coff-alpha.c, * coff-i860.c, * coff-m68k.c,
2071 1.11 christos * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c,
2072 1.11 christos * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-w65.c,
2073 1.11 christos * elf-bfd.h, * elf-m10300.c, * elf.c, * elf32-avr.c, * elf32-bfin.c,
2074 1.11 christos * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
2075 1.11 christos * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
2076 1.11 christos * elf32-fr30.c, * elf32-frv.c, * elf32-i370.c, * elf32-i386.c,
2077 1.11 christos * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
2078 1.11 christos * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
2079 1.11 christos * elf32-m68k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c,
2080 1.11 christos * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
2081 1.11 christos * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-or1k.c,
2082 1.11 christos * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-rx.c,
2083 1.11 christos * elf32-s390.c, * elf32-sh.c, * elf32-spu.c, * elf32-tic6x.c,
2084 1.11 christos * elf32-v850.c, * elf32-vax.c, * elf32-visium.c, * elf32-wasm32.c,
2085 1.11 christos * elf32-xgate.c, * elf32-xtensa.c, * elf64-alpha.c,
2086 1.11 christos * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
2087 1.11 christos * elf64-ppc.c, * elf64-s390.c, * elf64-sparc.c, * elf64-x86-64.c,
2088 1.11 christos * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
2089 1.11 christos * elfnn-riscv.c, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-riscv.h,
2090 1.11 christos * elfxx-sparc.c, * elfxx-sparc.h, * reloc.c: Standardize
2091 1.11 christos unrecognized/unsupported reloc message.
2092 1.11 christos
2093 1.11 christos 2018-02-26 Alan Modra <amodra (a] gmail.com>
2094 1.11 christos
2095 1.11 christos * elf32-ppc.c: Standardize error/warning messages. Use
2096 1.11 christos _bfd_error_handler rather than einfo when einfo features not used.
2097 1.11 christos * elf64-ppc.c: Likewise.
2098 1.11 christos
2099 1.11 christos 2018-02-23 Alan Modra <amodra (a] gmail.com>
2100 1.11 christos
2101 1.11 christos PR 22881
2102 1.11 christos * elf.c (assign_file_positions_for_non_load_sections): Remove RELRO
2103 1.11 christos segment if no matching LOAD segment.
2104 1.11 christos
2105 1.11 christos 2018-02-23 Kuan-Lin Chen <kuanlinchentw (a] gmail.com>
2106 1.11 christos
2107 1.11 christos * elf32-nds32.h: Define mask for ict_model.
2108 1.11 christos
2109 1.11 christos 2018-02-20 Jason Duerstock <jason.duerstock (a] gmail.com>
2110 1.11 christos
2111 1.11 christos * elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
2112 1.11 christos
2113 1.11 christos 2018-02-19 Maciej W. Rozycki <macro (a] mips.com>
2114 1.11 christos
2115 1.11 christos Revert
2116 1.11 christos 2018-01-12 Vlad Ivanov <vlad (a] ivanov.email>
2117 1.11 christos
2118 1.11 christos * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
2119 1.11 christos .reginfo section has wrong size.
2120 1.11 christos
2121 1.11 christos 2018-02-19 Maciej W. Rozycki <macro (a] mips.com>
2122 1.11 christos
2123 1.11 christos * elfxx-mips.c (_bfd_mips_elf_always_size_sections): Set
2124 1.11 christos SEC_FIXED_SIZE and SEC_HAS_CONTENTS flags for `.reginfo' and
2125 1.11 christos `.MIPS.abiflags' sections.
2126 1.11 christos (_bfd_mips_elf_final_link): Avoid reading beyond `.reginfo'
2127 1.11 christos section's end.
2128 1.11 christos
2129 1.11 christos 2018-02-19 Maciej W. Rozycki <macro (a] mips.com>
2130 1.11 christos
2131 1.11 christos * section.c (SEC_FIXED_SIZE): New macro.
2132 1.11 christos * bfd-in2.h: Regenerate.
2133 1.11 christos
2134 1.11 christos 2018-02-19 Maciej W. Rozycki <macro (a] mips.com>
2135 1.11 christos
2136 1.11 christos * section.c (SEC_HAS_GOT_REF): Remove macro.
2137 1.11 christos * bfd-in2.h: Regenerate.
2138 1.11 christos
2139 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2140 1.11 christos
2141 1.11 christos * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler
2142 1.11 christos arguments.
2143 1.11 christos * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise.
2144 1.11 christos * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise.
2145 1.11 christos (_bfd_riscv_relax_pc): Likewise and fix typos.
2146 1.11 christos * libbfd-in.h (_bfd_error_handler): Add attribute printf.
2147 1.11 christos * libbfd.h: Regenerate.
2148 1.11 christos
2149 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2150 1.11 christos
2151 1.11 christos * dwarf2.c (read_section): Don't use 'll' format modifier.
2152 1.11 christos (find_abstract_instance): Likewise.
2153 1.11 christos * elfcore.h (elf_core_file_p): Likewise.
2154 1.11 christos
2155 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2156 1.11 christos
2157 1.11 christos * bfd-in.h: Include inttypes.h or if not available define
2158 1.11 christos PRId64, PRIu64 and PRIx64.
2159 1.11 christos * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L
2160 1.11 christos modifier to print bfd_vma.
2161 1.11 christos * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
2162 1.11 christos * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c,
2163 1.11 christos * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
2164 1.11 christos * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c,
2165 1.11 christos * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c,
2166 1.11 christos * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c,
2167 1.11 christos * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c,
2168 1.11 christos * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c,
2169 1.11 christos * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c,
2170 1.11 christos * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c,
2171 1.11 christos * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c,
2172 1.11 christos * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c,
2173 1.11 christos * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c,
2174 1.11 christos * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c,
2175 1.11 christos * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64,
2176 1.11 christos and cast input to uint64_t, and similarly for Ld and Lu.
2177 1.11 christos * bfd-in2.h: Regenerate.
2178 1.11 christos
2179 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2180 1.11 christos
2181 1.11 christos * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c,
2182 1.11 christos * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c,
2183 1.11 christos * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c,
2184 1.11 christos * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c,
2185 1.11 christos * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c,
2186 1.11 christos * reloc.c: Replace use of %R and %T in format strings passed to
2187 1.11 christos einfo and friends by %pR and %pT.
2188 1.11 christos
2189 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2190 1.11 christos
2191 1.11 christos * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place
2192 1.11 christos of %A and %B.
2193 1.11 christos * aout-adobe.c: Update all messages using %A and %B.
2194 1.11 christos * aout-cris.c: Likewise.
2195 1.11 christos * aoutx.h: Likewise.
2196 1.11 christos * archive.c: Likewise.
2197 1.11 christos * binary.c: Likewise.
2198 1.11 christos * cache.c: Likewise.
2199 1.11 christos * coff-alpha.c: Likewise.
2200 1.11 christos * coff-arm.c: Likewise.
2201 1.11 christos * coff-i860.c: Likewise.
2202 1.11 christos * coff-mcore.c: Likewise.
2203 1.11 christos * coff-ppc.c: Likewise.
2204 1.11 christos * coff-rs6000.c: Likewise.
2205 1.11 christos * coff-sh.c: Likewise.
2206 1.11 christos * coff-tic4x.c: Likewise.
2207 1.11 christos * coff-tic54x.c: Likewise.
2208 1.11 christos * coff-tic80.c: Likewise.
2209 1.11 christos * coff64-rs6000.c: Likewise.
2210 1.11 christos * coffcode.h: Likewise.
2211 1.11 christos * coffgen.c: Likewise.
2212 1.11 christos * cofflink.c: Likewise.
2213 1.11 christos * coffswap.h: Likewise.
2214 1.11 christos * compress.c: Likewise.
2215 1.11 christos * cpu-arm.c: Likewise.
2216 1.11 christos * ecoff.c: Likewise.
2217 1.11 christos * elf-attrs.c: Likewise.
2218 1.11 christos * elf-eh-frame.c: Likewise.
2219 1.11 christos * elf-ifunc.c: Likewise.
2220 1.11 christos * elf-m10300.c: Likewise.
2221 1.11 christos * elf-properties.c: Likewise.
2222 1.11 christos * elf-s390-common.c: Likewise.
2223 1.11 christos * elf.c: Likewise.
2224 1.11 christos * elf32-arc.c: Likewise.
2225 1.11 christos * elf32-arm.c: Likewise.
2226 1.11 christos * elf32-avr.c: Likewise.
2227 1.11 christos * elf32-bfin.c: Likewise.
2228 1.11 christos * elf32-cr16.c: Likewise.
2229 1.11 christos * elf32-cr16c.c: Likewise.
2230 1.11 christos * elf32-cris.c: Likewise.
2231 1.11 christos * elf32-crx.c: Likewise.
2232 1.11 christos * elf32-d10v.c: Likewise.
2233 1.11 christos * elf32-d30v.c: Likewise.
2234 1.11 christos * elf32-epiphany.c: Likewise.
2235 1.11 christos * elf32-fr30.c: Likewise.
2236 1.11 christos * elf32-frv.c: Likewise.
2237 1.11 christos * elf32-gen.c: Likewise.
2238 1.11 christos * elf32-hppa.c: Likewise.
2239 1.11 christos * elf32-i370.c: Likewise.
2240 1.11 christos * elf32-i386.c: Likewise.
2241 1.11 christos * elf32-i960.c: Likewise.
2242 1.11 christos * elf32-ip2k.c: Likewise.
2243 1.11 christos * elf32-iq2000.c: Likewise.
2244 1.11 christos * elf32-lm32.c: Likewise.
2245 1.11 christos * elf32-m32c.c: Likewise.
2246 1.11 christos * elf32-m32r.c: Likewise.
2247 1.11 christos * elf32-m68hc11.c: Likewise.
2248 1.11 christos * elf32-m68hc12.c: Likewise.
2249 1.11 christos * elf32-m68hc1x.c: Likewise.
2250 1.11 christos * elf32-m68k.c: Likewise.
2251 1.11 christos * elf32-mcore.c: Likewise.
2252 1.11 christos * elf32-mep.c: Likewise.
2253 1.11 christos * elf32-metag.c: Likewise.
2254 1.11 christos * elf32-microblaze.c: Likewise.
2255 1.11 christos * elf32-moxie.c: Likewise.
2256 1.11 christos * elf32-msp430.c: Likewise.
2257 1.11 christos * elf32-mt.c: Likewise.
2258 1.11 christos * elf32-nds32.c: Likewise.
2259 1.11 christos * elf32-nios2.c: Likewise.
2260 1.11 christos * elf32-or1k.c: Likewise.
2261 1.11 christos * elf32-pj.c: Likewise.
2262 1.11 christos * elf32-ppc.c: Likewise.
2263 1.11 christos * elf32-rl78.c: Likewise.
2264 1.11 christos * elf32-rx.c: Likewise.
2265 1.11 christos * elf32-s390.c: Likewise.
2266 1.11 christos * elf32-score.c: Likewise.
2267 1.11 christos * elf32-score7.c: Likewise.
2268 1.11 christos * elf32-sh-symbian.c: Likewise.
2269 1.11 christos * elf32-sh.c: Likewise.
2270 1.11 christos * elf32-sh64.c: Likewise.
2271 1.11 christos * elf32-sparc.c: Likewise.
2272 1.11 christos * elf32-spu.c: Likewise.
2273 1.11 christos * elf32-tic6x.c: Likewise.
2274 1.11 christos * elf32-tilepro.c: Likewise.
2275 1.11 christos * elf32-v850.c: Likewise.
2276 1.11 christos * elf32-vax.c: Likewise.
2277 1.11 christos * elf32-visium.c: Likewise.
2278 1.11 christos * elf32-wasm32.c: Likewise.
2279 1.11 christos * elf32-xgate.c: Likewise.
2280 1.11 christos * elf32-xtensa.c: Likewise.
2281 1.11 christos * elf64-alpha.c: Likewise.
2282 1.11 christos * elf64-gen.c: Likewise.
2283 1.11 christos * elf64-hppa.c: Likewise.
2284 1.11 christos * elf64-ia64-vms.c: Likewise.
2285 1.11 christos * elf64-mmix.c: Likewise.
2286 1.11 christos * elf64-ppc.c: Likewise.
2287 1.11 christos * elf64-s390.c: Likewise.
2288 1.11 christos * elf64-sh64.c: Likewise.
2289 1.11 christos * elf64-sparc.c: Likewise.
2290 1.11 christos * elf64-x86-64.c: Likewise.
2291 1.11 christos * elfcode.h: Likewise.
2292 1.11 christos * elfcore.h: Likewise.
2293 1.11 christos * elflink.c: Likewise.
2294 1.11 christos * elfnn-aarch64.c: Likewise.
2295 1.11 christos * elfnn-ia64.c: Likewise.
2296 1.11 christos * elfnn-riscv.c: Likewise.
2297 1.11 christos * elfxx-mips.c: Likewise.
2298 1.11 christos * elfxx-sparc.c: Likewise.
2299 1.11 christos * elfxx-tilegx.c: Likewise.
2300 1.11 christos * elfxx-x86.c: Likewise.
2301 1.11 christos * hpux-core.c: Likewise.
2302 1.11 christos * ieee.c: Likewise.
2303 1.11 christos * ihex.c: Likewise.
2304 1.11 christos * libbfd.c: Likewise.
2305 1.11 christos * linker.c: Likewise.
2306 1.11 christos * mach-o.c: Likewise.
2307 1.11 christos * merge.c: Likewise.
2308 1.11 christos * mmo.c: Likewise.
2309 1.11 christos * oasys.c: Likewise.
2310 1.11 christos * pdp11.c: Likewise.
2311 1.11 christos * pe-mips.c: Likewise.
2312 1.11 christos * peXXigen.c: Likewise.
2313 1.11 christos * peicode.h: Likewise.
2314 1.11 christos * reloc.c: Likewise.
2315 1.11 christos * rs6000-core.c: Likewise.
2316 1.11 christos * srec.c: Likewise.
2317 1.11 christos * stabs.c: Likewise.
2318 1.11 christos * vms-alpha.c: Likewise.
2319 1.11 christos * xcofflink.c: Likewise.
2320 1.11 christos
2321 1.11 christos 2018-02-19 Alan Modra <amodra (a] gmail.com>
2322 1.11 christos
2323 1.11 christos PR 22845
2324 1.11 christos * elf.c (IS_TBSS): Define.
2325 1.11 christos (_bfd_elf_map_sections_to_segments): Use IS_TBSS.
2326 1.11 christos (assign_file_positions_for_non_load_sections): Revert last change.
2327 1.11 christos Properly calculate load segment limits to compare against relro limits.
2328 1.11 christos
2329 1.11 christos 2018-02-17 Alan Modra <amodra (a] gmail.com>
2330 1.11 christos
2331 1.11 christos PR 22845
2332 1.11 christos * elf.c (assign_file_positions_for_non_load_sections): Ignore
2333 1.11 christos degenerate zero size PT_LOAD segments when finding one overlapping
2334 1.11 christos the PT_GNU_RELRO segment.
2335 1.11 christos
2336 1.11 christos 2018-02-16 Alan Modra <amodra (a] gmail.com>
2337 1.11 christos
2338 1.11 christos * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false.
2339 1.11 christos (_bfd_bool_bfd_true): Rename from bfd_true.
2340 1.11 christos (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr.
2341 1.11 christos (_bfd_int_bfd_0): Rename from bfd_0.
2342 1.11 christos (_bfd_uint_bfd_0): Rename from bfd_0u.
2343 1.11 christos (_bfd_long_bfd_0): Rename from bfd_0l.
2344 1.11 christos (_bfd_long_bfd_n1_error): Rename from _bfd_n1.
2345 1.11 christos (_bfd_void_bfd): Rename from bfd_void.
2346 1.11 christos (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false),
2347 1.11 christos (_bfd_bool_bfd_link_false_error),
2348 1.11 christos (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true),
2349 1.11 christos (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true),
2350 1.11 christos (_bfd_bool_bfd_asection_bfd_asection_true),
2351 1.11 christos (_bfd_bool_bfd_asymbol_bfd_asymbol_true),
2352 1.11 christos (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions.
2353 1.11 christos * archive.c (_bfd_noarchive_get_elt_at_index),
2354 1.11 christos (_bfd_noarchive_openr_next_archived_file),
2355 1.11 christos (_bfd_noarchive_construct_extended_name_table),
2356 1.11 christos (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname),
2357 1.11 christos (_bfd_noarchive_write_armap): New functions.
2358 1.11 christos * archures.c (_bfd_nowrite_set_arch_mach): New function.
2359 1.11 christos * coff-alpha.c (alpha_ecoff_swap_coff_aux_in),
2360 1.11 christos (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in),
2361 1.11 christos (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out),
2362 1.11 christos (alpha_ecoff_swap_coff_lineno_out),
2363 1.11 christos (alpha_ecoff_swap_coff_reloc_out): New functions.
2364 1.11 christos * coff-mips.c (mips_ecoff_swap_coff_aux_in),
2365 1.11 christos (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in),
2366 1.11 christos (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out),
2367 1.11 christos (mips_ecoff_swap_coff_lineno_out),
2368 1.11 christos (mips_ecoff_swap_coff_reloc_out): New functions.
2369 1.11 christos * coffcode.h (coff_set_alignment_hook): Replace define with
2370 1.11 christos new function.
2371 1.11 christos (symname_in_debug_hook): Likewise.
2372 1.11 christos * ecoff.c (_bfd_ecoff_set_alignment_hook): New function.
2373 1.11 christos * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0.
2374 1.11 christos * elf.c (assign_file_positions_except_relocs): Test
2375 1.11 christos elf_backend_allow_non_load_phdr for NULL.
2376 1.11 christos * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from
2377 1.11 christos _bfd_elf_link_omit_section_dynsym. Update uses.
2378 1.11 christos (_bfd_elf_omit_section_dynsym_all): New function.
2379 1.11 christos * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete.
2380 1.11 christos (_bfd_elf_omit_section_dynsym_default): Declare.
2381 1.11 christos (_bfd_elf_omit_section_dynsym_all): Declare.
2382 1.11 christos * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section),
2383 1.11 christos (_bfd_nolink_bfd_get_relocated_section_contents),
2384 1.11 christos (_bfd_nolink_bfd_lookup_section_flags),
2385 1.11 christos (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group),
2386 1.11 christos (_bfd_nolink_bfd_link_hash_table_create),
2387 1.11 christos (_bfd_nolink_bfd_link_just_syms),
2388 1.11 christos (_bfd_nolink_bfd_copy_link_hash_symbol_type),
2389 1.11 christos (_bfd_nolink_bfd_link_split_section),
2390 1.11 christos (_bfd_nolink_section_already_linked),
2391 1.11 christos (_bfd_nolink_bfd_define_common_symbol),
2392 1.11 christos (_bfd_nolink_bfd_define_start_stop): New functions.
2393 1.11 christos * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup),
2394 1.11 christos (_bfd_norelocs_bfd_reloc_name_lookup),
2395 1.11 christos (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions.
2396 1.11 christos * section.c (_bfd_nowrite_set_section_contents): New function.
2397 1.11 christos * syms.c (_bfd_nosymbols_canonicalize_symtab),
2398 1.11 christos (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info),
2399 1.11 christos (_bfd_nosymbols_get_symbol_version_string),
2400 1.11 christos (_bfd_nosymbols_bfd_is_local_label_name),
2401 1.11 christos (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line),
2402 1.11 christos (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info),
2403 1.11 christos (_bfd_nosymbols_bfd_make_debug_symbol),
2404 1.11 christos ( _bfd_nosymbols_read_minisymbols),
2405 1.11 christos ( _bfd_nosymbols_minisymbol_to_symbol),
2406 1.11 christos (_bfd_nodynamic_get_synthetic_symtab): New functions.
2407 1.11 christos * libbfd-in.h: Declare new functions. Update existing defines,
2408 1.11 christos removing casts.
2409 1.11 christos * aix386-core.c: Update to use new hooks. Formatting.
2410 1.11 christos * aout-adobe.c: Likewise.
2411 1.11 christos * aout-arm.c: Likewise.
2412 1.11 christos * aout-target.h: Likewise.
2413 1.11 christos * aout-tic30.c: Likewise.
2414 1.11 christos * aoutf1.h: Likewise.
2415 1.11 christos * binary.c: Likewise.
2416 1.11 christos * bout.c: Likewise.
2417 1.11 christos * cisco-core.c: Likewise.
2418 1.11 christos * coff-alpha.c: Likewise.
2419 1.11 christos * coff-i386.c: Likewise.
2420 1.11 christos * coff-i860.c: Likewise.
2421 1.11 christos * coff-i960.c: Likewise.
2422 1.11 christos * coff-ia64.c: Likewise.
2423 1.11 christos * coff-mips.c: Likewise.
2424 1.11 christos * coff-ppc.c: Likewise.
2425 1.11 christos * coff-rs6000.c: Likewise.
2426 1.11 christos * coff-sh.c: Likewise.
2427 1.11 christos * coff-tic30.c: Likewise.
2428 1.11 christos * coff-tic54x.c: Likewise.
2429 1.11 christos * coff-x86_64.c: Likewise.
2430 1.11 christos * coff64-rs6000.c: Likewise.
2431 1.11 christos * coffcode.h: Likewise.
2432 1.11 christos * elf-m10300.c: Likewise.
2433 1.11 christos * elf32-cr16.c: Likewise.
2434 1.11 christos * elf32-lm32.c: Likewise.
2435 1.11 christos * elf32-m32r.c: Likewise.
2436 1.11 christos * elf32-metag.c: Likewise.
2437 1.11 christos * elf32-score.c: Likewise.
2438 1.11 christos * elf32-score7.c: Likewise.
2439 1.11 christos * elf32-tilepro.c: Likewise.
2440 1.11 christos * elf32-xstormy16.c: Likewise.
2441 1.11 christos * elf32-xtensa.c: Likewise.
2442 1.11 christos * elf64-alpha.c: Likewise.
2443 1.11 christos * elf64-hppa.c: Likewise.
2444 1.11 christos * elf64-ia64-vms.c: Likewise.
2445 1.11 christos * elf64-mmix.c: Likewise.
2446 1.11 christos * elf64-sh64.c: Likewise.
2447 1.11 christos * elfnn-ia64.c: Likewise.
2448 1.11 christos * elfxx-sparc.c: Likewise.
2449 1.11 christos * elfxx-target.h: Likewise.
2450 1.11 christos * elfxx-tilegx.c: Likewise.
2451 1.11 christos * elfxx-x86.h: Likewise.
2452 1.11 christos * hp300hpux.c: Likewise.
2453 1.11 christos * hppabsd-core.c: Likewise.
2454 1.11 christos * hpux-core.c: Likewise.
2455 1.11 christos * i386msdos.c: Likewise.
2456 1.11 christos * i386os9k.c: Likewise.
2457 1.11 christos * ieee.c: Likewise.
2458 1.11 christos * ihex.c: Likewise.
2459 1.11 christos * irix-core.c: Likewise.
2460 1.11 christos * libaout.h: Likewise.
2461 1.11 christos * libecoff.h: Likewise.
2462 1.11 christos * mach-o-target.c: Likewise.
2463 1.11 christos * mach-o.c: Likewise.
2464 1.11 christos * mipsbsd.c: Likewise.
2465 1.11 christos * mmo.c: Likewise.
2466 1.11 christos * netbsd-core.c: Likewise.
2467 1.11 christos * nlm-target.h: Likewise.
2468 1.11 christos * oasys.c: Likewise.
2469 1.11 christos * osf-core.c: Likewise.
2470 1.11 christos * pdp11.c: Likewise.
2471 1.11 christos * pe-mips.c: Likewise.
2472 1.11 christos * pe-x86_64.c: Likewise.
2473 1.11 christos * pef.c: Likewise.
2474 1.11 christos * plugin.c: Likewise.
2475 1.11 christos * ppcboot.c: Likewise.
2476 1.11 christos * ptrace-core.c: Likewise.
2477 1.11 christos * sco5-core.c: Likewise.
2478 1.11 christos * som.c: Likewise.
2479 1.11 christos * sparclynx.c: Likewise.
2480 1.11 christos * srec.c: Likewise.
2481 1.11 christos * tekhex.c: Likewise.
2482 1.11 christos * trad-core.c: Likewise.
2483 1.11 christos * verilog.c: Likewise.
2484 1.11 christos * versados.c: Likewise.
2485 1.11 christos * vms-alpha.c: Likewise.
2486 1.11 christos * vms-lib.c: Likewise.
2487 1.11 christos * wasm-module.c: Likewise.
2488 1.11 christos * xsym.c: Likewise.
2489 1.11 christos * libbfd.h: Regenerate.
2490 1.11 christos
2491 1.11 christos 2018-02-15 Jim Wilson <jimw (a] sifive.com>
2492 1.11 christos
2493 1.11 christos * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore
2494 1.11 christos symbols whose section address is zero.
2495 1.11 christos
2496 1.11 christos * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous
2497 1.11 christos when pcrel_lo reloc has an addend. Use reloc_dangerous callback for
2498 1.11 christos bfd_reloc_dangerous. Use einfo instead of warning callback for errors.
2499 1.11 christos Add %X%P to error messages.
2500 1.11 christos
2501 1.11 christos 2018-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
2502 1.11 christos
2503 1.11 christos PR ld/22832
2504 1.11 christos * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
2505 1.11 christos Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup
2506 1.11 christos and assert that the result of the call is not NULL.
2507 1.11 christos
2508 1.11 christos 2018-02-14 Nick Clifton <nickc (a] redhat.com>
2509 1.11 christos
2510 1.11 christos PR 22823
2511 1.11 christos Revert previous delta. Add extra casts to avoid compile time
2512 1.11 christos warnings instead.
2513 1.11 christos * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra
2514 1.11 christos cast to avoid warning from gcc v8 compiler.
2515 1.11 christos (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
2516 1.11 christos (_bfd_generic_bfd_set_private_flags): Likewise.
2517 1.11 christos (_bfd_generic_bfd_copy_private_section_data): Likewise.
2518 1.11 christos (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
2519 1.11 christos (_bfd_generic_bfd_copy_private_header_data): Likewise.
2520 1.11 christos (_bfd_generic_bfd_print_private_bfd_data): Likewise.
2521 1.11 christos (_bfd_noarchive_construct_extended_name_table): Likewise.
2522 1.11 christos (_bfd_noarchive_truncate_arname): Likewise.
2523 1.11 christos (_bfd_noarchive_write_ar_hdr): Likewise.
2524 1.11 christos (_bfd_noarchive_get_elt_at_index): Likewise.
2525 1.11 christos (_bfd_nosymbols_canonicalize_symtab): Likewise.
2526 1.11 christos (_bfd_nosymbols_print_symbol): Likewise.
2527 1.11 christos (_bfd_nosymbols_get_symbol_info): Likewise.
2528 1.11 christos (_bfd_nosymbols_get_symbol_version_string): Likewise.
2529 1.11 christos (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
2530 1.11 christos (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
2531 1.11 christos (_bfd_nosymbols_get_lineno): Likewise.
2532 1.11 christos (_bfd_nosymbols_find_nearest_line): Likewise.
2533 1.11 christos (_bfd_nosymbols_find_line): Likewise.
2534 1.11 christos (_bfd_nosymbols_find_inliner_info): Likewise.
2535 1.11 christos (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
2536 1.11 christos (_bfd_nosymbols_read_minisymbols): Likewise.
2537 1.11 christos (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
2538 1.11 christos (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
2539 1.11 christos (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
2540 1.11 christos (_bfd_nowrite_set_arch_mach): Likewise.
2541 1.11 christos (_bfd_nowrite_set_section_contents): Likewise.
2542 1.11 christos (_bfd_nolink_sizeof_headers): Likewise.
2543 1.11 christos (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
2544 1.11 christos (_bfd_nolink_bfd_relax_section): Likewise.
2545 1.11 christos (_bfd_nolink_bfd_gc_sections): Likewise.
2546 1.11 christos (_bfd_nolink_bfd_lookup_section_flags): Likewise.
2547 1.11 christos (_bfd_nolink_bfd_merge_sections): Likewise.
2548 1.11 christos (_bfd_nolink_bfd_is_group_section): Likewise.
2549 1.11 christos (_bfd_nolink_bfd_discard_group): Likewise.
2550 1.11 christos (_bfd_nolink_bfd_link_hash_table_create): Likewise.
2551 1.11 christos (_bfd_nolink_bfd_link_add_symbols): Likewise.
2552 1.11 christos (_bfd_nolink_bfd_link_just_syms): Likewise.
2553 1.11 christos (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
2554 1.11 christos (_bfd_nolink_bfd_final_link): Likewise.
2555 1.11 christos (_bfd_nolink_bfd_link_split_section): Likewise.
2556 1.11 christos (_bfd_nolink_section_already_linked): Likewise.
2557 1.11 christos (_bfd_nolink_bfd_define_common_symbol): Likewise.
2558 1.11 christos (_bfd_nolink_bfd_define_start_stop): Likewise.
2559 1.11 christos (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
2560 1.11 christos (_bfd_nodynamic_get_synthetic_symtab): Likewise.
2561 1.11 christos (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
2562 1.11 christos (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
2563 1.11 christos * libbfd.c (bfd_false_any): Delete.
2564 1.11 christos (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete.
2565 1.11 christos (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete.
2566 1.11 christos * libbfd.h (extern): Regenerate
2567 1.11 christos * aout-target.h (MY_bfd_is_target_special_symbol): Add extra
2568 1.11 christos cast to avoid warning from gcc v8 compiler.
2569 1.11 christos * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
2570 1.11 christos * binary.c (binary_get_symbol_info): Likewise.
2571 1.11 christos * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
2572 1.11 christos * coff-mips.c (mips_ecoff_backend_data): Likewise.
2573 1.11 christos * coffcode.h (coff_set_alignment_hook): Likewise.
2574 1.11 christos (symname_in_debug_hook): Likewise.
2575 1.11 christos (bfd_coff_backend_data bigobj_swap_table): Likewise.
2576 1.11 christos * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
2577 1.11 christos * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
2578 1.11 christos * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
2579 1.11 christos * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
2580 1.11 christos * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
2581 1.11 christos * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
2582 1.11 christos * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
2583 1.11 christos * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
2584 1.11 christos * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
2585 1.11 christos * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
2586 1.11 christos * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
2587 1.11 christos * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
2588 1.11 christos * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
2589 1.11 christos * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
2590 1.11 christos * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
2591 1.11 christos * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
2592 1.11 christos (bfd_elfNN_bfd_make_debug_symbol): Likewise.
2593 1.11 christos (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
2594 1.11 christos (bfd_elfNN_bfd_set_private_flags): Likewise.
2595 1.11 christos (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
2596 1.11 christos (elf_backend_init_index_section): Likewise.
2597 1.11 christos (elf_backend_allow_non_load_phdr): Likewise.
2598 1.11 christos * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
2599 1.11 christos * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
2600 1.11 christos * ieee.c (ieee_construct_extended_name_table): Likewise.
2601 1.11 christos (ieee_write_armap): Likewise.
2602 1.11 christos (ieee_write_ar_hdr): Likewise.
2603 1.11 christos (ieee_bfd_is_target_special_symbol): Likewise.
2604 1.11 christos * ihex.c (ihex_canonicalize_symtab): Likewise.
2605 1.11 christos (ihex_bfd_is_target_special_symbol): Likewise.
2606 1.11 christos * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
2607 1.11 christos * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
2608 1.11 christos (_bfd_ecoff_set_alignment_hook): Likewise.
2609 1.11 christos * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
2610 1.11 christos * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
2611 1.11 christos * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
2612 1.11 christos * oasys.c (oasys_construct_extended_name_table): Likewise.
2613 1.11 christos (oasys_write_armap): Likewise.
2614 1.11 christos (oasys_write_ar_hdr): Likewise.
2615 1.11 christos (oasys_bfd_is_target_special_symbol): Likewise.
2616 1.11 christos * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
2617 1.11 christos * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
2618 1.11 christos * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
2619 1.11 christos * som.c (som_bfd_is_target_special_symbol): Likewise.
2620 1.11 christos * srec.c (srec_bfd_is_target_special_symbol): Likewise.
2621 1.11 christos * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
2622 1.11 christos * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
2623 1.11 christos * versados.c (versados_bfd_is_target_special_symbol): Likewise.
2624 1.11 christos (versados_bfd_reloc_name_lookup): Likewise.
2625 1.11 christos * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
2626 1.11 christos (vms_bfd_define_start_stop): Likewise.
2627 1.11 christos (alpha_vms_bfd_is_target_special_symbol): Likewise.
2628 1.11 christos * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
2629 1.11 christos * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
2630 1.11 christos
2631 1.11 christos 2018-02-14 H.J. Lu <hongjiu.lu (a] intel.com>
2632 1.11 christos
2633 1.11 christos PR ld/22842
2634 1.11 christos * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non
2635 1.11 christos PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
2636 1.11 christos * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for
2637 1.11 christos R_X86_64_PC32 reloc against dynamic function in data section.
2638 1.11 christos Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
2639 1.11 christos (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc
2640 1.11 christos against dynamic function in data section.
2641 1.11 christos * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as
2642 1.11 christos function address only if pcrel_plt is true.
2643 1.11 christos (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt.
2644 1.11 christos * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for
2645 1.11 christos PC-relative PLT. If PLT is PC-relative, don't generate dynamic
2646 1.11 christos PC-relative relocation against a function definition in data
2647 1.11 christos secton in PIE. Remove the obsolete comments.
2648 1.11 christos (elf_x86_link_hash_table): Add pcrel_plt.
2649 1.11 christos
2650 1.11 christos 2018-02-13 H.J. Lu <hongjiu.lu (a] intel.com>
2651 1.11 christos
2652 1.11 christos * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll,
2653 1.11 christos instead of bfd_link_pic, for building shared library.
2654 1.11 christos
2655 1.11 christos 2018-02-13 H.J. Lu <hongjiu.lu (a] intel.com>
2656 1.11 christos
2657 1.11 christos PR gas/22791
2658 1.11 christos * elf64-x86-64.c (is_32bit_relative_branch): Removed.
2659 1.11 christos (elf_x86_64_relocate_section): Check PIC relocations in PIE.
2660 1.11 christos Remove is_32bit_relative_branch usage. Disallow PC32 reloc
2661 1.11 christos against protected function in shared object.
2662 1.11 christos
2663 1.11 christos 2018-02-13 Sergei Trofimovich <slyfox (a] inbox.ru>
2664 1.11 christos
2665 1.11 christos PR 22828
2666 1.11 christos * po/ru.po: Fix typo in Russian translation.
2667 1.11 christos
2668 1.11 christos 2018-02-13 Maciej W. Rozycki <macro (a] mips.com>
2669 1.11 christos
2670 1.11 christos * wasm-module.c (wasm_scan_name_function_section): Rename
2671 1.11 christos `index' local variable to `idx'.
2672 1.11 christos
2673 1.11 christos 2018-02-13 Nick Clifton <nickc (a] redhat.com>
2674 1.11 christos
2675 1.11 christos PR 22823
2676 1.11 christos Fix compile time warnings generated by gcc version 8.
2677 1.11 christos * libbfd-in.h: Remove extraneous text from prototypes.
2678 1.11 christos Add prototypes for bfd_false_any, bfd_true_any,
2679 1.11 christos bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any,
2680 1.11 christos bfd_n1_any, bfd_void_any.
2681 1.11 christos (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy
2682 1.11 christos function.
2683 1.11 christos (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
2684 1.11 christos (_bfd_generic_bfd_set_private_flags): Likewise.
2685 1.11 christos (_bfd_generic_bfd_copy_private_section_data): Likewise.
2686 1.11 christos (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
2687 1.11 christos (_bfd_generic_bfd_copy_private_header_data): Likewise.
2688 1.11 christos (_bfd_generic_bfd_print_private_bfd_data): Likewise.
2689 1.11 christos (_bfd_noarchive_construct_extended_name_table): Likewise.
2690 1.11 christos (_bfd_noarchive_truncate_arname): Likewise.
2691 1.11 christos (_bfd_noarchive_write_ar_hdr): Likewise.
2692 1.11 christos (_bfd_noarchive_get_elt_at_index): Likewise.
2693 1.11 christos (_bfd_nosymbols_canonicalize_symtab): Likewise.
2694 1.11 christos (_bfd_nosymbols_print_symbol): Likewise.
2695 1.11 christos (_bfd_nosymbols_get_symbol_info): Likewise.
2696 1.11 christos (_bfd_nosymbols_get_symbol_version_string): Likewise.
2697 1.11 christos (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
2698 1.11 christos (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
2699 1.11 christos (_bfd_nosymbols_get_lineno): Likewise.
2700 1.11 christos (_bfd_nosymbols_find_nearest_line): Likewise.
2701 1.11 christos (_bfd_nosymbols_find_line): Likewise.
2702 1.11 christos (_bfd_nosymbols_find_inliner_info): Likewise.
2703 1.11 christos (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
2704 1.11 christos (_bfd_nosymbols_read_minisymbols): Likewise.
2705 1.11 christos (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
2706 1.11 christos (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
2707 1.11 christos (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
2708 1.11 christos (_bfd_nowrite_set_arch_mach): Likewise.
2709 1.11 christos (_bfd_nowrite_set_section_contents): Likewise.
2710 1.11 christos (_bfd_nolink_sizeof_headers): Likewise.
2711 1.11 christos (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
2712 1.11 christos (_bfd_nolink_bfd_relax_section): Likewise.
2713 1.11 christos (_bfd_nolink_bfd_gc_sections): Likewise.
2714 1.11 christos (_bfd_nolink_bfd_lookup_section_flags): Likewise.
2715 1.11 christos (_bfd_nolink_bfd_merge_sections): Likewise.
2716 1.11 christos (_bfd_nolink_bfd_is_group_section): Likewise.
2717 1.11 christos (_bfd_nolink_bfd_discard_group): Likewise.
2718 1.11 christos (_bfd_nolink_bfd_link_hash_table_create): Likewise.
2719 1.11 christos (_bfd_nolink_bfd_link_add_symbols): Likewise.
2720 1.11 christos (_bfd_nolink_bfd_link_just_syms): Likewise.
2721 1.11 christos (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
2722 1.11 christos (_bfd_nolink_bfd_final_link): Likewise.
2723 1.11 christos (_bfd_nolink_bfd_link_split_section): Likewise.
2724 1.11 christos (_bfd_nolink_section_already_linked): Likewise.
2725 1.11 christos (_bfd_nolink_bfd_define_common_symbol): Likewise.
2726 1.11 christos (_bfd_nolink_bfd_define_start_stop): Likewise.
2727 1.11 christos (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
2728 1.11 christos (_bfd_nodynamic_get_synthetic_symtab): Likewise.
2729 1.11 christos (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
2730 1.11 christos (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
2731 1.11 christos * libbfd.c (bfd_false_any): New function. Like bfd_false but
2732 1.11 christos accepts one or more arguments.
2733 1.11 christos (bfd_true_any): Likewise.
2734 1.11 christos (bfd_nullvoidptr_any): Likewise.
2735 1.11 christos (bfd_0_any): Likewise.
2736 1.11 christos (bfd_0u_any): Likewise.
2737 1.11 christos (bfd_0l_any): Likewise.
2738 1.11 christos (_bfd_n1_any): Likewise.
2739 1.11 christos (bfd_void_any): Likewise.
2740 1.11 christos * libbfd.h (extern): Regenerate
2741 1.11 christos * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg
2742 1.11 christos based dummy function.
2743 1.11 christos * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
2744 1.11 christos * binary.c (binary_get_symbol_info): Likewise.
2745 1.11 christos * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
2746 1.11 christos * coff-mips.c (mips_ecoff_backend_data): Likewise.
2747 1.11 christos * coffcode.h (coff_set_alignment_hook): Likewise.
2748 1.11 christos (symname_in_debug_hook): Likewise.
2749 1.11 christos (bfd_coff_backend_data bigobj_swap_table): Likewise.
2750 1.11 christos * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
2751 1.11 christos * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
2752 1.11 christos * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
2753 1.11 christos * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
2754 1.11 christos * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
2755 1.11 christos * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
2756 1.11 christos * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
2757 1.11 christos * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
2758 1.11 christos * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
2759 1.11 christos * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
2760 1.11 christos * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
2761 1.11 christos * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
2762 1.11 christos * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
2763 1.11 christos * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
2764 1.11 christos * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
2765 1.11 christos * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
2766 1.11 christos (bfd_elfNN_bfd_make_debug_symbol): Likewise.
2767 1.11 christos (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
2768 1.11 christos (bfd_elfNN_bfd_set_private_flags): Likewise.
2769 1.11 christos (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
2770 1.11 christos (elf_backend_init_index_section): Likewise.
2771 1.11 christos (elf_backend_allow_non_load_phdr): Likewise.
2772 1.11 christos * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
2773 1.11 christos * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
2774 1.11 christos * ieee.c (ieee_construct_extended_name_table): Likewise.
2775 1.11 christos (ieee_write_armap): Likewise.
2776 1.11 christos (ieee_write_ar_hdr): Likewise.
2777 1.11 christos (ieee_bfd_is_target_special_symbol): Likewise.
2778 1.11 christos * ihex.c (ihex_canonicalize_symtab): Likewise.
2779 1.11 christos (ihex_bfd_is_target_special_symbol): Likewise.
2780 1.11 christos * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
2781 1.11 christos * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
2782 1.11 christos (_bfd_ecoff_set_alignment_hook): Likewise.
2783 1.11 christos * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
2784 1.11 christos * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
2785 1.11 christos * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
2786 1.11 christos * oasys.c (oasys_construct_extended_name_table): Likewise.
2787 1.11 christos (oasys_write_armap): Likewise.
2788 1.11 christos (oasys_write_ar_hdr): Likewise.
2789 1.11 christos (oasys_bfd_is_target_special_symbol): Likewise.
2790 1.11 christos * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
2791 1.11 christos * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
2792 1.11 christos * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
2793 1.11 christos * som.c (som_bfd_is_target_special_symbol): Likewise.
2794 1.11 christos * srec.c (srec_bfd_is_target_special_symbol): Likewise.
2795 1.11 christos * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
2796 1.11 christos * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
2797 1.11 christos * versados.c (versados_bfd_is_target_special_symbol): Likewise.
2798 1.11 christos (versados_bfd_reloc_name_lookup): Likewise.
2799 1.11 christos * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
2800 1.11 christos (vms_bfd_define_start_stop): Likewise.
2801 1.11 christos (alpha_vms_bfd_is_target_special_symbol): Likewise.
2802 1.11 christos * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
2803 1.11 christos * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
2804 1.11 christos * elf32-arc.c (get_replace_function): Assign replacement function
2805 1.11 christos to func pointer.
2806 1.11 christos * elf32-i370.c (i370_noop): Update prototype.
2807 1.11 christos
2808 1.11 christos 2018-02-13 Alan Modra <amodra (a] gmail.com>
2809 1.11 christos
2810 1.11 christos PR 22836
2811 1.11 christos * elf.c (_bfd_elf_fixup_group_sections): Account for removed
2812 1.11 christos relocation sections. If size reduces to just the flag word,
2813 1.11 christos remove that too and mark with SEC_EXCLUDE.
2814 1.11 christos * elflink.c (bfd_elf_final_link): Strip empty group sections.
2815 1.11 christos
2816 1.11 christos 2018-02-13 Alan Modra <amodra (a] gmail.com>
2817 1.11 christos
2818 1.11 christos PR 22829
2819 1.11 christos * elf.c (assign_file_positions_for_non_load_sections): Rewrite
2820 1.11 christos PT_GNU_RELRO setup.
2821 1.11 christos
2822 1.11 christos 2018-02-12 Zebediah Figura <z.figura12 (a] gmail.com>
2823 1.11 christos
2824 1.11 christos * i386msdos.c (msdos_mkobject); New function.
2825 1.11 christos (msdos_object_p): New function.
2826 1.11 christos (i386_msdos_vec): Use msdos_object_p as the check_format
2827 1.11 christos function.
2828 1.11 christos * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and
2829 1.11 christos NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and
2830 1.11 christos IMAGE_NT_SIGNATURE.
2831 1.11 christos * peXXigen.c: Likewise.
2832 1.11 christos * coff-ia64.c: Likewise.
2833 1.11 christos
2834 1.11 christos 2018-02-12 Nick Clifton <nickc (a] redhat.com>
2835 1.11 christos
2836 1.11 christos * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant
2837 1.11 christos assignment.
2838 1.11 christos * elf32-arc.c (elf_arc_relocate_section): Likewise.
2839 1.11 christos
2840 1.11 christos 2018-02-09 Eric Botcazou <ebotcazou (a] adacore.com>
2841 1.11 christos
2842 1.11 christos * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions.
2843 1.11 christos (sparc_elf_append_rela): Assert that there is enough room in section.
2844 1.11 christos (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting.
2845 1.11 christos (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak.
2846 1.11 christos (allocate_dynrelocs): Remove outdated comments and reorder conditions.
2847 1.11 christos For a symbol subject to a GOT relocation, reserve a slot in the
2848 1.11 christos relocation section if the symbol isn't dynamic and we are in PIC mode.
2849 1.11 christos (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: If relocation
2850 1.11 christos is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation.
2851 1.11 christos <R_SPARC_GOTDATA_OP_HIX22>: Adjust comments.
2852 1.11 christos <R_SPARC_PC10>: Reorder conditions. Remove always-false assertion.
2853 1.11 christos (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into
2854 1.11 christos resolved_to_zero. Do not generate a dynamic GOT relocation for an
2855 1.11 christos undefined weak symbol with non-default visibility. Remove superfluous
2856 1.11 christos 'else' and fix formatting.
2857 1.11 christos
2858 1.11 christos 2018-02-09 H.J. Lu <hongjiu.lu (a] intel.com>
2859 1.11 christos
2860 1.11 christos * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle
2861 1.11 christos is_solaris.
2862 1.11 christos (i386_elf32_sol2_vec): Don't declare.
2863 1.11 christos (elf_i386_link_setup_gnu_properties): Also handle is_solaris.
2864 1.11 christos Don't set need_global_offset_table.
2865 1.11 christos (elf_i386_solaris_arch_bed): New.
2866 1.11 christos (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for
2867 1.11 christos Solaris.
2868 1.11 christos * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check
2869 1.11 christos target_os != is_nacl instead of target_os == is_normal.
2870 1.11 christos (x86_64_elf64_sol2_vec): Don't declare.
2871 1.11 christos (elf_x86_64_link_setup_gnu_properties): Check target_os !=
2872 1.11 christos is_nacl instead of target_os == is_normal. Don't set
2873 1.11 christos need_global_offset_table.
2874 1.11 christos (elf_x86_64_solaris_arch_bed): New.
2875 1.11 christos (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for
2876 1.11 christos Solaris.
2877 1.11 christos * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep
2878 1.11 christos _GLOBAL_OFFSET_TABLE_ for Solaris.
2879 1.11 christos (_bfd_x86_elf_link_setup_gnu_properties): Don't copy
2880 1.11 christos need_global_offset_table.
2881 1.11 christos * elfxx-x86.h (elf_x86_target_os): Add is_solaris.
2882 1.11 christos (elf_x86_link_hash_table): Remove need_global_offset_table.
2883 1.11 christos (elf_x86_init_table): Likewise.
2884 1.11 christos
2885 1.11 christos 2018-02-08 H.J. Lu <hongjiu.lu (a] intel.com>
2886 1.11 christos
2887 1.11 christos * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
2888 1.11 christos Remove prototype.
2889 1.11 christos (i386_elf32_sol2_vec): Declared.
2890 1.11 christos (elf_i386_link_setup_gnu_properties): Set
2891 1.11 christos need_global_offset_table with info->output_bfd->xvec.
2892 1.11 christos * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
2893 1.11 christos Remove prototype.
2894 1.11 christos (x86_64_elf64_sol2_vec): Declared.
2895 1.11 christos (elf_x86_64_link_setup_gnu_properties): Set
2896 1.11 christos need_global_offset_table with info->output_bfd->xvec.
2897 1.11 christos
2898 1.11 christos 2018-02-08 H.J. Lu <hongjiu.lu (a] intel.com>
2899 1.11 christos
2900 1.11 christos * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
2901 1.11 christos New prototype.
2902 1.11 christos (elf_i386_link_setup_gnu_properties): Set need_global_offset_table
2903 1.11 christos for Solaris.
2904 1.11 christos * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
2905 1.11 christos New prototype.
2906 1.11 christos (elf_x86_64_link_setup_gnu_properties): Set
2907 1.11 christos need_global_offset_table for Solaris.
2908 1.11 christos * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the
2909 1.11 christos unused _GLOBAL_OFFSET_TABLE_ for Solaris.
2910 1.11 christos (_bfd_x86_elf_link_setup_gnu_properties): Copy
2911 1.11 christos need_global_offset_table.
2912 1.11 christos * elfxx-x86.h (elf_x86_link_hash_table): Add
2913 1.11 christos need_global_offset_table.
2914 1.11 christos (elf_x86_init_table): Likewise.
2915 1.11 christos
2916 1.11 christos 2018-02-08 Jim Wilson <jimw (a] sifive.com>
2917 1.11 christos
2918 1.11 christos * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
2919 1.11 christos change.
2920 1.11 christos
2921 1.11 christos 2018-02-08 Nick Clifton <nickc (a] redhat.com>
2922 1.11 christos
2923 1.11 christos PR 22788
2924 1.11 christos * elf.c (elf_parse_notes): Reject notes with excessuively large
2925 1.11 christos alignments.
2926 1.11 christos
2927 1.11 christos 2018-02-07 Alan Modra <amodra (a] gmail.com>
2928 1.11 christos
2929 1.11 christos Revert 2018-01-17 Alan Modra <amodra (a] gmail.com>
2930 1.11 christos * elf32-ppc.c: Remove speculation barrier support.
2931 1.11 christos * elf32-ppc.h: Likewise.
2932 1.11 christos * elf64-ppc.c: Likewise.
2933 1.11 christos * elf64-ppc.h: Likewise.
2934 1.11 christos
2935 1.11 christos 2018-02-06 Jim Wilson <jimw (a] sifive.com>
2936 1.11 christos
2937 1.11 christos * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
2938 1.11 christos callback to report an error.
2939 1.11 christos
2940 1.11 christos 2018-02-06 Eric Botcazou <ebotcazou (a] adacore.com>
2941 1.11 christos
2942 1.11 christos PR ld/22263
2943 1.11 christos * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic
2944 1.11 christos into call to !bfd_link_executable and tidy up.
2945 1.11 christos (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up.
2946 1.11 christos <R_SPARC_TLS_LE_HIX22>: Turn call to bfd_link_pic into call to
2947 1.11 christos !bfd_link_executable.
2948 1.11 christos <R_SPARC_TLS_IE_HI22>: Likewise.
2949 1.11 christos <GOT relocations>: Remove useless code, tidy and merge related blocks.
2950 1.11 christos <R_SPARC_TLS_GD_CALL>: Turn call to bfd_link_pic into call to
2951 1.11 christos !bfd_link_executable.
2952 1.11 christos <R_SPARC_WPLT30>: Tidy up.
2953 1.11 christos (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to
2954 1.11 christos !bfd_link_executable.
2955 1.11 christos (allocate_dynrelocs): Likewise.
2956 1.11 christos (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up.
2957 1.11 christos <R_SPARC_TLS_GD_HI22>: Merge into...
2958 1.11 christos <R_SPARC_TLS_GD_LO10>: ...this. Adjust 4th argument in call to
2959 1.11 christos sparc_elf_tls_transition and remove redundant code.
2960 1.11 christos <R_SPARC_TLS_LDM_HI22>: Turn call to bfd_link_pic into call to
2961 1.11 christos !bfd_link_executable.
2962 1.11 christos <R_SPARC_TLS_LDO_HIX22>: Likewise.
2963 1.11 christos <R_SPARC_TLS_LE_HIX22>: Likewise. Tidy up.
2964 1.11 christos <R_SPARC_TLS_LDM_CALL>: Likewise.
2965 1.11 christos <R_SPARC_TLS_GD_CALL>: Likewise. Tidy up.
2966 1.11 christos <R_SPARC_TLS_GD_ADD>: Likewise.
2967 1.11 christos <R_SPARC_TLS_LDM_ADD>: Likewise.
2968 1.11 christos <R_SPARC_TLS_LDO_ADD>: Likewise.
2969 1.11 christos <R_SPARC_TLS_IE_LD>: Likewise.
2970 1.11 christos
2971 1.11 christos 2018-02-06 Milo Stojanovi <milos.stojanovic (a] rt-rk.com>
2972 1.11 christos
2973 1.11 christos PR 22789
2974 1.11 christos * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf
2975 1.11 christos functions failed to find the function name, try the generic elf
2976 1.11 christos find function instead.
2977 1.11 christos
2978 1.11 christos 2018-02-06 Sergio Durigan Junior <sergiodj (a] redhat.com>
2979 1.11 christos
2980 1.11 christos * coff-rs6000.c (xcoff_write_archive_contents_old): Use
2981 1.11 christos 'memcpy' instead of 'strncpy' when writing the magic number.
2982 1.11 christos
2983 1.11 christos 2018-02-06 Nick Clifton <nickc (a] redhat.com>
2984 1.11 christos
2985 1.11 christos PR 22794
2986 1.11 christos * opncls.c (bfd_get_debug_link_info_1): Check the size of the
2987 1.11 christos section before attempting to read it in.
2988 1.11 christos (bfd_get_alt_debug_link_info): Likewise.
2989 1.11 christos
2990 1.11 christos 2018-02-06 Paul Carroll <pcarroll (a] codesourcery.com>
2991 1.11 christos
2992 1.11 christos * bfd/dwarf2.c (find_abstract_name): Modified to return file and
2993 1.11 christos line information in addition to name, if they can be found.
2994 1.11 christos
2995 1.11 christos 2018-02-05 Renlin Li <renlin.li (a] arm.com>
2996 1.11 christos
2997 1.11 christos PR ld/22764
2998 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the
2999 1.11 christos R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
3000 1.11 christos check for writeable section as well.
3001 1.11 christos
3002 1.11 christos 2018-02-05 H.J. Lu <hongjiu.lu (a] intel.com>
3003 1.11 christos
3004 1.11 christos PR ld/22782
3005 1.11 christos * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if
3006 1.11 christos _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve
3007 1.11 christos undefined weak symbol to 0.
3008 1.11 christos * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced
3009 1.11 christos if _GLOBAL_OFFSET_TABLE_ is referenced.
3010 1.11 christos * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check
3011 1.11 christos got_referenced instead of ref_regular_nonweak. Remove the
3012 1.11 christos unused _GLOBAL_OFFSET_TABLE_ from symbol table.
3013 1.11 christos * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced.
3014 1.11 christos
3015 1.11 christos 2018-02-05 Maciej W. Rozycki <macro (a] mips.com>
3016 1.11 christos
3017 1.11 christos * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to
3018 1.11 christos initialize `hi_reloc'.
3019 1.11 christos
3020 1.11 christos 2018-02-05 Maciej W. Rozycki <macro (a] mips.com>
3021 1.11 christos
3022 1.11 christos * elfxx-mips.c (_bfd_mips_elf_section_processing): For
3023 1.11 christos SHT_MIPS_REGINFO sections don't assert the correct size and
3024 1.11 christos report an error instead.
3025 1.11 christos
3026 1.11 christos 2018-02-05 Maciej W. Rozycki <macro (a] mips.com>
3027 1.11 christos
3028 1.11 christos * elf.c (_bfd_elf_write_object_contents): Propagate a failure
3029 1.11 christos status from `->elf_backend_section_processing'.
3030 1.11 christos
3031 1.11 christos 2018-02-02 Jim Wilson <jimw (a] sifive.com>
3032 1.11 christos
3033 1.11 christos PR ld/22756
3034 1.11 christos * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
3035 1.11 christos If link_info->wrap_hash, check for a duplicate symbol and ignore.
3036 1.11 christos (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
3037 1.11 christos Pass new argument to riscv_relax_delete_bytes.
3038 1.11 christos (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
3039 1.11 christos ATTRIBUTE_UNUSED from link_info parameter.
3040 1.11 christos
3041 1.11 christos 2018-02-02 Alan Modra <amodra (a] gmail.com>
3042 1.11 christos
3043 1.11 christos * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
3044 1.11 christos emitted for toc sequence optimization. Set and use "howto" later.
3045 1.11 christos
3046 1.11 christos 2018-02-01 Simon Marchi <simon.marchi (a] ericsson.com>
3047 1.11 christos
3048 1.11 christos * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer
3049 1.11 christos arithmetic on NULL pointer.
3050 1.11 christos * elflink.c (_bfd_elf_archive_symbol_lookup,
3051 1.11 christos elf_link_add_archive_symbols): Likewise.
3052 1.11 christos
3053 1.11 christos 2018-01-31 Michael Matz <matz (a] suse.de>
3054 1.11 christos
3055 1.11 christos * elflink.c (bfd_elf_define_start_stop): Fix check of
3056 1.11 christos def_dynamic.
3057 1.11 christos
3058 1.11 christos 2018-01-31 H.J. Lu <hongjiu.lu (a] intel.com>
3059 1.11 christos
3060 1.11 christos PR ld/21964
3061 1.11 christos * elflink.c (bfd_elf_define_start_stop): Check if __start and
3062 1.11 christos __stop symbols are referenced by shared objects.
3063 1.11 christos
3064 1.11 christos 2018-01-30 Alan Modra <amodra (a] gmail.com>
3065 1.11 christos
3066 1.11 christos PR 22758
3067 1.11 christos * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
3068 1.11 christos segment when demand paged with lma on the same page. Test this
3069 1.11 christos before load/non-load, executable/non-executable,
3070 1.11 christos writable/non-writable tests and simplify. Delete bogus relro
3071 1.11 christos condition in writable/non-writable test. Delete outdated
3072 1.11 christos comment. Formatting.
3073 1.11 christos
3074 1.11 christos 2018-01-30 Alan Modra <amodra (a] gmail.com>
3075 1.11 christos
3076 1.11 christos * elflink.c (bfd_elf_define_start_stop): Make __start and __stop
3077 1.11 christos symbols dynamic.
3078 1.11 christos
3079 1.11 christos 2018-01-29 Alan Modra <amodra (a] gmail.com>
3080 1.11 christos
3081 1.11 christos PR 22741
3082 1.11 christos * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
3083 1.11 christos range before converting to a symbol table pointer.
3084 1.11 christos
3085 1.10 christos 2018-01-27 Nick Clifton <nickc (a] redhat.com>
3086 1.6 skrll
3087 1.10 christos * po/ru.po: Updated Russian translation.
3088 1.7 christos
3089 1.10 christos 2018-01-26 Alan Modra <amodra (a] gmail.com>
3090 1.7 christos
3091 1.11 christos * elflink.c (bfd_elf_define_start_stop): Override symbols when
3092 1.11 christos they are defined dynamically.
3093 1.11 christos
3094 1.11 christos 2018-01-26 Alan Modra <amodra (a] gmail.com>
3095 1.11 christos
3096 1.10 christos * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
3097 1.10 christos .branch_lt changes size.
3098 1.3 christos
3099 1.11 christos 2018-01-25 Alan Modra <amodra (a] gmail.com>
3100 1.11 christos
3101 1.11 christos PR 22746
3102 1.11 christos * elfcode.h (elf_object_p): Avoid integer overflow.
3103 1.11 christos
3104 1.10 christos 2018-01-25 Eric Botcazou <ebotcazou (a] adacore.com>
3105 1.3 christos
3106 1.10 christos PR ld/22727
3107 1.10 christos * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
3108 1.10 christos Do a mere lookup of the __tls_get_addr symbol instead of adding it.
3109 1.7 christos
3110 1.10 christos Revert
3111 1.10 christos 2017-10-19 H.J. Lu <hongjiu.lu (a] intel.com>
3112 1.5 christos
3113 1.10 christos PR ld/22263
3114 1.10 christos * elfxx-sparc.c (sparc_elf_tls_transition): Replace
3115 1.10 christos bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
3116 1.10 christos bfd_link_executable for TLS check.
3117 1.10 christos (_bfd_sparc_elf_check_relocs): Likewise.
3118 1.10 christos (allocate_dynrelocs): Likewise.
3119 1.10 christos (_bfd_sparc_elf_relocate_section): Likewise.
3120 1.5 christos
3121 1.11 christos 2018-01-24 Renlin Li <renlin.li (a] arm.com>
3122 1.11 christos
3123 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
3124 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
3125 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
3126 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
3127 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G3.
3128 1.11 christos * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
3129 1.11 christos (_bfd_aarch64_elf_resolve_relocation): Likewise.
3130 1.11 christos
3131 1.11 christos 2018-01-24 Renlin Li <renlin.li (a] arm.com>
3132 1.11 christos
3133 1.11 christos * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
3134 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
3135 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
3136 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
3137 1.11 christos * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
3138 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
3139 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
3140 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
3141 1.11 christos BFD_RELOC_AARCH64_MOVW_PREL_G3.
3142 1.11 christos * bfd-in2.h: Regenerate.
3143 1.11 christos * libbfd.h: Regenerate.
3144 1.5 christos
3145 1.11 christos 2018-01-23 Maciej W. Rozycki <macro (a] mips.com>
3146 1.11 christos
3147 1.11 christos * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
3148 1.11 christos `mips_elf32_section_processing' comment reference.
3149 1.7 christos
3150 1.10 christos 2018-01-20 H.J. Lu <hongjiu.lu (a] intel.com>
3151 1.7 christos
3152 1.10 christos PR ld/22721
3153 1.10 christos * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
3154 1.10 christos versioned __tls_get_addr symbol.
3155 1.7 christos
3156 1.10 christos 2018-01-19 Nick Clifton <nickc (a] redhat.com>
3157 1.7 christos
3158 1.10 christos * po/fr.po: Updated French translation.
3159 1.7 christos
3160 1.10 christos 2018-01-18 Alan Modra <amodra (a] gmail.com>
3161 1.7 christos
3162 1.10 christos * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
3163 1.10 christos * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
3164 1.10 christos (ppc64_elf_build_stubs): Likewise.
3165 1.7 christos
3166 1.11 christos 2018-01-17 Nick Clifton <nickc (a] redhat.com>
3167 1.11 christos
3168 1.11 christos * po/ru.po: Updated Russian translation.
3169 1.11 christos * po/uk/po: Updated Ukranian translation.
3170 1.11 christos
3171 1.11 christos 2018-01-17 Alan Modra <amodra (a] gmail.com>
3172 1.11 christos
3173 1.11 christos * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
3174 1.11 christos
3175 1.11 christos 2018-01-17 Alan Modra <amodra (a] gmail.com>
3176 1.7 christos
3177 1.10 christos * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
3178 1.10 christos (CRSETEQ, BEQCTRM): Define.
3179 1.10 christos (is_nonpic_glink_stub): Don't check bctr.
3180 1.10 christos (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
3181 1.10 christos (ppc_elf_relax_section): Size speculation barrier.
3182 1.10 christos (output_bctr): New function.
3183 1.10 christos (write_glink_stub): Use output_bctr.
3184 1.10 christos (ppc_elf_relocate_section): Use output_bctr for long branch stub.
3185 1.10 christos (ppc_elf_finish_dynamic_symbol): Likewise.
3186 1.10 christos (ppc_elf_finish_dynamic_sections): Use output_bctr.
3187 1.10 christos * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
3188 1.10 christos * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
3189 1.10 christos (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
3190 1.10 christos (size_global_entry_stubs): Handle speculation barrier sizing.
3191 1.10 christos (plt_stub_size): Likewise.
3192 1.10 christos (output_bctr): New function.
3193 1.10 christos (build_plt_stub, build_tls_get_addr_stub): Output speculation
3194 1.10 christos barrier.
3195 1.10 christos (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
3196 1.10 christos (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
3197 1.10 christos (build_global_entry_stubs): Output speculation barrier.
3198 1.10 christos (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
3199 1.10 christos * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
3200 1.7 christos
3201 1.11 christos 2018-01-17 Alan Modra <amodra (a] gmail.com>
3202 1.7 christos
3203 1.10 christos * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
3204 1.10 christos __tls_get_addr_opt, and alignment sizing.
3205 1.10 christos (TLS_GET_ADDR_GLINK_SIZE): Delete.
3206 1.10 christos (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
3207 1.10 christos (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
3208 1.10 christos or 8 insns.
3209 1.10 christos (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
3210 1.10 christos (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
3211 1.10 christos (ppc_elf_size_dynamic_sections): Likewise. Size branch table
3212 1.10 christos by PLT reloc count.
3213 1.10 christos (write_glink_stub): Handle __tls_get_addr_opt stub.
3214 1.10 christos Pad out to size given by GLINK_ENTRY_SIZE.
3215 1.10 christos (ppc_elf_relocate_section): Adjust write_glink_stub call.
3216 1.10 christos (ppc_elf_finish_dynamic_symbol): Likewise.
3217 1.10 christos (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
3218 1.10 christos insn array since so many need rewriting.
3219 1.10 christos * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
3220 1.10 christos * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
3221 1.10 christos GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
3222 1.10 christos nops. Adjust all uses.
3223 1.10 christos (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
3224 1.10 christos in glink_vma calculation.
3225 1.10 christos (struct ppc_link_hash_table): Add global_entry section pointer.
3226 1.10 christos (create_linkage_sections): Create separate section for global
3227 1.10 christos entry stubs.
3228 1.10 christos (PPC_LO, PPC_HI, PPC_HA): Move earlier.
3229 1.10 christos (size_global_entry_stubs): Handle sizing for aligned stubs.
3230 1.10 christos (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
3231 1.10 christos and don't stash end of glink branch table in rawsize.
3232 1.10 christos (ppc_build_one_stub): Rewrite stub size calculations.
3233 1.10 christos (build_global_entry_stubs): Use new section.
3234 1.10 christos (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
3235 1.10 christos Build lazy link stubs out to end of section. Build global entry
3236 1.10 christos stubs in new section.
3237 1.7 christos
3238 1.11 christos 2018-01-15 Nick Clifton <nickc (a] redhat.com>
3239 1.7 christos
3240 1.11 christos * po/uk.po: Updated Ukranian translation.
3241 1.7 christos
3242 1.11 christos 2018-01-13 Nick Clifton <nickc (a] redhat.com>
3243 1.7 christos
3244 1.11 christos * po/bfd.pot: Regenerated.
3245 1.7 christos
3246 1.10 christos 2018-01-13 Nick Clifton <nickc (a] redhat.com>
3247 1.3 christos
3248 1.11 christos * version.m4: Bump version to 2.30.51
3249 1.7 christos * configure: Regenerate.
3250 1.1 skrll
3251 1.10 christos 2018-01-13 Nick Clifton <nickc (a] redhat.com>
3252 1.3 christos
3253 1.10 christos 2.30 branch created.
3254 1.3 christos
3255 1.10 christos 2018-01-12 Jens Widell <jl (a] opera.com>
3256 1.3 christos
3257 1.10 christos * elf.c (setup_group): Optimize search for group by remembering
3258 1.10 christos last found group and restarting search at that index.
3259 1.10 christos * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
3260 1.3 christos
3261 1.10 christos 2018-01-12 Gunther Nikl <gnikl (a] users.sourceforge.net>
3262 1.3 christos
3263 1.10 christos * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
3264 1.10 christos bfd_link_common_skip_none in switch.
3265 1.3 christos
3266 1.10 christos 2018-01-12 Alan Modra <amodra (a] gmail.com>
3267 1.5 christos
3268 1.10 christos PR ld/22649
3269 1.10 christos * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
3270 1.10 christos references on forced local symbols.
3271 1.5 christos
3272 1.10 christos 2018-01-12 Vlad Ivanov <vlad (a] ivanov.email>
3273 1.5 christos
3274 1.10 christos * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
3275 1.10 christos .reginfo section has wrong size.
3276 1.5 christos
3277 1.10 christos 2018-01-11 H.J. Lu <hongjiu.lu (a] intel.com>
3278 1.5 christos
3279 1.10 christos PR ld/22393
3280 1.10 christos * elf.c (_bfd_elf_map_sections_to_segments): When generating
3281 1.10 christos separate code and read-only data LOAD segments, create a new
3282 1.10 christos LOAD segment if the previous section contains text and the
3283 1.10 christos current section doesn't or vice versa. Don't put a writable
3284 1.10 christos section in a read-only segment if there is a RELRO segment.
3285 1.5 christos
3286 1.10 christos 2018-01-11 H.J. Lu <hongjiu.lu (a] intel.com>
3287 1.5 christos
3288 1.10 christos PR ld/22649
3289 1.10 christos * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
3290 1.10 christos references on forced local symbols.
3291 1.5 christos
3292 1.10 christos 2018-01-11 H.J. Lu <hongjiu.lu (a] intel.com>
3293 1.5 christos
3294 1.10 christos PR ld/22677
3295 1.10 christos * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
3296 1.10 christos INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
3297 1.5 christos
3298 1.11 christos 2018-01-09 Kuan-Lin Chen <kuanlinchentw (a] gmail.com>
3299 1.5 christos
3300 1.10 christos PR 22662
3301 1.10 christos * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
3302 1.5 christos
3303 1.10 christos 2018-01-03 John Baldwin <jhb (a] FreeBSD.org>
3304 1.5 christos
3305 1.10 christos * elf.c (elfcore_grok_freebsd_note): Handle
3306 1.10 christos NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
3307 1.10 christos NT_FREEBSD_PROCSTAT_VMMAP.
3308 1.5 christos
3309 1.10 christos 2018-01-03 Alan Modra <amodra (a] gmail.com>
3310 1.5 christos
3311 1.7 christos Update year range in copyright notice of all files.
3312 1.1 skrll
3313 1.10 christos For older changes see ChangeLog-2017
3314 1.1 skrll
3316 1.7 christos Copyright (C) 2018 Free Software Foundation, Inc.
3317 1.7 christos
3318 1.7 christos Copying and distribution of this file, with or without modification,
3319 1.7 christos are permitted in any medium without royalty provided the copyright
3320 1.7 christos notice and this notice are preserved.
3321 1.1 skrll
3322 1.1 skrll Local Variables:
3323 1.1 skrll mode: change-log
3324 1.1 skrll left-margin: 8
3325 1.1 skrll fill-column: 74
3326 1.1 skrll version-control: never
3327 End:
3328