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