PowerPC PLT stub tidy
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
9e390558
AM
12018-01-17 Alan Modra <amodra@gmail.com>
2
3 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle
4 __tls_get_addr_opt, and alignment sizing.
5 (TLS_GET_ADDR_GLINK_SIZE): Delete.
6 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE.
7 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6,
8 or 8 insns.
9 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field.
10 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE.
11 (ppc_elf_size_dynamic_sections): Likewise. Size branch table
12 by PLT reloc count.
13 (write_glink_stub): Handle __tls_get_addr_opt stub.
14 Pad out to size given by GLINK_ENTRY_SIZE.
15 (ppc_elf_relocate_section): Adjust write_glink_stub call.
16 (ppc_elf_finish_dynamic_symbol): Likewise.
17 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using
18 insn array since so many need rewriting.
19 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align.
20 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from
21 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without
22 nops. Adjust all uses.
23 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE
24 in glink_vma calculation.
25 (struct ppc_link_hash_table): Add global_entry section pointer.
26 (create_linkage_sections): Create separate section for global
27 entry stubs.
28 (PPC_LO, PPC_HI, PPC_HA): Move earlier.
29 (size_global_entry_stubs): Handle sizing for aligned stubs.
30 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc,
31 and don't stash end of glink branch table in rawsize.
32 (ppc_build_one_stub): Rewrite stub size calculations.
33 (build_global_entry_stubs): Use new section.
34 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops.
35 Build lazy link stubs out to end of section. Build global entry
36 stubs in new section.
37
616dcb87
NC
382018-01-15 Nick Clifton <nickc@redhat.com>
39
40 * po/uk.po: Updated Ukranian translation.
41
3957a496
NC
422018-01-13 Nick Clifton <nickc@redhat.com>
43
44 * po/bfd.pot: Regenerated.
45
769c7ea5
NC
462018-01-13 Nick Clifton <nickc@redhat.com>
47
48 * version.m4: Bump version to 2.30.51
49 * configure: Regenerate.
50
faf766e3
NC
512018-01-13 Nick Clifton <nickc@redhat.com>
52
53 2.30 branch created.
54
564e11c9
JW
552018-01-12 Jens Widell <jl@opera.com>
56
57 * elf.c (setup_group): Optimize search for group by remembering
58 last found group and restarting search at that index.
59 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
60
a78eea16
AM
612018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
62
63 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
64 bfd_link_common_skip_none in switch.
65
87e79a65
AM
662018-01-12 Alan Modra <amodra@gmail.com>
67
68 PR ld/22649
69 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
70 references on forced local symbols.
71
58807c48
VI
722018-01-12 Vlad Ivanov <vlad@ivanov.email>
73
74 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
75 .reginfo section has wrong size.
76
2888249f
L
772018-01-11 H.J. Lu <hongjiu.lu@intel.com>
78
79 PR ld/22393
80 * elf.c (_bfd_elf_map_sections_to_segments): When generating
81 separate code and read-only data LOAD segments, create a new
82 LOAD segment if the previous section contains text and the
83 current section doesn't or vice versa. Don't put a writable
84 section in a read-only segment if there is a RELRO segment.
85
d664fd41
L
862018-01-11 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR ld/22649
89 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
90 references on forced local symbols.
91
8b6f4cd3
L
922018-01-11 H.J. Lu <hongjiu.lu@intel.com>
93
94 PR ld/22677
95 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
96 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
97
6cef73f9
KLC
982017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
99
100 PR 22662
101 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
102
ddb2bbcf
JB
1032018-01-03 John Baldwin <jhb@FreeBSD.org>
104
105 * elf.c (elfcore_grok_freebsd_note): Handle
106 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
107 NT_FREEBSD_PROCSTAT_VMMAP.
108
219d1afa
AM
1092018-01-03 Alan Modra <amodra@gmail.com>
110
111 Update year range in copyright notice of all files.
112
1e563868 113For older changes see ChangeLog-2017
3499769a 114\f
1e563868 115Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
116
117Copying and distribution of this file, with or without modification,
118are permitted in any medium without royalty provided the copyright
119notice and this notice are preserved.
120
121Local Variables:
122mode: change-log
123left-margin: 8
124fill-column: 74
125version-control: never
126End:
This page took 0.151763 seconds and 4 git commands to generate.