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