| 1 | 2020-01-17 Christian Biesinger <cbiesinger@google.com> |
| 2 | |
| 3 | * coff-arm.c: Fix spelling error (seperate). |
| 4 | * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling |
| 5 | error (seperate). |
| 6 | * sysdep.h (strnlen): Fix spelling error (seperate). |
| 7 | |
| 8 | 2020-01-15 Lars Brinkhoff <lars@nocrew.org> |
| 9 | |
| 10 | PR 20694 |
| 11 | * pdp11.c (TARGET_PAGE_SIZE): Set to 8192. |
| 12 | |
| 13 | 2020-01-15 Alan Modra <amodra@gmail.com> |
| 14 | |
| 15 | PR 25384 |
| 16 | * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment. |
| 17 | (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies |
| 18 | of function symbols unless dot symbols are present. Do warn |
| 19 | whenever one is created, regardles of whether a PLT entry is |
| 20 | also emitted for the function symbol. |
| 21 | |
| 22 | 2020-01-14 Alan Modra <amodra@gmail.com> |
| 23 | |
| 24 | * som.c (som_bfd_count_ar_symbols): Error when file position |
| 25 | of symbols on chains is not strictly increasing. |
| 26 | |
| 27 | 2020-01-14 Alan Modra <amodra@gmail.com> |
| 28 | |
| 29 | * vms.h (VMS_DEBUG): Define as 0. |
| 30 | * vms-alpha.c (image_write): Move debug output after bounds check. |
| 31 | Tidy bounds check. |
| 32 | (_bfd_vms_slurp_eihd): Warning fix. |
| 33 | (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings. |
| 34 | |
| 35 | 2020-01-13 Alan Modra <amodra@gmail.com> |
| 36 | |
| 37 | * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even |
| 38 | for "ignored" records. |
| 39 | |
| 40 | 2020-01-13 Alan Modra <amodra@gmail.com> |
| 41 | |
| 42 | * wasm-module.c (wasm_scan_name_function_section): Formatting. |
| 43 | Delete asect name check. Move asect NULL check to wasm_object_p. |
| 44 | Correct bounds check of sizes against end. Replace uses of |
| 45 | bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use |
| 46 | just one bfd_release. |
| 47 | (wasm_scan): Don't use malloc/strdup for section names, |
| 48 | bfd_alloc instead. Simplify code prefixing section name. |
| 49 | Formatting. Don't attempt to free memory here.. |
| 50 | (wasm_object_p): ..do so here. |
| 51 | |
| 52 | 2020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com> |
| 53 | |
| 54 | PR ld/22269 |
| 55 | * elf32-arm.c (elf32_arm_final_link_relocate): Use |
| 56 | UNDEFWEAK_NO_DYNAMIC_RELOC. |
| 57 | (allocate_dynrelocs_for_symbol): Likewise. |
| 58 | |
| 59 | 2020-01-10 Tamar Christina <tamar.christina@arm.com> |
| 60 | |
| 61 | PR 25210 |
| 62 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass. |
| 63 | |
| 64 | 2020-01-10 Alan Modra <amodra@gmail.com> |
| 65 | |
| 66 | * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type. |
| 67 | |
| 68 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
| 69 | |
| 70 | PR 25221 |
| 71 | * bfd.c (bfd_convert_section_contents): Check for a compress |
| 72 | header size that is larger than the actual section size. |
| 73 | |
| 74 | 2020-01-08 Alan Modra <amodra@gmail.com> |
| 75 | |
| 76 | PR 25351 |
| 77 | * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms |
| 78 | after removing sections. |
| 79 | |
| 80 | 2020-01-06 Jim Wilson <jimw@sifive.com> |
| 81 | |
| 82 | PR 25205 |
| 83 | * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add |
| 84 | check for !bfd_link_pic (info). |
| 85 | <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL. |
| 86 | <R_RISCV_JAL>: Add comment. |
| 87 | (_bfd_riscv_relax_section): For plt.offset check, add check for |
| 88 | bfd_link_pic (info). Add comment. |
| 89 | |
| 90 | 2020-01-06 Alan Modra <amodra@gmail.com> |
| 91 | |
| 92 | * format.c (bfd_check_format_matches): Ignore bfd_error on target |
| 93 | match failures. Don't init to bfd_error_wrong_format before |
| 94 | calling _bfd_check_format. |
| 95 | |
| 96 | 2020-01-06 Alan Modra <amodra@gmail.com> |
| 97 | |
| 98 | * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail |
| 99 | status rather than exiting on stack overflow or underflow. |
| 100 | (_bfd_vms_slurp_etir): Adjust to suit. |
| 101 | |
| 102 | 2020-01-06 Alan Modra <amodra@gmail.com> |
| 103 | |
| 104 | * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index. |
| 105 | |
| 106 | 2020-01-06 Alan Modra <amodra@gmail.com> |
| 107 | |
| 108 | * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of |
| 109 | command. Check name offset is within command. |
| 110 | (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib), |
| 111 | (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints), |
| 112 | (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab), |
| 113 | (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid), |
| 114 | (bfd_mach_o_read_linkedit, bfd_mach_o_read_str), |
| 115 | (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min), |
| 116 | (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version), |
| 117 | (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main), |
| 118 | (bfd_mach_o_read_note, bfd_mach_o_read_build_version), |
| 119 | (bfd_mach_o_read_segment): Similarly. |
| 120 | (bfd_mach_o_read_thread): Properly bound check thread struct. |
| 121 | Don't repeat checks on second loop. |
| 122 | (bfd_mach_o_read_command): Fail on invalid command length. |
| 123 | |
| 124 | 2020-01-04 Alan Modra <amodra@gmail.com> |
| 125 | |
| 126 | * format.c (bfd_check_format_matches): Add preserve_match. |
| 127 | Save initial bfd state in "preserve", matched bfd state in |
| 128 | "preserve_match". Save just the first match. Release |
| 129 | bfd_alloc memory. Restore and finish preserved state as |
| 130 | appropriate on all function exit paths. |
| 131 | |
| 132 | 2020-01-04 Alan Modra <amodra@gmail.com> |
| 133 | |
| 134 | * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc. |
| 135 | |
| 136 | 2020-01-04 Alan Modra <amodra@gmail.com> |
| 137 | |
| 138 | * coffgen.c (coff_real_object_p): Free malloc'd memory on target |
| 139 | match too. |
| 140 | |
| 141 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
| 142 | |
| 143 | PR 25307 |
| 144 | (bfd_pef_parse_function_stubs): Correct the test that ensures that |
| 145 | there is enough data remaining in the code buffer before |
| 146 | attempting to read a function stub. |
| 147 | |
| 148 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
| 149 | |
| 150 | PR 25308 |
| 151 | * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the |
| 152 | return value from bfd_malloc. |
| 153 | * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. |
| 154 | (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise. |
| 155 | (elf32_arm_filter_cmse_symbols): Likewise. |
| 156 | (elf32_arm_write_section): Likewise. |
| 157 | * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. |
| 158 | (bfd_mach_o_follow_dsym): Likewise. |
| 159 | * pef.c (bfd_pef_print_loader_section): Likewise. |
| 160 | (bfd_pef_scan_start_address): Likewise. |
| 161 | (bfd_pef_parse_function_stubs): Likewise. |
| 162 | (bfd_pef_parse_symbols): Likewise. |
| 163 | |
| 164 | 2020-01-03 Sergei Trofimovich <siarheit@google.com> |
| 165 | |
| 166 | * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail |
| 167 | on binary inputs ld/PR25316. |
| 168 | (is_ia64_elf): new helper to filter on ia64 objects. |
| 169 | |
| 170 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
| 171 | |
| 172 | * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore |
| 173 | in parameter names. |
| 174 | (bfd_mach_o_scan): Insert underscore in two variable names. |
| 175 | |
| 176 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
| 177 | |
| 178 | * Makefile.am: Add z80-elf target support. |
| 179 | * configure.ac: Likewise. |
| 180 | * targets.c: Likewise. |
| 181 | * Makefile.in: Regenerate. |
| 182 | * configure: Regenerate. |
| 183 | * config.bfd: Add z80-elf target support and new arches: ez80 and |
| 184 | z180. |
| 185 | * elf32-z80.c: New file. |
| 186 | * archures.c: Add new z80 architectures: eZ80 and Z180. |
| 187 | * coffcode.h: Likewise. |
| 188 | * cpu-z80.c: Likewise. |
| 189 | * coff-z80.c: Add new relocations for Z80 target and local label |
| 190 | check. |
| 191 | * reloc.c: Add new relocs. |
| 192 | * bfd-in2.h: Regenerate. |
| 193 | * libbfd.h: Regenerate. |
| 194 | |
| 195 | 2020-01-02 Tamar Christina <tamar.christina@arm.com> |
| 196 | |
| 197 | PR 25210 |
| 198 | PR 24753 |
| 199 | * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class. |
| 200 | |
| 201 | 2020-01-01 Alan Modra <amodra@gmail.com> |
| 202 | |
| 203 | Update year range in copyright notice of all files. |
| 204 | |
| 205 | For older changes see ChangeLog-2019 |
| 206 | \f |
| 207 | Copyright (C) 2020 Free Software Foundation, Inc. |
| 208 | |
| 209 | Copying and distribution of this file, with or without modification, |
| 210 | are permitted in any medium without royalty provided the copyright |
| 211 | notice and this notice are preserved. |
| 212 | |
| 213 | Local Variables: |
| 214 | mode: change-log |
| 215 | left-margin: 8 |
| 216 | fill-column: 74 |
| 217 | version-control: never |
| 218 | End: |