IA-64: Fix linker error with --no-keep-memory.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6838f2be
AM
12018-02-26 Alan Modra <amodra@gmail.com>
2
3 * elf.c (assign_file_positions_except_relocs): Don't segfault
4 when actual number of phdrs is less than allocated. Delete
5 outdated comment. Formatting.
6
38f14ab8
AM
72018-02-26 Alan Modra <amodra@gmail.com>
8
9 * elf-m10300.c, * elf-s390-common.c, * elf32-arc.c, * elf32-cris.c,
10 * elf32-dlx.c, * elf32-frv.c, * elf32-i370.c, * elf32-lm32.c,
11 * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
12 * elf32-microblaze.c, * elf32-msp430.c, * elf32-nds32.c,
13 * elf32-nios2.c, * elf32-or1k.c, * elf32-rl78.c, * elf32-rx.c,
14 * elf32-score.c, * elf32-score7.c, * elf32-sh-symbian.c,
15 * elf32-sh.c, * elf32-spu.c, * elf32-v850.c, * elf32-xtensa.c,
16 * elf64-alpha.c, * elf64-ia64-vms.c, * elf64-mmix.c,
17 * elf64-sh64.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-tilegx.c,
18 * mmo.c, * osf-core.c, * srec.c, * vms-alpha.c: Standardize
19 error/warning messages.
20
6e05870c
AM
212018-02-26 Alan Modra <amodra@gmail.com>
22
23 * archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c,
24 * syms.c: Standardize error/warning messages.
25
59d08d6c
AM
262018-02-26 Alan Modra <amodra@gmail.com>
27
28 * aout-adobe.c, * aout-cris.c, * i386linux.c, * m68klinux.c,
29 * sparclinux.c, * coff-alpha.c, * coff-arm.c, * coff-mcore.c,
30 * coffcode.h, * coffgen.c, * cofflink.c, * ecoff.c, * pe-mips.c,
31 * peXXigen.c, * peicode.h: Standardize error/warning messages.
32
90b6238f
AM
332018-02-26 Alan Modra <amodra@gmail.com>
34
35 * elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages.
36
2c1c9679
AM
372018-02-26 Alan Modra <amodra@gmail.com>
38
39 * elfxx-mips.c: Standardize error/warning messages.
40
9793eb77
AM
412018-02-26 Alan Modra <amodra@gmail.com>
42
43 * dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c,
44 * elflink.c: Standardize error/warning messages. Replace use of
45 linker callback einfo with _bfd_error_handler when possible.
46
0aa13fee
AM
472018-02-26 Alan Modra <amodra@gmail.com>
48
49 * aoutx.h, * coff-alpha.c, * coff-i860.c, * coff-m68k.c,
50 * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c,
51 * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-w65.c,
52 * elf-bfd.h, * elf-m10300.c, * elf.c, * elf32-avr.c, * elf32-bfin.c,
53 * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
54 * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
55 * elf32-fr30.c, * elf32-frv.c, * elf32-i370.c, * elf32-i386.c,
56 * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
57 * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
58 * elf32-m68k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c,
59 * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
60 * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-or1k.c,
61 * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-rx.c,
62 * elf32-s390.c, * elf32-sh.c, * elf32-spu.c, * elf32-tic6x.c,
63 * elf32-v850.c, * elf32-vax.c, * elf32-visium.c, * elf32-wasm32.c,
64 * elf32-xgate.c, * elf32-xtensa.c, * elf64-alpha.c,
65 * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
66 * elf64-ppc.c, * elf64-s390.c, * elf64-sparc.c, * elf64-x86-64.c,
67 * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
68 * elfnn-riscv.c, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-riscv.h,
69 * elfxx-sparc.c, * elfxx-sparc.h, * reloc.c: Standardize
70 unrecognized/unsupported reloc message.
71
cf97bcb0
AM
722018-02-26 Alan Modra <amodra@gmail.com>
73
74 * elf32-ppc.c: Standardize error/warning messages. Use
75 _bfd_error_handler rather than einfo when einfo features not used.
76 * elf64-ppc.c: Likewise.
77
01f7e10c
AM
782018-02-23 Alan Modra <amodra@gmail.com>
79
80 PR 22881
81 * elf.c (assign_file_positions_for_non_load_sections): Remove RELRO
82 segment if no matching LOAD segment.
83
e859f655
KLC
842018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
85
86 * elf32-nds32.h: Define mask for ict_model.
87
6e8d06db
JD
882018-02-20 Jason Duerstock <jason.duerstock@gmail.com>
89
90 * elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
91
b248d650
MR
922018-02-19 Maciej W. Rozycki <macro@mips.com>
93
94 Revert
95 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
96
97 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
98 .reginfo section has wrong size.
99
6798f8bf
MR
1002018-02-19 Maciej W. Rozycki <macro@mips.com>
101
102 * elfxx-mips.c (_bfd_mips_elf_always_size_sections): Set
103 SEC_FIXED_SIZE and SEC_HAS_CONTENTS flags for `.reginfo' and
104 `.MIPS.abiflags' sections.
105 (_bfd_mips_elf_final_link): Avoid reading beyond `.reginfo'
106 section's end.
107
8772de11
MR
1082018-02-19 Maciej W. Rozycki <macro@mips.com>
109
110 * section.c (SEC_FIXED_SIZE): New macro.
111 * bfd-in2.h: Regenerate.
112
4f7fd351
MR
1132018-02-19 Maciej W. Rozycki <macro@mips.com>
114
115 * section.c (SEC_HAS_GOT_REF): Remove macro.
116 * bfd-in2.h: Regenerate.
117
f2b740ac
AM
1182018-02-19 Alan Modra <amodra@gmail.com>
119
120 * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler
121 arguments.
122 * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise.
123 * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise.
124 (_bfd_riscv_relax_pc): Likewise and fix typos.
125 * libbfd-in.h (_bfd_error_handler): Add attribute printf.
126 * libbfd.h: Regenerate.
127
8979927a
AM
1282018-02-19 Alan Modra <amodra@gmail.com>
129
130 * dwarf2.c (read_section): Don't use 'll' format modifier.
131 (find_abstract_instance): Likewise.
132 * elfcore.h (elf_core_file_p): Likewise.
133
2dcf00ce
AM
1342018-02-19 Alan Modra <amodra@gmail.com>
135
136 * bfd-in.h: Include inttypes.h or if not available define
137 PRId64, PRIu64 and PRIx64.
138 * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L
139 modifier to print bfd_vma.
140 * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
141 * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c,
142 * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
143 * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c,
144 * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c,
145 * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c,
146 * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c,
147 * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c,
148 * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c,
149 * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c,
150 * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c,
151 * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c,
152 * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c,
153 * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c,
154 * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64,
155 and cast input to uint64_t, and similarly for Ld and Lu.
156 * bfd-in2.h: Regenerate.
157
c1c8c1ef
AM
1582018-02-19 Alan Modra <amodra@gmail.com>
159
160 * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c,
161 * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c,
162 * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c,
163 * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c,
164 * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c,
165 * reloc.c: Replace use of %R and %T in format strings passed to
166 einfo and friends by %pR and %pT.
167
871b3ab2
AM
1682018-02-19 Alan Modra <amodra@gmail.com>
169
170 * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place
171 of %A and %B.
172 * aout-adobe.c: Update all messages using %A and %B.
173 * aout-cris.c: Likewise.
174 * aoutx.h: Likewise.
175 * archive.c: Likewise.
176 * binary.c: Likewise.
177 * cache.c: Likewise.
178 * coff-alpha.c: Likewise.
179 * coff-arm.c: Likewise.
180 * coff-i860.c: Likewise.
181 * coff-mcore.c: Likewise.
182 * coff-ppc.c: Likewise.
183 * coff-rs6000.c: Likewise.
184 * coff-sh.c: Likewise.
185 * coff-tic4x.c: Likewise.
186 * coff-tic54x.c: Likewise.
187 * coff-tic80.c: Likewise.
188 * coff64-rs6000.c: Likewise.
189 * coffcode.h: Likewise.
190 * coffgen.c: Likewise.
191 * cofflink.c: Likewise.
192 * coffswap.h: Likewise.
193 * compress.c: Likewise.
194 * cpu-arm.c: Likewise.
195 * ecoff.c: Likewise.
196 * elf-attrs.c: Likewise.
197 * elf-eh-frame.c: Likewise.
198 * elf-ifunc.c: Likewise.
199 * elf-m10300.c: Likewise.
200 * elf-properties.c: Likewise.
201 * elf-s390-common.c: Likewise.
202 * elf.c: Likewise.
203 * elf32-arc.c: Likewise.
204 * elf32-arm.c: Likewise.
205 * elf32-avr.c: Likewise.
206 * elf32-bfin.c: Likewise.
207 * elf32-cr16.c: Likewise.
208 * elf32-cr16c.c: Likewise.
209 * elf32-cris.c: Likewise.
210 * elf32-crx.c: Likewise.
211 * elf32-d10v.c: Likewise.
212 * elf32-d30v.c: Likewise.
213 * elf32-epiphany.c: Likewise.
214 * elf32-fr30.c: Likewise.
215 * elf32-frv.c: Likewise.
216 * elf32-gen.c: Likewise.
217 * elf32-hppa.c: Likewise.
218 * elf32-i370.c: Likewise.
219 * elf32-i386.c: Likewise.
220 * elf32-i960.c: Likewise.
221 * elf32-ip2k.c: Likewise.
222 * elf32-iq2000.c: Likewise.
223 * elf32-lm32.c: Likewise.
224 * elf32-m32c.c: Likewise.
225 * elf32-m32r.c: Likewise.
226 * elf32-m68hc11.c: Likewise.
227 * elf32-m68hc12.c: Likewise.
228 * elf32-m68hc1x.c: Likewise.
229 * elf32-m68k.c: Likewise.
230 * elf32-mcore.c: Likewise.
231 * elf32-mep.c: Likewise.
232 * elf32-metag.c: Likewise.
233 * elf32-microblaze.c: Likewise.
234 * elf32-moxie.c: Likewise.
235 * elf32-msp430.c: Likewise.
236 * elf32-mt.c: Likewise.
237 * elf32-nds32.c: Likewise.
238 * elf32-nios2.c: Likewise.
239 * elf32-or1k.c: Likewise.
240 * elf32-pj.c: Likewise.
241 * elf32-ppc.c: Likewise.
242 * elf32-rl78.c: Likewise.
243 * elf32-rx.c: Likewise.
244 * elf32-s390.c: Likewise.
245 * elf32-score.c: Likewise.
246 * elf32-score7.c: Likewise.
247 * elf32-sh-symbian.c: Likewise.
248 * elf32-sh.c: Likewise.
249 * elf32-sh64.c: Likewise.
250 * elf32-sparc.c: Likewise.
251 * elf32-spu.c: Likewise.
252 * elf32-tic6x.c: Likewise.
253 * elf32-tilepro.c: Likewise.
254 * elf32-v850.c: Likewise.
255 * elf32-vax.c: Likewise.
256 * elf32-visium.c: Likewise.
257 * elf32-wasm32.c: Likewise.
258 * elf32-xgate.c: Likewise.
259 * elf32-xtensa.c: Likewise.
260 * elf64-alpha.c: Likewise.
261 * elf64-gen.c: Likewise.
262 * elf64-hppa.c: Likewise.
263 * elf64-ia64-vms.c: Likewise.
264 * elf64-mmix.c: Likewise.
265 * elf64-ppc.c: Likewise.
266 * elf64-s390.c: Likewise.
267 * elf64-sh64.c: Likewise.
268 * elf64-sparc.c: Likewise.
269 * elf64-x86-64.c: Likewise.
270 * elfcode.h: Likewise.
271 * elfcore.h: Likewise.
272 * elflink.c: Likewise.
273 * elfnn-aarch64.c: Likewise.
274 * elfnn-ia64.c: Likewise.
275 * elfnn-riscv.c: Likewise.
276 * elfxx-mips.c: Likewise.
277 * elfxx-sparc.c: Likewise.
278 * elfxx-tilegx.c: Likewise.
279 * elfxx-x86.c: Likewise.
280 * hpux-core.c: Likewise.
281 * ieee.c: Likewise.
282 * ihex.c: Likewise.
283 * libbfd.c: Likewise.
284 * linker.c: Likewise.
285 * mach-o.c: Likewise.
286 * merge.c: Likewise.
287 * mmo.c: Likewise.
288 * oasys.c: Likewise.
289 * pdp11.c: Likewise.
290 * pe-mips.c: Likewise.
291 * peXXigen.c: Likewise.
292 * peicode.h: Likewise.
293 * reloc.c: Likewise.
294 * rs6000-core.c: Likewise.
295 * srec.c: Likewise.
296 * stabs.c: Likewise.
297 * vms-alpha.c: Likewise.
298 * xcofflink.c: Likewise.
299
dbc88fc1
AM
3002018-02-19 Alan Modra <amodra@gmail.com>
301
302 PR 22845
303 * elf.c (IS_TBSS): Define.
304 (_bfd_elf_map_sections_to_segments): Use IS_TBSS.
305 (assign_file_positions_for_non_load_sections): Revert last change.
306 Properly calculate load segment limits to compare against relro limits.
307
325ba6fb
AM
3082018-02-17 Alan Modra <amodra@gmail.com>
309
310 PR 22845
311 * elf.c (assign_file_positions_for_non_load_sections): Ignore
312 degenerate zero size PT_LOAD segments when finding one overlapping
313 the PT_GNU_RELRO segment.
314
d00dd7dc
AM
3152018-02-16 Alan Modra <amodra@gmail.com>
316
317 * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false.
318 (_bfd_bool_bfd_true): Rename from bfd_true.
319 (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr.
320 (_bfd_int_bfd_0): Rename from bfd_0.
321 (_bfd_uint_bfd_0): Rename from bfd_0u.
322 (_bfd_long_bfd_0): Rename from bfd_0l.
323 (_bfd_long_bfd_n1_error): Rename from _bfd_n1.
324 (_bfd_void_bfd): Rename from bfd_void.
325 (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false),
326 (_bfd_bool_bfd_link_false_error),
327 (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true),
328 (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true),
329 (_bfd_bool_bfd_asection_bfd_asection_true),
330 (_bfd_bool_bfd_asymbol_bfd_asymbol_true),
331 (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions.
332 * archive.c (_bfd_noarchive_get_elt_at_index),
333 (_bfd_noarchive_openr_next_archived_file),
334 (_bfd_noarchive_construct_extended_name_table),
335 (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname),
336 (_bfd_noarchive_write_armap): New functions.
337 * archures.c (_bfd_nowrite_set_arch_mach): New function.
338 * coff-alpha.c (alpha_ecoff_swap_coff_aux_in),
339 (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in),
340 (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out),
341 (alpha_ecoff_swap_coff_lineno_out),
342 (alpha_ecoff_swap_coff_reloc_out): New functions.
343 * coff-mips.c (mips_ecoff_swap_coff_aux_in),
344 (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in),
345 (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out),
346 (mips_ecoff_swap_coff_lineno_out),
347 (mips_ecoff_swap_coff_reloc_out): New functions.
348 * coffcode.h (coff_set_alignment_hook): Replace define with
349 new function.
350 (symname_in_debug_hook): Likewise.
351 * ecoff.c (_bfd_ecoff_set_alignment_hook): New function.
352 * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0.
353 * elf.c (assign_file_positions_except_relocs): Test
354 elf_backend_allow_non_load_phdr for NULL.
355 * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from
356 _bfd_elf_link_omit_section_dynsym. Update uses.
357 (_bfd_elf_omit_section_dynsym_all): New function.
358 * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete.
359 (_bfd_elf_omit_section_dynsym_default): Declare.
360 (_bfd_elf_omit_section_dynsym_all): Declare.
361 * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section),
362 (_bfd_nolink_bfd_get_relocated_section_contents),
363 (_bfd_nolink_bfd_lookup_section_flags),
364 (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group),
365 (_bfd_nolink_bfd_link_hash_table_create),
366 (_bfd_nolink_bfd_link_just_syms),
367 (_bfd_nolink_bfd_copy_link_hash_symbol_type),
368 (_bfd_nolink_bfd_link_split_section),
369 (_bfd_nolink_section_already_linked),
370 (_bfd_nolink_bfd_define_common_symbol),
371 (_bfd_nolink_bfd_define_start_stop): New functions.
372 * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup),
373 (_bfd_norelocs_bfd_reloc_name_lookup),
374 (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions.
375 * section.c (_bfd_nowrite_set_section_contents): New function.
376 * syms.c (_bfd_nosymbols_canonicalize_symtab),
377 (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info),
378 (_bfd_nosymbols_get_symbol_version_string),
379 (_bfd_nosymbols_bfd_is_local_label_name),
380 (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line),
381 (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info),
382 (_bfd_nosymbols_bfd_make_debug_symbol),
383 ( _bfd_nosymbols_read_minisymbols),
384 ( _bfd_nosymbols_minisymbol_to_symbol),
385 (_bfd_nodynamic_get_synthetic_symtab): New functions.
386 * libbfd-in.h: Declare new functions. Update existing defines,
387 removing casts.
388 * aix386-core.c: Update to use new hooks. Formatting.
389 * aout-adobe.c: Likewise.
390 * aout-arm.c: Likewise.
391 * aout-target.h: Likewise.
392 * aout-tic30.c: Likewise.
393 * aoutf1.h: Likewise.
394 * binary.c: Likewise.
395 * bout.c: Likewise.
396 * cisco-core.c: Likewise.
397 * coff-alpha.c: Likewise.
398 * coff-i386.c: Likewise.
399 * coff-i860.c: Likewise.
400 * coff-i960.c: Likewise.
401 * coff-ia64.c: Likewise.
402 * coff-mips.c: Likewise.
403 * coff-ppc.c: Likewise.
404 * coff-rs6000.c: Likewise.
405 * coff-sh.c: Likewise.
406 * coff-tic30.c: Likewise.
407 * coff-tic54x.c: Likewise.
408 * coff-x86_64.c: Likewise.
409 * coff64-rs6000.c: Likewise.
410 * coffcode.h: Likewise.
411 * elf-m10300.c: Likewise.
412 * elf32-cr16.c: Likewise.
413 * elf32-lm32.c: Likewise.
414 * elf32-m32r.c: Likewise.
415 * elf32-metag.c: Likewise.
416 * elf32-score.c: Likewise.
417 * elf32-score7.c: Likewise.
418 * elf32-tilepro.c: Likewise.
419 * elf32-xstormy16.c: Likewise.
420 * elf32-xtensa.c: Likewise.
421 * elf64-alpha.c: Likewise.
422 * elf64-hppa.c: Likewise.
423 * elf64-ia64-vms.c: Likewise.
424 * elf64-mmix.c: Likewise.
425 * elf64-sh64.c: Likewise.
426 * elfnn-ia64.c: Likewise.
427 * elfxx-sparc.c: Likewise.
428 * elfxx-target.h: Likewise.
429 * elfxx-tilegx.c: Likewise.
430 * elfxx-x86.h: Likewise.
431 * hp300hpux.c: Likewise.
432 * hppabsd-core.c: Likewise.
433 * hpux-core.c: Likewise.
434 * i386msdos.c: Likewise.
435 * i386os9k.c: Likewise.
436 * ieee.c: Likewise.
437 * ihex.c: Likewise.
438 * irix-core.c: Likewise.
439 * libaout.h: Likewise.
440 * libecoff.h: Likewise.
441 * mach-o-target.c: Likewise.
442 * mach-o.c: Likewise.
443 * mipsbsd.c: Likewise.
444 * mmo.c: Likewise.
445 * netbsd-core.c: Likewise.
446 * nlm-target.h: Likewise.
447 * oasys.c: Likewise.
448 * osf-core.c: Likewise.
449 * pdp11.c: Likewise.
450 * pe-mips.c: Likewise.
451 * pe-x86_64.c: Likewise.
452 * pef.c: Likewise.
453 * plugin.c: Likewise.
454 * ppcboot.c: Likewise.
455 * ptrace-core.c: Likewise.
456 * sco5-core.c: Likewise.
457 * som.c: Likewise.
458 * sparclynx.c: Likewise.
459 * srec.c: Likewise.
460 * tekhex.c: Likewise.
461 * trad-core.c: Likewise.
462 * verilog.c: Likewise.
463 * versados.c: Likewise.
464 * vms-alpha.c: Likewise.
465 * vms-lib.c: Likewise.
466 * wasm-module.c: Likewise.
467 * xsym.c: Likewise.
468 * libbfd.h: Regenerate.
469
2a0d9853
JW
4702018-02-15 Jim Wilson <jimw@sifive.com>
471
09ca4b9d
JW
472 * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore
473 symbols whose section address is zero.
474
2a0d9853
JW
475 * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous
476 when pcrel_lo reloc has an addend. Use reloc_dangerous callback for
477 bfd_reloc_dangerous. Use einfo instead of warning callback for errors.
478 Add %X%P to error messages.
479
e513bd38
EB
4802018-02-15 Eric Botcazou <ebotcazou@adacore.com>
481
482 PR ld/22832
483 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
484 Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup
485 and assert that the result of the call is not NULL.
486
12ef3f5a
NC
4872018-02-14 Nick Clifton <nickc@redhat.com>
488
489 PR 22823
490 Revert previous delta. Add extra casts to avoid compile time
491 warnings instead.
492 * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra
493 cast to avoid warning from gcc v8 compiler.
494 (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
495 (_bfd_generic_bfd_set_private_flags): Likewise.
496 (_bfd_generic_bfd_copy_private_section_data): Likewise.
497 (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
498 (_bfd_generic_bfd_copy_private_header_data): Likewise.
499 (_bfd_generic_bfd_print_private_bfd_data): Likewise.
500 (_bfd_noarchive_construct_extended_name_table): Likewise.
501 (_bfd_noarchive_truncate_arname): Likewise.
502 (_bfd_noarchive_write_ar_hdr): Likewise.
503 (_bfd_noarchive_get_elt_at_index): Likewise.
504 (_bfd_nosymbols_canonicalize_symtab): Likewise.
505 (_bfd_nosymbols_print_symbol): Likewise.
506 (_bfd_nosymbols_get_symbol_info): Likewise.
507 (_bfd_nosymbols_get_symbol_version_string): Likewise.
508 (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
509 (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
510 (_bfd_nosymbols_get_lineno): Likewise.
511 (_bfd_nosymbols_find_nearest_line): Likewise.
512 (_bfd_nosymbols_find_line): Likewise.
513 (_bfd_nosymbols_find_inliner_info): Likewise.
514 (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
515 (_bfd_nosymbols_read_minisymbols): Likewise.
516 (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
517 (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
518 (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
519 (_bfd_nowrite_set_arch_mach): Likewise.
520 (_bfd_nowrite_set_section_contents): Likewise.
521 (_bfd_nolink_sizeof_headers): Likewise.
522 (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
523 (_bfd_nolink_bfd_relax_section): Likewise.
524 (_bfd_nolink_bfd_gc_sections): Likewise.
525 (_bfd_nolink_bfd_lookup_section_flags): Likewise.
526 (_bfd_nolink_bfd_merge_sections): Likewise.
527 (_bfd_nolink_bfd_is_group_section): Likewise.
528 (_bfd_nolink_bfd_discard_group): Likewise.
529 (_bfd_nolink_bfd_link_hash_table_create): Likewise.
530 (_bfd_nolink_bfd_link_add_symbols): Likewise.
531 (_bfd_nolink_bfd_link_just_syms): Likewise.
532 (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
533 (_bfd_nolink_bfd_final_link): Likewise.
534 (_bfd_nolink_bfd_link_split_section): Likewise.
535 (_bfd_nolink_section_already_linked): Likewise.
536 (_bfd_nolink_bfd_define_common_symbol): Likewise.
537 (_bfd_nolink_bfd_define_start_stop): Likewise.
538 (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
539 (_bfd_nodynamic_get_synthetic_symtab): Likewise.
540 (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
541 (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
542 * libbfd.c (bfd_false_any): Delete.
543 (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete.
544 (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete.
545 * libbfd.h (extern): Regenerate
546 * aout-target.h (MY_bfd_is_target_special_symbol): Add extra
547 cast to avoid warning from gcc v8 compiler.
548 * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
549 * binary.c (binary_get_symbol_info): Likewise.
550 * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
551 * coff-mips.c (mips_ecoff_backend_data): Likewise.
552 * coffcode.h (coff_set_alignment_hook): Likewise.
553 (symname_in_debug_hook): Likewise.
554 (bfd_coff_backend_data bigobj_swap_table): Likewise.
555 * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
556 * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
557 * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
558 * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
559 * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
560 * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
561 * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
562 * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
563 * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
564 * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
565 * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
566 * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
567 * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
568 * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
569 * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
570 * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
571 (bfd_elfNN_bfd_make_debug_symbol): Likewise.
572 (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
573 (bfd_elfNN_bfd_set_private_flags): Likewise.
574 (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
575 (elf_backend_init_index_section): Likewise.
576 (elf_backend_allow_non_load_phdr): Likewise.
577 * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
578 * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
579 * ieee.c (ieee_construct_extended_name_table): Likewise.
580 (ieee_write_armap): Likewise.
581 (ieee_write_ar_hdr): Likewise.
582 (ieee_bfd_is_target_special_symbol): Likewise.
583 * ihex.c (ihex_canonicalize_symtab): Likewise.
584 (ihex_bfd_is_target_special_symbol): Likewise.
585 * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
586 * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
587 (_bfd_ecoff_set_alignment_hook): Likewise.
588 * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
589 * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
590 * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
591 * oasys.c (oasys_construct_extended_name_table): Likewise.
592 (oasys_write_armap): Likewise.
593 (oasys_write_ar_hdr): Likewise.
594 (oasys_bfd_is_target_special_symbol): Likewise.
595 * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
596 * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
597 * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
598 * som.c (som_bfd_is_target_special_symbol): Likewise.
599 * srec.c (srec_bfd_is_target_special_symbol): Likewise.
600 * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
601 * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
602 * versados.c (versados_bfd_is_target_special_symbol): Likewise.
603 (versados_bfd_reloc_name_lookup): Likewise.
604 * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
605 (vms_bfd_define_start_stop): Likewise.
606 (alpha_vms_bfd_is_target_special_symbol): Likewise.
607 * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
608 * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
609
451875b4
L
6102018-02-14 H.J. Lu <hongjiu.lu@intel.com>
611
612 PR ld/22842
613 * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non
614 PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
615 * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for
616 R_X86_64_PC32 reloc against dynamic function in data section.
617 Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P.
618 (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc
619 against dynamic function in data section.
620 * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as
621 function address only if pcrel_plt is true.
622 (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt.
623 * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for
624 PC-relative PLT. If PLT is PC-relative, don't generate dynamic
625 PC-relative relocation against a function definition in data
626 secton in PIE. Remove the obsolete comments.
627 (elf_x86_link_hash_table): Add pcrel_plt.
628
1031c264
L
6292018-02-13 H.J. Lu <hongjiu.lu@intel.com>
630
631 * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll,
632 instead of bfd_link_pic, for building shared library.
633
bd7ab16b
L
6342018-02-13 H.J. Lu <hongjiu.lu@intel.com>
635
636 PR gas/22791
637 * elf64-x86-64.c (is_32bit_relative_branch): Removed.
638 (elf_x86_64_relocate_section): Check PIC relocations in PIE.
639 Remove is_32bit_relative_branch usage. Disallow PC32 reloc
640 against protected function in shared object.
641
80c96350
ST
6422018-02-13 Sergei Trofimovich <slyfox@inbox.ru>
643
644 PR 22828
645 * po/ru.po: Fix typo in Russian translation.
646
87993319
MR
6472018-02-13 Maciej W. Rozycki <macro@mips.com>
648
649 * wasm-module.c (wasm_scan_name_function_section): Rename
650 `index' local variable to `idx'.
651
68d20676
NC
6522018-02-13 Nick Clifton <nickc@redhat.com>
653
654 PR 22823
655 Fix compile time warnings generated by gcc version 8.
656 * libbfd-in.h: Remove extraneous text from prototypes.
657 Add prototypes for bfd_false_any, bfd_true_any,
658 bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any,
659 bfd_n1_any, bfd_void_any.
660 (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy
661 function.
662 (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
663 (_bfd_generic_bfd_set_private_flags): Likewise.
664 (_bfd_generic_bfd_copy_private_section_data): Likewise.
665 (_bfd_generic_bfd_copy_private_symbol_data): Likewise.
666 (_bfd_generic_bfd_copy_private_header_data): Likewise.
667 (_bfd_generic_bfd_print_private_bfd_data): Likewise.
668 (_bfd_noarchive_construct_extended_name_table): Likewise.
669 (_bfd_noarchive_truncate_arname): Likewise.
670 (_bfd_noarchive_write_ar_hdr): Likewise.
671 (_bfd_noarchive_get_elt_at_index): Likewise.
672 (_bfd_nosymbols_canonicalize_symtab): Likewise.
673 (_bfd_nosymbols_print_symbol): Likewise.
674 (_bfd_nosymbols_get_symbol_info): Likewise.
675 (_bfd_nosymbols_get_symbol_version_string): Likewise.
676 (_bfd_nosymbols_bfd_is_local_label_name): Likewise.
677 (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise.
678 (_bfd_nosymbols_get_lineno): Likewise.
679 (_bfd_nosymbols_find_nearest_line): Likewise.
680 (_bfd_nosymbols_find_line): Likewise.
681 (_bfd_nosymbols_find_inliner_info): Likewise.
682 (_bfd_nosymbols_bfd_make_debug_symbol): Likewise.
683 (_bfd_nosymbols_read_minisymbols): Likewise.
684 (_bfd_nosymbols_minisymbol_to_symbol): Likewise.
685 (_bfd_norelocs_bfd_reloc_type_lookup): Likewise.
686 (_bfd_norelocs_bfd_reloc_name_lookup): Likewise.
687 (_bfd_nowrite_set_arch_mach): Likewise.
688 (_bfd_nowrite_set_section_contents): Likewise.
689 (_bfd_nolink_sizeof_headers): Likewise.
690 (_bfd_nolink_bfd_get_relocated_section_contents): Likewise.
691 (_bfd_nolink_bfd_relax_section): Likewise.
692 (_bfd_nolink_bfd_gc_sections): Likewise.
693 (_bfd_nolink_bfd_lookup_section_flags): Likewise.
694 (_bfd_nolink_bfd_merge_sections): Likewise.
695 (_bfd_nolink_bfd_is_group_section): Likewise.
696 (_bfd_nolink_bfd_discard_group): Likewise.
697 (_bfd_nolink_bfd_link_hash_table_create): Likewise.
698 (_bfd_nolink_bfd_link_add_symbols): Likewise.
699 (_bfd_nolink_bfd_link_just_syms): Likewise.
700 (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise.
701 (_bfd_nolink_bfd_final_link): Likewise.
702 (_bfd_nolink_bfd_link_split_section): Likewise.
703 (_bfd_nolink_section_already_linked): Likewise.
704 (_bfd_nolink_bfd_define_common_symbol): Likewise.
705 (_bfd_nolink_bfd_define_start_stop): Likewise.
706 (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise.
707 (_bfd_nodynamic_get_synthetic_symtab): Likewise.
708 (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise.
709 (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise.
710 * libbfd.c (bfd_false_any): New function. Like bfd_false but
711 accepts one or more arguments.
712 (bfd_true_any): Likewise.
713 (bfd_nullvoidptr_any): Likewise.
714 (bfd_0_any): Likewise.
715 (bfd_0u_any): Likewise.
716 (bfd_0l_any): Likewise.
717 (_bfd_n1_any): Likewise.
718 (bfd_void_any): Likewise.
719 * libbfd.h (extern): Regenerate
720 * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg
721 based dummy function.
722 * aout-tic30.c (tic30_aout_set_arch_mach): Likewise.
723 * binary.c (binary_get_symbol_info): Likewise.
724 * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
725 * coff-mips.c (mips_ecoff_backend_data): Likewise.
726 * coffcode.h (coff_set_alignment_hook): Likewise.
727 (symname_in_debug_hook): Likewise.
728 (bfd_coff_backend_data bigobj_swap_table): Likewise.
729 * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise.
730 * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise.
731 * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise.
732 * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise.
733 * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise.
734 * elf32-score.c (elf_backend_omit_section_dynsym): Likewise.
735 * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise.
736 * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise.
737 * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise.
738 * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise.
739 * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise.
740 * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise.
741 * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise.
742 * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise.
743 * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise.
744 * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise.
745 (bfd_elfNN_bfd_make_debug_symbol): Likewise.
746 (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
747 (bfd_elfNN_bfd_set_private_flags): Likewise.
748 (bfd_elfNN_bfd_is_target_special_symbol): Likewise.
749 (elf_backend_init_index_section): Likewise.
750 (elf_backend_allow_non_load_phdr): Likewise.
751 * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise.
752 * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise.
753 * ieee.c (ieee_construct_extended_name_table): Likewise.
754 (ieee_write_armap): Likewise.
755 (ieee_write_ar_hdr): Likewise.
756 (ieee_bfd_is_target_special_symbol): Likewise.
757 * ihex.c (ihex_canonicalize_symtab): Likewise.
758 (ihex_bfd_is_target_special_symbol): Likewise.
759 * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise.
760 * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise.
761 (_bfd_ecoff_set_alignment_hook): Likewise.
762 * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise.
763 * mmo.c (mmo_bfd_is_target_special_symbol): Likewise.
764 * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise.
765 * oasys.c (oasys_construct_extended_name_table): Likewise.
766 (oasys_write_armap): Likewise.
767 (oasys_write_ar_hdr): Likewise.
768 (oasys_bfd_is_target_special_symbol): Likewise.
769 * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise.
770 * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise.
771 * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise.
772 * som.c (som_bfd_is_target_special_symbol): Likewise.
773 * srec.c (srec_bfd_is_target_special_symbol): Likewise.
774 * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise.
775 * verilog.c (verilog_bfd_is_target_special_symbol): Likewise.
776 * versados.c (versados_bfd_is_target_special_symbol): Likewise.
777 (versados_bfd_reloc_name_lookup): Likewise.
778 * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise.
779 (vms_bfd_define_start_stop): Likewise.
780 (alpha_vms_bfd_is_target_special_symbol): Likewise.
781 * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise.
782 * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise.
783 * elf32-arc.c (get_replace_function): Assign replacement function
784 to func pointer.
785 * elf32-i370.c (i370_noop): Update prototype.
786
6e5e9d58
AM
7872018-02-13 Alan Modra <amodra@gmail.com>
788
789 PR 22836
790 * elf.c (_bfd_elf_fixup_group_sections): Account for removed
791 relocation sections. If size reduces to just the flag word,
792 remove that too and mark with SEC_EXCLUDE.
793 * elflink.c (bfd_elf_final_link): Strip empty group sections.
794
f2731e0c
AM
7952018-02-13 Alan Modra <amodra@gmail.com>
796
797 PR 22829
798 * elf.c (assign_file_positions_for_non_load_sections): Rewrite
799 PT_GNU_RELRO setup.
800
830db048
ZF
8012018-02-12 Zebediah Figura <z.figura12@gmail.com>
802
803 * i386msdos.c (msdos_mkobject); New function.
804 (msdos_object_p): New function.
805 (i386_msdos_vec): Use msdos_object_p as the check_format
806 function.
807 * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and
808 NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and
809 IMAGE_NT_SIGNATURE.
810 * peXXigen.c: Likewise.
811 * coff-ia64.c: Likewise.
812
94fe5757
NC
8132018-02-12 Nick Clifton <nickc@redhat.com>
814
815 * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant
816 assignment.
0b8683b7 817 * elf32-arc.c (elf_arc_relocate_section): Likewise.
94fe5757 818
d805612e 8192018-02-09 Eric Botcazou <ebotcazou@adacore.com>
a8735c82
EB
820
821 * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions.
822 (sparc_elf_append_rela): Assert that there is enough room in section.
823 (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting.
824 (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak.
825 (allocate_dynrelocs): Remove outdated comments and reorder conditions.
826 For a symbol subject to a GOT relocation, reserve a slot in the
827 relocation section if the symbol isn't dynamic and we are in PIC mode.
828 (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: If relocation
829 is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation.
830 <R_SPARC_GOTDATA_OP_HIX22>: Adjust comments.
831 <R_SPARC_PC10>: Reorder conditions. Remove always-false assertion.
832 (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into
833 resolved_to_zero. Do not generate a dynamic GOT relocation for an
834 undefined weak symbol with non-default visibility. Remove superfluous
835 'else' and fix formatting.
836
3b4c3844
L
8372018-02-09 H.J. Lu <hongjiu.lu@intel.com>
838
839 * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle
840 is_solaris.
841 (i386_elf32_sol2_vec): Don't declare.
842 (elf_i386_link_setup_gnu_properties): Also handle is_solaris.
843 Don't set need_global_offset_table.
844 (elf_i386_solaris_arch_bed): New.
845 (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for
846 Solaris.
847 * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check
848 target_os != is_nacl instead of target_os == is_normal.
849 (x86_64_elf64_sol2_vec): Don't declare.
850 (elf_x86_64_link_setup_gnu_properties): Check target_os !=
851 is_nacl instead of target_os == is_normal. Don't set
852 need_global_offset_table.
853 (elf_x86_64_solaris_arch_bed): New.
854 (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for
855 Solaris.
856 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep
857 _GLOBAL_OFFSET_TABLE_ for Solaris.
858 (_bfd_x86_elf_link_setup_gnu_properties): Don't copy
859 need_global_offset_table.
860 * elfxx-x86.h (elf_x86_target_os): Add is_solaris.
861 (elf_x86_link_hash_table): Remove need_global_offset_table.
862 (elf_x86_init_table): Likewise.
863
15b23f36
L
8642018-02-08 H.J. Lu <hongjiu.lu@intel.com>
865
866 * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
867 Remove prototype.
868 (i386_elf32_sol2_vec): Declared.
869 (elf_i386_link_setup_gnu_properties): Set
870 need_global_offset_table with info->output_bfd->xvec.
871 * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
872 Remove prototype.
873 (x86_64_elf64_sol2_vec): Declared.
874 (elf_x86_64_link_setup_gnu_properties): Set
875 need_global_offset_table with info->output_bfd->xvec.
876
dc11dea2
L
8772018-02-08 H.J. Lu <hongjiu.lu@intel.com>
878
879 * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields):
880 New prototype.
881 (elf_i386_link_setup_gnu_properties): Set need_global_offset_table
882 for Solaris.
883 * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields):
884 New prototype.
885 (elf_x86_64_link_setup_gnu_properties): Set
886 need_global_offset_table for Solaris.
887 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the
888 unused _GLOBAL_OFFSET_TABLE_ for Solaris.
889 (_bfd_x86_elf_link_setup_gnu_properties): Copy
890 need_global_offset_table.
891 * elfxx-x86.h (elf_x86_link_hash_table): Add
892 need_global_offset_table.
893 (elf_x86_init_table): Likewise.
894
3f48fe4a
JW
8952018-02-08 Jim Wilson <jimw@sifive.com>
896
897 * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
898 change.
899
ef135d43
NC
9002018-02-08 Nick Clifton <nickc@redhat.com>
901
902 PR 22788
903 * elf.c (elf_parse_notes): Reject notes with excessuively large
904 alignments.
905
407aa07c
AM
9062018-02-07 Alan Modra <amodra@gmail.com>
907
908 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
909 * elf32-ppc.c: Remove speculation barrier support.
910 * elf32-ppc.h: Likewise.
911 * elf64-ppc.c: Likewise.
912 * elf64-ppc.h: Likewise.
913
ed01220c
JW
9142018-02-06 Jim Wilson <jimw@sifive.com>
915
916 * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
917 callback to report an error.
918
c20c30f6
EB
9192018-02-06 Eric Botcazou <ebotcazou@adacore.com>
920
921 PR ld/22263
922 * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic
923 into call to !bfd_link_executable and tidy up.
924 (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up.
925 <R_SPARC_TLS_LE_HIX22>: Turn call to bfd_link_pic into call to
926 !bfd_link_executable.
927 <R_SPARC_TLS_IE_HI22>: Likewise.
928 <GOT relocations>: Remove useless code, tidy and merge related blocks.
929 <R_SPARC_TLS_GD_CALL>: Turn call to bfd_link_pic into call to
930 !bfd_link_executable.
931 <R_SPARC_WPLT30>: Tidy up.
932 (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to
933 !bfd_link_executable.
934 (allocate_dynrelocs): Likewise.
935 (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up.
936 <R_SPARC_TLS_GD_HI22>: Merge into...
937 <R_SPARC_TLS_GD_LO10>: ...this. Adjust 4th argument in call to
938 sparc_elf_tls_transition and remove redundant code.
939 <R_SPARC_TLS_LDM_HI22>: Turn call to bfd_link_pic into call to
940 !bfd_link_executable.
941 <R_SPARC_TLS_LDO_HIX22>: Likewise.
942 <R_SPARC_TLS_LE_HIX22>: Likewise. Tidy up.
943 <R_SPARC_TLS_LDM_CALL>: Likewise.
944 <R_SPARC_TLS_GD_CALL>: Likewise. Tidy up.
945 <R_SPARC_TLS_GD_ADD>: Likewise.
946 <R_SPARC_TLS_LDM_ADD>: Likewise.
947 <R_SPARC_TLS_LDO_ADD>: Likewise.
948 <R_SPARC_TLS_IE_LD>: Likewise.
949
46d09186
NC
9502018-02-06 Miloš Stojanović <milos.stojanovic@rt-rk.com>
951
952 PR 22789
953 * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf
954 functions failed to find the function name, try the generic elf
955 find function instead.
956
8278e7ce
SDJ
9572018-02-06 Sergio Durigan Junior <sergiodj@redhat.com>
958
959 * coff-rs6000.c (xcoff_write_archive_contents_old): Use
960 'memcpy' instead of 'strncpy' when writing the magic number.
961
64e234d4
NC
9622018-02-06 Nick Clifton <nickc@redhat.com>
963
964 PR 22794
965 * opncls.c (bfd_get_debug_link_info_1): Check the size of the
966 section before attempting to read it in.
967 (bfd_get_alt_debug_link_info): Likewise.
968
422f3d3d
PC
9692018-02-06 Paul Carroll <pcarroll@codesourcery.com>
970
971 * bfd/dwarf2.c (find_abstract_name): Modified to return file and
972 line information in addition to name, if they can be found.
973
279b2f94
RL
9742018-02-05 Renlin Li <renlin.li@arm.com>
975
976 PR ld/22764
977 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the
978 R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
979 check for writeable section as well.
980
cd048363
L
9812018-02-05 H.J. Lu <hongjiu.lu@intel.com>
982
983 PR ld/22782
984 * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if
985 _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve
986 undefined weak symbol to 0.
987 * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced
988 if _GLOBAL_OFFSET_TABLE_ is referenced.
989 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check
990 got_referenced instead of ref_regular_nonweak. Remove the
991 unused _GLOBAL_OFFSET_TABLE_ from symbol table.
992 * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced.
993
e65b1a78
MR
9942018-02-05 Maciej W. Rozycki <macro@mips.com>
995
996 * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to
997 initialize `hi_reloc'.
998
2d6dda71
MR
9992018-02-05 Maciej W. Rozycki <macro@mips.com>
1000
1001 * elfxx-mips.c (_bfd_mips_elf_section_processing): For
1002 SHT_MIPS_REGINFO sections don't assert the correct size and
1003 report an error instead.
1004
75506100
MR
10052018-02-05 Maciej W. Rozycki <macro@mips.com>
1006
1007 * elf.c (_bfd_elf_write_object_contents): Propagate a failure
1008 status from `->elf_backend_section_processing'.
1009
7f02625e
JW
10102018-02-02 Jim Wilson <jimw@sifive.com>
1011
1012 PR ld/22756
1013 * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
1014 If link_info->wrap_hash, check for a duplicate symbol and ignore.
1015 (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
1016 Pass new argument to riscv_relax_delete_bytes.
1017 (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
1018 ATTRIBUTE_UNUSED from link_info parameter.
1019
d830549d
AM
10202018-02-02 Alan Modra <amodra@gmail.com>
1021
1022 * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
1023 emitted for toc sequence optimization. Set and use "howto" later.
1024
e99955cd
SM
10252018-02-01 Simon Marchi <simon.marchi@ericsson.com>
1026
1027 * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer
1028 arithmetic on NULL pointer.
1029 * elflink.c (_bfd_elf_archive_symbol_lookup,
1030 elf_link_add_archive_symbols): Likewise.
1031
bf3077a6
MM
10322018-01-31 Michael Matz <matz@suse.de>
1033
1034 * elflink.c (bfd_elf_define_start_stop): Fix check of
1035 def_dynamic.
1036
823143c6
L
10372018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 PR ld/21964
1040 * elflink.c (bfd_elf_define_start_stop): Check if __start and
1041 __stop symbols are referenced by shared objects.
1042
76cb3a89
AM
10432018-01-30 Alan Modra <amodra@gmail.com>
1044
1045 PR 22758
1046 * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
1047 segment when demand paged with lma on the same page. Test this
1048 before load/non-load, executable/non-executable,
1049 writable/non-writable tests and simplify. Delete bogus relro
1050 condition in writable/non-writable test. Delete outdated
1051 comment. Formatting.
1052
36b8fda5
AM
10532018-01-30 Alan Modra <amodra@gmail.com>
1054
1055 * elflink.c (bfd_elf_define_start_stop): Make __start and __stop
1056 symbols dynamic.
1057
eb77f6a4
AM
10582018-01-29 Alan Modra <amodra@gmail.com>
1059
1060 PR 22741
1061 * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
1062 range before converting to a symbol table pointer.
1063
7d73b4c8
NC
10642018-01-27 Nick Clifton <nickc@redhat.com>
1065
1066 * po/ru.po: Updated Russian translation.
1067
32253bb7
AM
10682018-01-26 Alan Modra <amodra@gmail.com>
1069
1070 * elflink.c (bfd_elf_define_start_stop): Override symbols when
1071 they are defined dynamically.
1072
ba21f564
AM
10732018-01-26 Alan Modra <amodra@gmail.com>
1074
1075 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
1076 .branch_lt changes size.
1077
38e64b0e
AM
10782018-01-25 Alan Modra <amodra@gmail.com>
1079
1080 PR 22746
1081 * elfcode.h (elf_object_p): Avoid integer overflow.
1082
bb363086
EB
10832018-01-25 Eric Botcazou <ebotcazou@adacore.com>
1084
1085 PR ld/22727
1086 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
1087 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
1088
1089 Revert
1090 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 PR ld/22263
1093 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
1094 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
1095 bfd_link_executable for TLS check.
1096 (_bfd_sparc_elf_check_relocs): Likewise.
1097 (allocate_dynrelocs): Likewise.
1098 (_bfd_sparc_elf_relocate_section): Likewise.
1099
1daf502a
RL
11002018-01-24 Renlin Li <renlin.li@arm.com>
1101
1102 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
1103 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1104 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1105 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1106 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1107 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
1108 (_bfd_aarch64_elf_resolve_relocation): Likewise.
1109
32247401
RL
11102018-01-24 Renlin Li <renlin.li@arm.com>
1111
1112 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
1113 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
1114 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
1115 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
1116 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
1117 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1118 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1119 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1120 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1121 * bfd-in2.h: Regenerate.
1122 * libbfd.h: Regenerate.
1123
1c5e4ee9
MR
11242018-01-23 Maciej W. Rozycki <macro@mips.com>
1125
1126 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
1127 `mips_elf32_section_processing' comment reference.
1128
8a1b824a
L
11292018-01-20 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 PR ld/22721
1132 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
1133 versioned __tls_get_addr symbol.
1134
ee3fbc1e
NC
11352018-01-19 Nick Clifton <nickc@redhat.com>
1136
1137 * po/fr.po: Updated French translation.
1138
691d2e9a
AM
11392018-01-18 Alan Modra <amodra@gmail.com>
1140
1141 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
1142 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
1143 (ppc64_elf_build_stubs): Likewise.
1144
4bfce128
NC
11452018-01-17 Nick Clifton <nickc@redhat.com>
1146
1147 * po/ru.po: Updated Russian translation.
1148 * po/uk/po: Updated Ukranian translation.
1149
c75bc4f7
AM
11502018-01-17 Alan Modra <amodra@gmail.com>
1151
1152 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
1153
1be5d8d3
AM
11542018-01-17 Alan Modra <amodra@gmail.com>
1155
1156 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
1157 (CRSETEQ, BEQCTRM): Define.
1158 (is_nonpic_glink_stub): Don't check bctr.
1159 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
1160 (ppc_elf_relax_section): Size speculation barrier.
1161 (output_bctr): New function.
1162 (write_glink_stub): Use output_bctr.
1163 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
1164 (ppc_elf_finish_dynamic_symbol): Likewise.
1165 (ppc_elf_finish_dynamic_sections): Use output_bctr.
1166 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
1167 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
1168 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
1169 (size_global_entry_stubs): Handle speculation barrier sizing.
1170 (plt_stub_size): Likewise.
1171 (output_bctr): New function.
1172 (build_plt_stub, build_tls_get_addr_stub): Output speculation
1173 barrier.
1174 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
1175 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
1176 (build_global_entry_stubs): Output speculation barrier.
1177 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
1178 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
1179
9e390558
AM
11802018-01-17 Alan Modra <amodra@gmail.com>
1181
1182 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
1183 __tls_get_addr_opt, and alignment sizing.
1184 (TLS_GET_ADDR_GLINK_SIZE): Delete.
1185 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
1186 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
1187 or 8 insns.
1188 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
1189 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
1190 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
1191 by PLT reloc count.
1192 (write_glink_stub): Handle __tls_get_addr_opt stub.
1193 Pad out to size given by GLINK_ENTRY_SIZE.
1194 (ppc_elf_relocate_section): Adjust write_glink_stub call.
1195 (ppc_elf_finish_dynamic_symbol): Likewise.
1196 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
1197 insn array since so many need rewriting.
1198 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
1199 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
1200 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
1201 nops. Adjust all uses.
1202 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
1203 in glink_vma calculation.
1204 (struct ppc_link_hash_table): Add global_entry section pointer.
1205 (create_linkage_sections): Create separate section for global
1206 entry stubs.
1207 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
1208 (size_global_entry_stubs): Handle sizing for aligned stubs.
1209 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
1210 and don't stash end of glink branch table in rawsize.
1211 (ppc_build_one_stub): Rewrite stub size calculations.
1212 (build_global_entry_stubs): Use new section.
1213 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
1214 Build lazy link stubs out to end of section. Build global entry
1215 stubs in new section.
1216
616dcb87
NC
12172018-01-15 Nick Clifton <nickc@redhat.com>
1218
1219 * po/uk.po: Updated Ukranian translation.
1220
3957a496
NC
12212018-01-13 Nick Clifton <nickc@redhat.com>
1222
1223 * po/bfd.pot: Regenerated.
1224
769c7ea5
NC
12252018-01-13 Nick Clifton <nickc@redhat.com>
1226
1227 * version.m4: Bump version to 2.30.51
1228 * configure: Regenerate.
1229
faf766e3
NC
12302018-01-13 Nick Clifton <nickc@redhat.com>
1231
1232 2.30 branch created.
1233
564e11c9
JW
12342018-01-12 Jens Widell <jl@opera.com>
1235
1236 * elf.c (setup_group): Optimize search for group by remembering
1237 last found group and restarting search at that index.
1238 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
1239
a78eea16
AM
12402018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1241
1242 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
1243 bfd_link_common_skip_none in switch.
1244
87e79a65
AM
12452018-01-12 Alan Modra <amodra@gmail.com>
1246
1247 PR ld/22649
1248 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
1249 references on forced local symbols.
1250
58807c48
VI
12512018-01-12 Vlad Ivanov <vlad@ivanov.email>
1252
1253 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
1254 .reginfo section has wrong size.
1255
2888249f
L
12562018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 PR ld/22393
1259 * elf.c (_bfd_elf_map_sections_to_segments): When generating
1260 separate code and read-only data LOAD segments, create a new
1261 LOAD segment if the previous section contains text and the
1262 current section doesn't or vice versa. Don't put a writable
1263 section in a read-only segment if there is a RELRO segment.
1264
d664fd41
L
12652018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 PR ld/22649
1268 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
1269 references on forced local symbols.
1270
8b6f4cd3
L
12712018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1272
1273 PR ld/22677
1274 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
1275 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
1276
9c70c522 12772018-01-09 Kuan-Lin Chen <kuanlinchentw@gmail.com>
6cef73f9
KLC
1278
1279 PR 22662
1280 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
1281
ddb2bbcf
JB
12822018-01-03 John Baldwin <jhb@FreeBSD.org>
1283
1284 * elf.c (elfcore_grok_freebsd_note): Handle
1285 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
1286 NT_FREEBSD_PROCSTAT_VMMAP.
1287
219d1afa
AM
12882018-01-03 Alan Modra <amodra@gmail.com>
1289
1290 Update year range in copyright notice of all files.
1291
1e563868 1292For older changes see ChangeLog-2017
3499769a 1293\f
1e563868 1294Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1295
1296Copying and distribution of this file, with or without modification,
1297are permitted in any medium without royalty provided the copyright
1298notice and this notice are preserved.
1299
1300Local Variables:
1301mode: change-log
1302left-margin: 8
1303fill-column: 74
1304version-control: never
1305End:
This page took 0.197842 seconds and 4 git commands to generate.