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