1 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
4 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
5 versioned __tls_get_addr symbol.
7 2018-01-19 Nick Clifton <nickc@redhat.com>
9 * po/fr.po: Updated French translation.
11 2018-01-18 Alan Modra <amodra@gmail.com>
13 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink.
14 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align.
15 (ppc64_elf_build_stubs): Likewise.
17 2018-01-17 Nick Clifton <nickc@redhat.com>
19 * po/ru.po: Updated Russian translation.
20 * po/uk/po: Updated Ukranian translation.
22 2018-01-17 Alan Modra <amodra@gmail.com>
24 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
26 2018-01-17 Alan Modra <amodra@gmail.com>
28 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
29 (CRSETEQ, BEQCTRM): Define.
30 (is_nonpic_glink_stub): Don't check bctr.
31 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
32 (ppc_elf_relax_section): Size speculation barrier.
33 (output_bctr): New function.
34 (write_glink_stub): Use output_bctr.
35 (ppc_elf_relocate_section): Use output_bctr for long branch stub.
36 (ppc_elf_finish_dynamic_symbol): Likewise.
37 (ppc_elf_finish_dynamic_sections): Use output_bctr.
38 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps.
39 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define.
40 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier.
41 (size_global_entry_stubs): Handle speculation barrier sizing.
42 (plt_stub_size): Likewise.
43 (output_bctr): New function.
44 (build_plt_stub, build_tls_get_addr_stub): Output speculation
46 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch.
47 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch.
48 (build_global_entry_stubs): Output speculation barrier.
49 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub.
50 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps.
52 2018-01-17 Alan Modra <amodra@gmail.com>
54 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
55 __tls_get_addr_opt, and alignment sizing.
56 (TLS_GET_ADDR_GLINK_SIZE): Delete.
57 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
58 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
60 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
61 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
62 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
64 (write_glink_stub): Handle __tls_get_addr_opt stub.
65 Pad out to size given by GLINK_ENTRY_SIZE.
66 (ppc_elf_relocate_section): Adjust write_glink_stub call.
67 (ppc_elf_finish_dynamic_symbol): Likewise.
68 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
69 insn array since so many need rewriting.
70 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
71 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
72 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
73 nops. Adjust all uses.
74 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
75 in glink_vma calculation.
76 (struct ppc_link_hash_table): Add global_entry section pointer.
77 (create_linkage_sections): Create separate section for global
79 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
80 (size_global_entry_stubs): Handle sizing for aligned stubs.
81 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
82 and don't stash end of glink branch table in rawsize.
83 (ppc_build_one_stub): Rewrite stub size calculations.
84 (build_global_entry_stubs): Use new section.
85 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
86 Build lazy link stubs out to end of section. Build global entry
89 2018-01-15 Nick Clifton <nickc@redhat.com>
91 * po/uk.po: Updated Ukranian translation.
93 2018-01-13 Nick Clifton <nickc@redhat.com>
95 * po/bfd.pot: Regenerated.
97 2018-01-13 Nick Clifton <nickc@redhat.com>
99 * version.m4: Bump version to 2.30.51
100 * configure: Regenerate.
102 2018-01-13 Nick Clifton <nickc@redhat.com>
106 2018-01-12 Jens Widell <jl@opera.com>
108 * elf.c (setup_group): Optimize search for group by remembering
109 last found group and restarting search at that index.
110 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
112 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
114 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
115 bfd_link_common_skip_none in switch.
117 2018-01-12 Alan Modra <amodra@gmail.com>
120 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
121 references on forced local symbols.
123 2018-01-12 Vlad Ivanov <vlad@ivanov.email>
125 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
126 .reginfo section has wrong size.
128 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
131 * elf.c (_bfd_elf_map_sections_to_segments): When generating
132 separate code and read-only data LOAD segments, create a new
133 LOAD segment if the previous section contains text and the
134 current section doesn't or vice versa. Don't put a writable
135 section in a read-only segment if there is a RELRO segment.
137 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
140 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
141 references on forced local symbols.
143 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
146 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
147 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
149 2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
152 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
154 2018-01-03 John Baldwin <jhb@FreeBSD.org>
156 * elf.c (elfcore_grok_freebsd_note): Handle
157 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
158 NT_FREEBSD_PROCSTAT_VMMAP.
160 2018-01-03 Alan Modra <amodra@gmail.com>
162 Update year range in copyright notice of all files.
164 For older changes see ChangeLog-2017
166 Copyright (C) 2018 Free Software Foundation, Inc.
168 Copying and distribution of this file, with or without modification,
169 are permitted in any medium without royalty provided the copyright
170 notice and this notice are preserved.
176 version-control: never