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