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