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