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