Commit | Line | Data |
---|---|---|
26916852 NC |
1 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * po/pt.po: Updates Portuguese translation. | |
4 | * po/ru.po: Updated Russian translation. | |
5 | * po/uk.po: Updated Ukranian translation. | |
6 | ||
14470f07 L |
7 | 2020-01-20 H.J. Lu <hongjiu.lu@intel.com> |
8 | ||
9 | PR ld/25416 | |
10 | * elf64-x86-64.c (elf_x86_64_check_tls_transition): Support | |
11 | "rex leal x@tlsdesc(%rip), %reg" and "call *x@tlsdesc(%eax)" in | |
12 | X32 mode. | |
13 | (elf_x86_64_relocate_section): In x32 mode, for GDesc -> LE | |
14 | transition, relax "rex leal x@tlsdesc(%rip), %reg" to | |
15 | "rex movl $x@tpoff, %reg", for GDesc -> IE transition, relax | |
16 | "rex leal x@tlsdesc(%rip), %reg" to | |
17 | "rex movl x@gottpoff(%rip), %eax". For both transitions, relax | |
18 | "call *(%eax)" to "nopl (%rax)". | |
19 | ||
b9ca1af6 AM |
20 | 2020-01-20 Alan Modra <amodra@gmail.com> |
21 | ||
22 | * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1), | |
23 | (MTLR_R11): Don't define. | |
24 | (LD_R0_0R3, CMPDI_R0_0): Define. | |
25 | (build_tls_get_addr_stub): Don't use r11 in stub. | |
26 | ||
ed7007c1 AM |
27 | 2020-01-20 Alan Modra <amodra@gmail.com> |
28 | ||
29 | * elf64-ppc.c (ppc_elf_hash_entry): New function, use throughout file. | |
30 | (defined_sym_val, is_tls_get_addr): Likewise. | |
31 | ||
1b1bb2c6 NC |
32 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
33 | ||
34 | * version.m4 (BFD_VERSION): Set to 2.34.50. | |
35 | * configure: Regenerate. | |
36 | * po/bfd.pot: Regenerate. | |
37 | ||
ae774686 NC |
38 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
39 | ||
40 | Binutils 2.34 branch created. | |
41 | ||
07f1f3aa CB |
42 | 2020-01-17 Christian Biesinger <cbiesinger@google.com> |
43 | ||
44 | * coff-arm.c: Fix spelling error (seperate). | |
45 | * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling | |
46 | error (seperate). | |
47 | * sysdep.h (strnlen): Fix spelling error (seperate). | |
48 | ||
0d1cc75d LB |
49 | 2020-01-15 Lars Brinkhoff <lars@nocrew.org> |
50 | ||
51 | PR 20694 | |
52 | * pdp11.c (TARGET_PAGE_SIZE): Set to 8192. | |
53 | ||
e1c6cf61 AM |
54 | 2020-01-15 Alan Modra <amodra@gmail.com> |
55 | ||
56 | PR 25384 | |
57 | * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment. | |
58 | (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies | |
59 | of function symbols unless dot symbols are present. Do warn | |
60 | whenever one is created, regardles of whether a PLT entry is | |
61 | also emitted for the function symbol. | |
62 | ||
ef4e5ba5 AM |
63 | 2020-01-14 Alan Modra <amodra@gmail.com> |
64 | ||
65 | * som.c (som_bfd_count_ar_symbols): Error when file position | |
66 | of symbols on chains is not strictly increasing. | |
67 | ||
8ab484c2 AM |
68 | 2020-01-14 Alan Modra <amodra@gmail.com> |
69 | ||
70 | * vms.h (VMS_DEBUG): Define as 0. | |
71 | * vms-alpha.c (image_write): Move debug output after bounds check. | |
72 | Tidy bounds check. | |
73 | (_bfd_vms_slurp_eihd): Warning fix. | |
74 | (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings. | |
75 | ||
b50ef514 AM |
76 | 2020-01-13 Alan Modra <amodra@gmail.com> |
77 | ||
78 | * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even | |
79 | for "ignored" records. | |
80 | ||
0c0adcc5 AM |
81 | 2020-01-13 Alan Modra <amodra@gmail.com> |
82 | ||
83 | * wasm-module.c (wasm_scan_name_function_section): Formatting. | |
84 | Delete asect name check. Move asect NULL check to wasm_object_p. | |
85 | Correct bounds check of sizes against end. Replace uses of | |
86 | bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use | |
87 | just one bfd_release. | |
88 | (wasm_scan): Don't use malloc/strdup for section names, | |
89 | bfd_alloc instead. Simplify code prefixing section name. | |
90 | Formatting. Don't attempt to free memory here.. | |
91 | (wasm_object_p): ..do so here. | |
92 | ||
7f026732 SN |
93 | 2020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com> |
94 | ||
95 | PR ld/22269 | |
96 | * elf32-arm.c (elf32_arm_final_link_relocate): Use | |
97 | UNDEFWEAK_NO_DYNAMIC_RELOC. | |
98 | (allocate_dynrelocs_for_symbol): Likewise. | |
99 | ||
8cd0e5e9 TC |
100 | 2020-01-10 Tamar Christina <tamar.christina@arm.com> |
101 | ||
102 | PR 25210 | |
103 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass. | |
104 | ||
71780f45 AM |
105 | 2020-01-10 Alan Modra <amodra@gmail.com> |
106 | ||
107 | * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type. | |
108 | ||
b899eb3b NC |
109 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
110 | ||
111 | PR 25221 | |
112 | * bfd.c (bfd_convert_section_contents): Check for a compress | |
113 | header size that is larger than the actual section size. | |
114 | ||
4c6ee646 AM |
115 | 2020-01-08 Alan Modra <amodra@gmail.com> |
116 | ||
117 | PR 25351 | |
118 | * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms | |
119 | after removing sections. | |
120 | ||
85f78364 JW |
121 | 2020-01-06 Jim Wilson <jimw@sifive.com> |
122 | ||
123 | PR 25205 | |
124 | * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add | |
125 | check for !bfd_link_pic (info). | |
126 | <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL. | |
127 | <R_RISCV_JAL>: Add comment. | |
128 | (_bfd_riscv_relax_section): For plt.offset check, add check for | |
129 | bfd_link_pic (info). Add comment. | |
130 | ||
49078ece AM |
131 | 2020-01-06 Alan Modra <amodra@gmail.com> |
132 | ||
133 | * format.c (bfd_check_format_matches): Ignore bfd_error on target | |
134 | match failures. Don't init to bfd_error_wrong_format before | |
135 | calling _bfd_check_format. | |
136 | ||
ab356be7 AM |
137 | 2020-01-06 Alan Modra <amodra@gmail.com> |
138 | ||
139 | * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail | |
140 | status rather than exiting on stack overflow or underflow. | |
141 | (_bfd_vms_slurp_etir): Adjust to suit. | |
142 | ||
85d86817 AM |
143 | 2020-01-06 Alan Modra <amodra@gmail.com> |
144 | ||
145 | * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index. | |
146 | ||
3e6aa775 AM |
147 | 2020-01-06 Alan Modra <amodra@gmail.com> |
148 | ||
149 | * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of | |
150 | command. Check name offset is within command. | |
151 | (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib), | |
152 | (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints), | |
153 | (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab), | |
154 | (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid), | |
155 | (bfd_mach_o_read_linkedit, bfd_mach_o_read_str), | |
156 | (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min), | |
157 | (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version), | |
158 | (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main), | |
159 | (bfd_mach_o_read_note, bfd_mach_o_read_build_version), | |
160 | (bfd_mach_o_read_segment): Similarly. | |
161 | (bfd_mach_o_read_thread): Properly bound check thread struct. | |
162 | Don't repeat checks on second loop. | |
163 | (bfd_mach_o_read_command): Fail on invalid command length. | |
164 | ||
ea933f17 AM |
165 | 2020-01-04 Alan Modra <amodra@gmail.com> |
166 | ||
167 | * format.c (bfd_check_format_matches): Add preserve_match. | |
168 | Save initial bfd state in "preserve", matched bfd state in | |
169 | "preserve_match". Save just the first match. Release | |
170 | bfd_alloc memory. Restore and finish preserved state as | |
171 | appropriate on all function exit paths. | |
172 | ||
f24bdec4 AM |
173 | 2020-01-04 Alan Modra <amodra@gmail.com> |
174 | ||
175 | * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc. | |
176 | ||
991fb595 AM |
177 | 2020-01-04 Alan Modra <amodra@gmail.com> |
178 | ||
179 | * coffgen.c (coff_real_object_p): Free malloc'd memory on target | |
180 | match too. | |
181 | ||
f2a3559d NC |
182 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
183 | ||
184 | PR 25307 | |
185 | (bfd_pef_parse_function_stubs): Correct the test that ensures that | |
186 | there is enough data remaining in the code buffer before | |
187 | attempting to read a function stub. | |
188 | ||
7a0fb7be NC |
189 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
190 | ||
191 | PR 25308 | |
192 | * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the | |
193 | return value from bfd_malloc. | |
194 | * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. | |
195 | (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise. | |
196 | (elf32_arm_filter_cmse_symbols): Likewise. | |
197 | (elf32_arm_write_section): Likewise. | |
198 | * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. | |
199 | (bfd_mach_o_follow_dsym): Likewise. | |
200 | * pef.c (bfd_pef_print_loader_section): Likewise. | |
201 | (bfd_pef_scan_start_address): Likewise. | |
202 | (bfd_pef_parse_function_stubs): Likewise. | |
203 | (bfd_pef_parse_symbols): Likewise. | |
204 | ||
b26a3d58 ST |
205 | 2020-01-03 Sergei Trofimovich <siarheit@google.com> |
206 | ||
207 | * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail | |
208 | on binary inputs ld/PR25316. | |
209 | (is_ia64_elf): new helper to filter on ia64 objects. | |
210 | ||
4bb7a87e JB |
211 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
212 | ||
213 | * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore | |
214 | in parameter names. | |
215 | (bfd_mach_o_scan): Insert underscore in two variable names. | |
216 | ||
6655dba2 SB |
217 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
218 | ||
219 | * Makefile.am: Add z80-elf target support. | |
220 | * configure.ac: Likewise. | |
221 | * targets.c: Likewise. | |
222 | * Makefile.in: Regenerate. | |
223 | * configure: Regenerate. | |
224 | * config.bfd: Add z80-elf target support and new arches: ez80 and | |
225 | z180. | |
226 | * elf32-z80.c: New file. | |
227 | * archures.c: Add new z80 architectures: eZ80 and Z180. | |
228 | * coffcode.h: Likewise. | |
229 | * cpu-z80.c: Likewise. | |
230 | * coff-z80.c: Add new relocations for Z80 target and local label | |
231 | check. | |
232 | * reloc.c: Add new relocs. | |
233 | * bfd-in2.h: Regenerate. | |
234 | * libbfd.h: Regenerate. | |
235 | ||
0db131fb TC |
236 | 2020-01-02 Tamar Christina <tamar.christina@arm.com> |
237 | ||
238 | PR 25210 | |
239 | PR 24753 | |
240 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class. | |
241 | ||
b14ce8bf AM |
242 | 2020-01-01 Alan Modra <amodra@gmail.com> |
243 | ||
244 | Update year range in copyright notice of all files. | |
245 | ||
0b114740 | 246 | For older changes see ChangeLog-2019 |
3499769a | 247 | \f |
0b114740 | 248 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
249 | |
250 | Copying and distribution of this file, with or without modification, | |
251 | are permitted in any medium without royalty provided the copyright | |
252 | notice and this notice are preserved. | |
253 | ||
254 | Local Variables: | |
255 | mode: change-log | |
256 | left-margin: 8 | |
257 | fill-column: 74 | |
258 | version-control: never | |
259 | End: |