Update Ukranian and Russian translations in bfd library
[external/binutils.git] / bfd / ChangeLog
1 2018-01-17  Nick Clifton  <nickc@redhat.com>
2
3         * po/ru.po: Updated Russian translation.
4         * po/uk/po: Updated Ukranian translation.
5
6 2018-01-17  Alan Modra  <amodra@gmail.com>
7
8         * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
9
10 2018-01-17  Alan Modra  <amodra@gmail.com>
11
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
29         barrier.
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.
35
36 2018-01-17  Alan Modra  <amodra@gmail.com>
37
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,
43         or 8 insns.
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
47         by PLT reloc count.
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
62         entry stubs.
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
71         stubs in new section.
72
73 2018-01-15  Nick Clifton  <nickc@redhat.com>
74
75         * po/uk.po: Updated Ukranian translation.
76
77 2018-01-13  Nick Clifton  <nickc@redhat.com>
78
79         * po/bfd.pot: Regenerated.
80
81 2018-01-13  Nick Clifton  <nickc@redhat.com>
82
83         * version.m4: Bump version to 2.30.51
84         * configure: Regenerate.
85
86 2018-01-13  Nick Clifton  <nickc@redhat.com>
87
88         2.30 branch created.
89
90 2018-01-12  Jens Widell  <jl@opera.com>
91
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.
95
96 2018-01-12  Gunther Nikl  <gnikl@users.sourceforge.net>
97
98         * aoutx.h (aout_link_check_ar_symbols): Remove default and handle
99         bfd_link_common_skip_none in switch.
100
101 2018-01-12  Alan Modra  <amodra@gmail.com>
102
103         PR ld/22649
104         * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
105         references on forced local symbols.
106
107 2018-01-12  Vlad Ivanov  <vlad@ivanov.email>
108
109         * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
110         .reginfo section has wrong size.
111
112 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
113
114         PR ld/22393
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.
120
121 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
122
123         PR ld/22649
124         * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
125         references on forced local symbols.
126
127 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
128
129         PR ld/22677
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.
132
133 2017-09-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
134
135         PR 22662
136         * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
137
138 2018-01-03  John Baldwin  <jhb@FreeBSD.org>
139
140         * elf.c (elfcore_grok_freebsd_note): Handle
141         NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
142         NT_FREEBSD_PROCSTAT_VMMAP.
143
144 2018-01-03  Alan Modra  <amodra@gmail.com>
145
146         Update year range in copyright notice of all files.
147
148 For older changes see ChangeLog-2017
149 \f
150 Copyright (C) 2018 Free Software Foundation, Inc.
151
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.
155
156 Local Variables:
157 mode: change-log
158 left-margin: 8
159 fill-column: 74
160 version-control: never
161 End: