]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
ubsan: m32c: left shift of negative value
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
85d86817
AM
12020-01-06 Alan Modra <amodra@gmail.com>
2
3 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
4
3e6aa775
AM
52020-01-06 Alan Modra <amodra@gmail.com>
6
7 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
8 command. Check name offset is within command.
9 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
10 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
11 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
12 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
13 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
14 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
15 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
16 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
17 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
18 (bfd_mach_o_read_segment): Similarly.
19 (bfd_mach_o_read_thread): Properly bound check thread struct.
20 Don't repeat checks on second loop.
21 (bfd_mach_o_read_command): Fail on invalid command length.
22
ea933f17
AM
232020-01-04 Alan Modra <amodra@gmail.com>
24
25 * format.c (bfd_check_format_matches): Add preserve_match.
26 Save initial bfd state in "preserve", matched bfd state in
27 "preserve_match". Save just the first match. Release
28 bfd_alloc memory. Restore and finish preserved state as
29 appropriate on all function exit paths.
30
f24bdec4
AM
312020-01-04 Alan Modra <amodra@gmail.com>
32
33 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
34
991fb595
AM
352020-01-04 Alan Modra <amodra@gmail.com>
36
37 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
38 match too.
39
f2a3559d
NC
402020-01-03 Nick Clifton <nickc@redhat.com>
41
42 PR 25307
43 (bfd_pef_parse_function_stubs): Correct the test that ensures that
44 there is enough data remaining in the code buffer before
45 attempting to read a function stub.
46
7a0fb7be
NC
472020-01-03 Nick Clifton <nickc@redhat.com>
48
49 PR 25308
50 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
51 return value from bfd_malloc.
52 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
53 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
54 (elf32_arm_filter_cmse_symbols): Likewise.
55 (elf32_arm_write_section): Likewise.
56 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
57 (bfd_mach_o_follow_dsym): Likewise.
58 * pef.c (bfd_pef_print_loader_section): Likewise.
59 (bfd_pef_scan_start_address): Likewise.
60 (bfd_pef_parse_function_stubs): Likewise.
61 (bfd_pef_parse_symbols): Likewise.
62
b26a3d58
ST
632020-01-03 Sergei Trofimovich <siarheit@google.com>
64
65 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
66 on binary inputs ld/PR25316.
67 (is_ia64_elf): new helper to filter on ia64 objects.
68
4bb7a87e
JB
692020-01-03 Jan Beulich <jbeulich@suse.com>
70
71 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
72 in parameter names.
73 (bfd_mach_o_scan): Insert underscore in two variable names.
74
6655dba2
SB
752020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
76
77 * Makefile.am: Add z80-elf target support.
78 * configure.ac: Likewise.
79 * targets.c: Likewise.
80 * Makefile.in: Regenerate.
81 * configure: Regenerate.
82 * config.bfd: Add z80-elf target support and new arches: ez80 and
83 z180.
84 * elf32-z80.c: New file.
85 * archures.c: Add new z80 architectures: eZ80 and Z180.
86 * coffcode.h: Likewise.
87 * cpu-z80.c: Likewise.
88 * coff-z80.c: Add new relocations for Z80 target and local label
89 check.
90 * reloc.c: Add new relocs.
91 * bfd-in2.h: Regenerate.
92 * libbfd.h: Regenerate.
93
0db131fb
TC
942020-01-02 Tamar Christina <tamar.christina@arm.com>
95
96 PR 25210
97 PR 24753
98 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
99
b14ce8bf
AM
1002020-01-01 Alan Modra <amodra@gmail.com>
101
102 Update year range in copyright notice of all files.
103
0b114740 104For older changes see ChangeLog-2019
3499769a 105\f
0b114740 106Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
107
108Copying and distribution of this file, with or without modification,
109are permitted in any medium without royalty provided the copyright
110notice and this notice are preserved.
111
112Local Variables:
113mode: change-log
114left-margin: 8
115fill-column: 74
116version-control: never
117End: