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