]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Fix valgrind error from gdb.decode_line
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
ef4e5ba5
AM
12020-01-14 Alan Modra <amodra@gmail.com>
2
3 * som.c (som_bfd_count_ar_symbols): Error when file position
4 of symbols on chains is not strictly increasing.
5
8ab484c2
AM
62020-01-14 Alan Modra <amodra@gmail.com>
7
8 * vms.h (VMS_DEBUG): Define as 0.
9 * vms-alpha.c (image_write): Move debug output after bounds check.
10 Tidy bounds check.
11 (_bfd_vms_slurp_eihd): Warning fix.
12 (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings.
13
b50ef514
AM
142020-01-13 Alan Modra <amodra@gmail.com>
15
16 * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even
17 for "ignored" records.
18
0c0adcc5
AM
192020-01-13 Alan Modra <amodra@gmail.com>
20
21 * wasm-module.c (wasm_scan_name_function_section): Formatting.
22 Delete asect name check. Move asect NULL check to wasm_object_p.
23 Correct bounds check of sizes against end. Replace uses of
24 bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use
25 just one bfd_release.
26 (wasm_scan): Don't use malloc/strdup for section names,
27 bfd_alloc instead. Simplify code prefixing section name.
28 Formatting. Don't attempt to free memory here..
29 (wasm_object_p): ..do so here.
30
7f026732
SN
312020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
32
33 PR ld/22269
34 * elf32-arm.c (elf32_arm_final_link_relocate): Use
35 UNDEFWEAK_NO_DYNAMIC_RELOC.
36 (allocate_dynrelocs_for_symbol): Likewise.
37
8cd0e5e9
TC
382020-01-10 Tamar Christina <tamar.christina@arm.com>
39
40 PR 25210
41 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass.
42
71780f45
AM
432020-01-10 Alan Modra <amodra@gmail.com>
44
45 * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type.
46
b899eb3b
NC
472020-01-09 Nick Clifton <nickc@redhat.com>
48
49 PR 25221
50 * bfd.c (bfd_convert_section_contents): Check for a compress
51 header size that is larger than the actual section size.
52
4c6ee646
AM
532020-01-08 Alan Modra <amodra@gmail.com>
54
55 PR 25351
56 * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms
57 after removing sections.
58
85f78364
JW
592020-01-06 Jim Wilson <jimw@sifive.com>
60
61 PR 25205
62 * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
63 check for !bfd_link_pic (info).
64 <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
65 <R_RISCV_JAL>: Add comment.
66 (_bfd_riscv_relax_section): For plt.offset check, add check for
67 bfd_link_pic (info). Add comment.
68
49078ece
AM
692020-01-06 Alan Modra <amodra@gmail.com>
70
71 * format.c (bfd_check_format_matches): Ignore bfd_error on target
72 match failures. Don't init to bfd_error_wrong_format before
73 calling _bfd_check_format.
74
ab356be7
AM
752020-01-06 Alan Modra <amodra@gmail.com>
76
77 * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail
78 status rather than exiting on stack overflow or underflow.
79 (_bfd_vms_slurp_etir): Adjust to suit.
80
85d86817
AM
812020-01-06 Alan Modra <amodra@gmail.com>
82
83 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
84
3e6aa775
AM
852020-01-06 Alan Modra <amodra@gmail.com>
86
87 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
88 command. Check name offset is within command.
89 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
90 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
91 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
92 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
93 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
94 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
95 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
96 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
97 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
98 (bfd_mach_o_read_segment): Similarly.
99 (bfd_mach_o_read_thread): Properly bound check thread struct.
100 Don't repeat checks on second loop.
101 (bfd_mach_o_read_command): Fail on invalid command length.
102
ea933f17
AM
1032020-01-04 Alan Modra <amodra@gmail.com>
104
105 * format.c (bfd_check_format_matches): Add preserve_match.
106 Save initial bfd state in "preserve", matched bfd state in
107 "preserve_match". Save just the first match. Release
108 bfd_alloc memory. Restore and finish preserved state as
109 appropriate on all function exit paths.
110
f24bdec4
AM
1112020-01-04 Alan Modra <amodra@gmail.com>
112
113 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
114
991fb595
AM
1152020-01-04 Alan Modra <amodra@gmail.com>
116
117 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
118 match too.
119
f2a3559d
NC
1202020-01-03 Nick Clifton <nickc@redhat.com>
121
122 PR 25307
123 (bfd_pef_parse_function_stubs): Correct the test that ensures that
124 there is enough data remaining in the code buffer before
125 attempting to read a function stub.
126
7a0fb7be
NC
1272020-01-03 Nick Clifton <nickc@redhat.com>
128
129 PR 25308
130 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
131 return value from bfd_malloc.
132 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
133 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
134 (elf32_arm_filter_cmse_symbols): Likewise.
135 (elf32_arm_write_section): Likewise.
136 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
137 (bfd_mach_o_follow_dsym): Likewise.
138 * pef.c (bfd_pef_print_loader_section): Likewise.
139 (bfd_pef_scan_start_address): Likewise.
140 (bfd_pef_parse_function_stubs): Likewise.
141 (bfd_pef_parse_symbols): Likewise.
142
b26a3d58
ST
1432020-01-03 Sergei Trofimovich <siarheit@google.com>
144
145 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
146 on binary inputs ld/PR25316.
147 (is_ia64_elf): new helper to filter on ia64 objects.
148
4bb7a87e
JB
1492020-01-03 Jan Beulich <jbeulich@suse.com>
150
151 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
152 in parameter names.
153 (bfd_mach_o_scan): Insert underscore in two variable names.
154
6655dba2
SB
1552020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
156
157 * Makefile.am: Add z80-elf target support.
158 * configure.ac: Likewise.
159 * targets.c: Likewise.
160 * Makefile.in: Regenerate.
161 * configure: Regenerate.
162 * config.bfd: Add z80-elf target support and new arches: ez80 and
163 z180.
164 * elf32-z80.c: New file.
165 * archures.c: Add new z80 architectures: eZ80 and Z180.
166 * coffcode.h: Likewise.
167 * cpu-z80.c: Likewise.
168 * coff-z80.c: Add new relocations for Z80 target and local label
169 check.
170 * reloc.c: Add new relocs.
171 * bfd-in2.h: Regenerate.
172 * libbfd.h: Regenerate.
173
0db131fb
TC
1742020-01-02 Tamar Christina <tamar.christina@arm.com>
175
176 PR 25210
177 PR 24753
178 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
179
b14ce8bf
AM
1802020-01-01 Alan Modra <amodra@gmail.com>
181
182 Update year range in copyright notice of all files.
183
0b114740 184For older changes see ChangeLog-2019
3499769a 185\f
0b114740 186Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
187
188Copying and distribution of this file, with or without modification,
189are permitted in any medium without royalty provided the copyright
190notice and this notice are preserved.
191
192Local Variables:
193mode: change-log
194left-margin: 8
195fill-column: 74
196version-control: never
197End: