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