Commit | Line | Data |
---|---|---|
8a1b824a L |
1 | 2018-01-20 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | PR ld/22721 | |
4 | * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the | |
5 | versioned __tls_get_addr symbol. | |
6 | ||
ee3fbc1e NC |
7 | 2018-01-19 Nick Clifton <nickc@redhat.com> |
8 | ||
9 | * po/fr.po: Updated French translation. | |
10 | ||
691d2e9a AM |
11 | 2018-01-18 Alan Modra <amodra@gmail.com> |
12 | ||
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. | |
16 | ||
4bfce128 NC |
17 | 2018-01-17 Nick Clifton <nickc@redhat.com> |
18 | ||
19 | * po/ru.po: Updated Russian translation. | |
20 | * po/uk/po: Updated Ukranian translation. | |
21 | ||
c75bc4f7 AM |
22 | 2018-01-17 Alan Modra <amodra@gmail.com> |
23 | ||
24 | * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning. | |
25 | ||
1be5d8d3 AM |
26 | 2018-01-17 Alan Modra <amodra@gmail.com> |
27 | ||
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 | |
45 | barrier. | |
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. | |
51 | ||
9e390558 AM |
52 | 2018-01-17 Alan Modra <amodra@gmail.com> |
53 | ||
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, | |
59 | or 8 insns. | |
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 | |
63 | by PLT reloc count. | |
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 | |
78 | entry stubs. | |
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 | |
87 | stubs in new section. | |
88 | ||
616dcb87 NC |
89 | 2018-01-15 Nick Clifton <nickc@redhat.com> |
90 | ||
91 | * po/uk.po: Updated Ukranian translation. | |
92 | ||
3957a496 NC |
93 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
94 | ||
95 | * po/bfd.pot: Regenerated. | |
96 | ||
769c7ea5 NC |
97 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
98 | ||
99 | * version.m4: Bump version to 2.30.51 | |
100 | * configure: Regenerate. | |
101 | ||
faf766e3 NC |
102 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
103 | ||
104 | 2.30 branch created. | |
105 | ||
564e11c9 JW |
106 | 2018-01-12 Jens Widell <jl@opera.com> |
107 | ||
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. | |
111 | ||
a78eea16 AM |
112 | 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net> |
113 | ||
114 | * aoutx.h (aout_link_check_ar_symbols): Remove default and handle | |
115 | bfd_link_common_skip_none in switch. | |
116 | ||
87e79a65 AM |
117 | 2018-01-12 Alan Modra <amodra@gmail.com> |
118 | ||
119 | PR ld/22649 | |
120 | * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic | |
121 | references on forced local symbols. | |
122 | ||
58807c48 VI |
123 | 2018-01-12 Vlad Ivanov <vlad@ivanov.email> |
124 | ||
125 | * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when | |
126 | .reginfo section has wrong size. | |
127 | ||
2888249f L |
128 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
129 | ||
130 | PR ld/22393 | |
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. | |
136 | ||
d664fd41 L |
137 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
138 | ||
139 | PR ld/22649 | |
140 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic | |
141 | references on forced local symbols. | |
142 | ||
8b6f4cd3 L |
143 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
144 | ||
145 | PR ld/22677 | |
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. | |
148 | ||
6cef73f9 KLC |
149 | 2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com> |
150 | ||
151 | PR 22662 | |
152 | * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error. | |
153 | ||
ddb2bbcf JB |
154 | 2018-01-03 John Baldwin <jhb@FreeBSD.org> |
155 | ||
156 | * elf.c (elfcore_grok_freebsd_note): Handle | |
157 | NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and | |
158 | NT_FREEBSD_PROCSTAT_VMMAP. | |
159 | ||
219d1afa AM |
160 | 2018-01-03 Alan Modra <amodra@gmail.com> |
161 | ||
162 | Update year range in copyright notice of all files. | |
163 | ||
1e563868 | 164 | For older changes see ChangeLog-2017 |
3499769a | 165 | \f |
1e563868 | 166 | Copyright (C) 2018 Free Software Foundation, Inc. |
3499769a AM |
167 | |
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. | |
171 | ||
172 | Local Variables: | |
173 | mode: change-log | |
174 | left-margin: 8 | |
175 | fill-column: 74 | |
176 | version-control: never | |
177 | End: |