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