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