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