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