1 2018-01-29 Alan Modra <amodra@gmail.com>
4 * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
5 range before converting to a symbol table pointer.
7 2018-01-27 Nick Clifton <nickc@redhat.com>
9 * po/ru.po: Updated Russian translation.
11 2018-01-26 Alan Modra <amodra@gmail.com>
13 * elflink.c (bfd_elf_define_start_stop): Override symbols when
14 they are defined dynamically.
16 2018-01-26 Alan Modra <amodra@gmail.com>
18 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when
19 .branch_lt changes size.
21 2018-01-25 Alan Modra <amodra@gmail.com>
24 * elfcode.h (elf_object_p): Avoid integer overflow.
26 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
29 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>:
30 Do a mere lookup of the __tls_get_addr symbol instead of adding it.
33 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
36 * elfxx-sparc.c (sparc_elf_tls_transition): Replace
37 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
38 bfd_link_executable for TLS check.
39 (_bfd_sparc_elf_check_relocs): Likewise.
40 (allocate_dynrelocs): Likewise.
41 (_bfd_sparc_elf_relocate_section): Likewise.
43 2018-01-24 Renlin Li <renlin.li@arm.com>
45 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for
46 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
47 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
48 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
49 BFD_RELOC_AARCH64_MOVW_PREL_G3.
50 * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
51 (_bfd_aarch64_elf_resolve_relocation): Likewise.
53 2018-01-24 Renlin Li <renlin.li@arm.com>
55 * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
56 BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
57 BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
58 BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
59 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
60 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
61 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
62 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
63 BFD_RELOC_AARCH64_MOVW_PREL_G3.
64 * bfd-in2.h: Regenerate.
65 * libbfd.h: Regenerate.
67 2018-01-23 Maciej W. Rozycki <macro@mips.com>
69 * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale
70 `mips_elf32_section_processing' comment reference.
72 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
75 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
76 versioned __tls_get_addr symbol.
78 2018-01-19 Nick Clifton <nickc@redhat.com>
80 * po/fr.po: Updated French translation.
82 2018-01-18 Alan Modra <amodra@gmail.com>
84 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
85 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
86 (ppc64_elf_build_stubs): Likewise.
88 2018-01-17 Nick Clifton <nickc@redhat.com>
90 * po/ru.po: Updated Russian translation.
91 * po/uk/po: Updated Ukranian translation.
93 2018-01-17 Alan Modra <amodra@gmail.com>
95 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
97 2018-01-17 Alan Modra <amodra@gmail.com>
99 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
100 (CRSETEQ, BEQCTRM): Define.
101 (is_nonpic_glink_stub): Don't check bctr.
102 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
103 (ppc_elf_relax_section): Size speculation barrier.
104 (output_bctr): New function.
105 (write_glink_stub): Use output_bctr.
106 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
107 (ppc_elf_finish_dynamic_symbol): Likewise.
108 (ppc_elf_finish_dynamic_sections): Use output_bctr.
109 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
110 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
111 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
112 (size_global_entry_stubs): Handle speculation barrier sizing.
113 (plt_stub_size): Likewise.
114 (output_bctr): New function.
115 (build_plt_stub, build_tls_get_addr_stub): Output speculation
117 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
118 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
119 (build_global_entry_stubs): Output speculation barrier.
120 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
121 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
123 2018-01-17 Alan Modra <amodra@gmail.com>
125 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
126 __tls_get_addr_opt, and alignment sizing.
127 (TLS_GET_ADDR_GLINK_SIZE): Delete.
128 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
129 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
131 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
132 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
133 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
135 (write_glink_stub): Handle __tls_get_addr_opt stub.
136 Pad out to size given by GLINK_ENTRY_SIZE.
137 (ppc_elf_relocate_section): Adjust write_glink_stub call.
138 (ppc_elf_finish_dynamic_symbol): Likewise.
139 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
140 insn array since so many need rewriting.
141 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
142 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
143 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
144 nops. Adjust all uses.
145 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
146 in glink_vma calculation.
147 (struct ppc_link_hash_table): Add global_entry section pointer.
148 (create_linkage_sections): Create separate section for global
150 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
151 (size_global_entry_stubs): Handle sizing for aligned stubs.
152 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
153 and don't stash end of glink branch table in rawsize.
154 (ppc_build_one_stub): Rewrite stub size calculations.
155 (build_global_entry_stubs): Use new section.
156 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
157 Build lazy link stubs out to end of section. Build global entry
158 stubs in new section.
160 2018-01-15 Nick Clifton <nickc@redhat.com>
162 * po/uk.po: Updated Ukranian translation.
164 2018-01-13 Nick Clifton <nickc@redhat.com>
166 * po/bfd.pot: Regenerated.
168 2018-01-13 Nick Clifton <nickc@redhat.com>
170 * version.m4: Bump version to 2.30.51
171 * configure: Regenerate.
173 2018-01-13 Nick Clifton <nickc@redhat.com>
177 2018-01-12 Jens Widell <jl@opera.com>
179 * elf.c (setup_group): Optimize search for group by remembering
180 last found group and restarting search at that index.
181 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
183 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
185 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
186 bfd_link_common_skip_none in switch.
188 2018-01-12 Alan Modra <amodra@gmail.com>
191 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
192 references on forced local symbols.
194 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
196 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
197 .reginfo section has wrong size.
199 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
202 * elf.c (_bfd_elf_map_sections_to_segments): When generating
203 separate code and read-only data LOAD segments, create a new
204 LOAD segment if the previous section contains text and the
205 current section doesn't or vice versa. Don't put a writable
206 section in a read-only segment if there is a RELRO segment.
208 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
211 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
212 references on forced local symbols.
214 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
217 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
218 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
220 2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
223 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
225 2018-01-03 John Baldwin <jhb@FreeBSD.org>
227 * elf.c (elfcore_grok_freebsd_note): Handle
228 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
229 NT_FREEBSD_PROCSTAT_VMMAP.
231 2018-01-03 Alan Modra <amodra@gmail.com>
233 Update year range in copyright notice of all files.
235 For older changes see ChangeLog-2017
237 Copyright (C) 2018 Free Software Foundation, Inc.
239 Copying and distribution of this file, with or without modification,
240 are permitted in any medium without royalty provided the copyright
241 notice and this notice are preserved.
247 version-control: never