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