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