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