| 1 | 2018-02-19 Maciej W. Rozycki <macro@mips.com> |
| 2 | |
| 3 | * section.c (SEC_FIXED_SIZE): New macro. |
| 4 | * bfd-in2.h: Regenerate. |
| 5 | |
| 6 | 2018-02-19 Maciej W. Rozycki <macro@mips.com> |
| 7 | |
| 8 | * section.c (SEC_HAS_GOT_REF): Remove macro. |
| 9 | * bfd-in2.h: Regenerate. |
| 10 | |
| 11 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 12 | |
| 13 | * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler |
| 14 | arguments. |
| 15 | * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise. |
| 16 | * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise. |
| 17 | (_bfd_riscv_relax_pc): Likewise and fix typos. |
| 18 | * libbfd-in.h (_bfd_error_handler): Add attribute printf. |
| 19 | * libbfd.h: Regenerate. |
| 20 | |
| 21 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 22 | |
| 23 | * dwarf2.c (read_section): Don't use 'll' format modifier. |
| 24 | (find_abstract_instance): Likewise. |
| 25 | * elfcore.h (elf_core_file_p): Likewise. |
| 26 | |
| 27 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 28 | |
| 29 | * bfd-in.h: Include inttypes.h or if not available define |
| 30 | PRId64, PRIu64 and PRIx64. |
| 31 | * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L |
| 32 | modifier to print bfd_vma. |
| 33 | * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, |
| 34 | * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c, |
| 35 | * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c, |
| 36 | * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c, |
| 37 | * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c, |
| 38 | * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c, |
| 39 | * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c, |
| 40 | * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c, |
| 41 | * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c, |
| 42 | * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c, |
| 43 | * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c, |
| 44 | * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c, |
| 45 | * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c, |
| 46 | * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c, |
| 47 | * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64, |
| 48 | and cast input to uint64_t, and similarly for Ld and Lu. |
| 49 | * bfd-in2.h: Regenerate. |
| 50 | |
| 51 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 52 | |
| 53 | * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c, |
| 54 | * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c, |
| 55 | * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c, |
| 56 | * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c, |
| 57 | * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c, |
| 58 | * reloc.c: Replace use of %R and %T in format strings passed to |
| 59 | einfo and friends by %pR and %pT. |
| 60 | |
| 61 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 62 | |
| 63 | * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place |
| 64 | of %A and %B. |
| 65 | * aout-adobe.c: Update all messages using %A and %B. |
| 66 | * aout-cris.c: Likewise. |
| 67 | * aoutx.h: Likewise. |
| 68 | * archive.c: Likewise. |
| 69 | * binary.c: Likewise. |
| 70 | * cache.c: Likewise. |
| 71 | * coff-alpha.c: Likewise. |
| 72 | * coff-arm.c: Likewise. |
| 73 | * coff-i860.c: Likewise. |
| 74 | * coff-mcore.c: Likewise. |
| 75 | * coff-ppc.c: Likewise. |
| 76 | * coff-rs6000.c: Likewise. |
| 77 | * coff-sh.c: Likewise. |
| 78 | * coff-tic4x.c: Likewise. |
| 79 | * coff-tic54x.c: Likewise. |
| 80 | * coff-tic80.c: Likewise. |
| 81 | * coff64-rs6000.c: Likewise. |
| 82 | * coffcode.h: Likewise. |
| 83 | * coffgen.c: Likewise. |
| 84 | * cofflink.c: Likewise. |
| 85 | * coffswap.h: Likewise. |
| 86 | * compress.c: Likewise. |
| 87 | * cpu-arm.c: Likewise. |
| 88 | * ecoff.c: Likewise. |
| 89 | * elf-attrs.c: Likewise. |
| 90 | * elf-eh-frame.c: Likewise. |
| 91 | * elf-ifunc.c: Likewise. |
| 92 | * elf-m10300.c: Likewise. |
| 93 | * elf-properties.c: Likewise. |
| 94 | * elf-s390-common.c: Likewise. |
| 95 | * elf.c: Likewise. |
| 96 | * elf32-arc.c: Likewise. |
| 97 | * elf32-arm.c: Likewise. |
| 98 | * elf32-avr.c: Likewise. |
| 99 | * elf32-bfin.c: Likewise. |
| 100 | * elf32-cr16.c: Likewise. |
| 101 | * elf32-cr16c.c: Likewise. |
| 102 | * elf32-cris.c: Likewise. |
| 103 | * elf32-crx.c: Likewise. |
| 104 | * elf32-d10v.c: Likewise. |
| 105 | * elf32-d30v.c: Likewise. |
| 106 | * elf32-epiphany.c: Likewise. |
| 107 | * elf32-fr30.c: Likewise. |
| 108 | * elf32-frv.c: Likewise. |
| 109 | * elf32-gen.c: Likewise. |
| 110 | * elf32-hppa.c: Likewise. |
| 111 | * elf32-i370.c: Likewise. |
| 112 | * elf32-i386.c: Likewise. |
| 113 | * elf32-i960.c: Likewise. |
| 114 | * elf32-ip2k.c: Likewise. |
| 115 | * elf32-iq2000.c: Likewise. |
| 116 | * elf32-lm32.c: Likewise. |
| 117 | * elf32-m32c.c: Likewise. |
| 118 | * elf32-m32r.c: Likewise. |
| 119 | * elf32-m68hc11.c: Likewise. |
| 120 | * elf32-m68hc12.c: Likewise. |
| 121 | * elf32-m68hc1x.c: Likewise. |
| 122 | * elf32-m68k.c: Likewise. |
| 123 | * elf32-mcore.c: Likewise. |
| 124 | * elf32-mep.c: Likewise. |
| 125 | * elf32-metag.c: Likewise. |
| 126 | * elf32-microblaze.c: Likewise. |
| 127 | * elf32-moxie.c: Likewise. |
| 128 | * elf32-msp430.c: Likewise. |
| 129 | * elf32-mt.c: Likewise. |
| 130 | * elf32-nds32.c: Likewise. |
| 131 | * elf32-nios2.c: Likewise. |
| 132 | * elf32-or1k.c: Likewise. |
| 133 | * elf32-pj.c: Likewise. |
| 134 | * elf32-ppc.c: Likewise. |
| 135 | * elf32-rl78.c: Likewise. |
| 136 | * elf32-rx.c: Likewise. |
| 137 | * elf32-s390.c: Likewise. |
| 138 | * elf32-score.c: Likewise. |
| 139 | * elf32-score7.c: Likewise. |
| 140 | * elf32-sh-symbian.c: Likewise. |
| 141 | * elf32-sh.c: Likewise. |
| 142 | * elf32-sh64.c: Likewise. |
| 143 | * elf32-sparc.c: Likewise. |
| 144 | * elf32-spu.c: Likewise. |
| 145 | * elf32-tic6x.c: Likewise. |
| 146 | * elf32-tilepro.c: Likewise. |
| 147 | * elf32-v850.c: Likewise. |
| 148 | * elf32-vax.c: Likewise. |
| 149 | * elf32-visium.c: Likewise. |
| 150 | * elf32-wasm32.c: Likewise. |
| 151 | * elf32-xgate.c: Likewise. |
| 152 | * elf32-xtensa.c: Likewise. |
| 153 | * elf64-alpha.c: Likewise. |
| 154 | * elf64-gen.c: Likewise. |
| 155 | * elf64-hppa.c: Likewise. |
| 156 | * elf64-ia64-vms.c: Likewise. |
| 157 | * elf64-mmix.c: Likewise. |
| 158 | * elf64-ppc.c: Likewise. |
| 159 | * elf64-s390.c: Likewise. |
| 160 | * elf64-sh64.c: Likewise. |
| 161 | * elf64-sparc.c: Likewise. |
| 162 | * elf64-x86-64.c: Likewise. |
| 163 | * elfcode.h: Likewise. |
| 164 | * elfcore.h: Likewise. |
| 165 | * elflink.c: Likewise. |
| 166 | * elfnn-aarch64.c: Likewise. |
| 167 | * elfnn-ia64.c: Likewise. |
| 168 | * elfnn-riscv.c: Likewise. |
| 169 | * elfxx-mips.c: Likewise. |
| 170 | * elfxx-sparc.c: Likewise. |
| 171 | * elfxx-tilegx.c: Likewise. |
| 172 | * elfxx-x86.c: Likewise. |
| 173 | * hpux-core.c: Likewise. |
| 174 | * ieee.c: Likewise. |
| 175 | * ihex.c: Likewise. |
| 176 | * libbfd.c: Likewise. |
| 177 | * linker.c: Likewise. |
| 178 | * mach-o.c: Likewise. |
| 179 | * merge.c: Likewise. |
| 180 | * mmo.c: Likewise. |
| 181 | * oasys.c: Likewise. |
| 182 | * pdp11.c: Likewise. |
| 183 | * pe-mips.c: Likewise. |
| 184 | * peXXigen.c: Likewise. |
| 185 | * peicode.h: Likewise. |
| 186 | * reloc.c: Likewise. |
| 187 | * rs6000-core.c: Likewise. |
| 188 | * srec.c: Likewise. |
| 189 | * stabs.c: Likewise. |
| 190 | * vms-alpha.c: Likewise. |
| 191 | * xcofflink.c: Likewise. |
| 192 | |
| 193 | 2018-02-19 Alan Modra <amodra@gmail.com> |
| 194 | |
| 195 | PR 22845 |
| 196 | * elf.c (IS_TBSS): Define. |
| 197 | (_bfd_elf_map_sections_to_segments): Use IS_TBSS. |
| 198 | (assign_file_positions_for_non_load_sections): Revert last change. |
| 199 | Properly calculate load segment limits to compare against relro limits. |
| 200 | |
| 201 | 2018-02-17 Alan Modra <amodra@gmail.com> |
| 202 | |
| 203 | PR 22845 |
| 204 | * elf.c (assign_file_positions_for_non_load_sections): Ignore |
| 205 | degenerate zero size PT_LOAD segments when finding one overlapping |
| 206 | the PT_GNU_RELRO segment. |
| 207 | |
| 208 | 2018-02-16 Alan Modra <amodra@gmail.com> |
| 209 | |
| 210 | * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false. |
| 211 | (_bfd_bool_bfd_true): Rename from bfd_true. |
| 212 | (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr. |
| 213 | (_bfd_int_bfd_0): Rename from bfd_0. |
| 214 | (_bfd_uint_bfd_0): Rename from bfd_0u. |
| 215 | (_bfd_long_bfd_0): Rename from bfd_0l. |
| 216 | (_bfd_long_bfd_n1_error): Rename from _bfd_n1. |
| 217 | (_bfd_void_bfd): Rename from bfd_void. |
| 218 | (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false), |
| 219 | (_bfd_bool_bfd_link_false_error), |
| 220 | (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true), |
| 221 | (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true), |
| 222 | (_bfd_bool_bfd_asection_bfd_asection_true), |
| 223 | (_bfd_bool_bfd_asymbol_bfd_asymbol_true), |
| 224 | (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions. |
| 225 | * archive.c (_bfd_noarchive_get_elt_at_index), |
| 226 | (_bfd_noarchive_openr_next_archived_file), |
| 227 | (_bfd_noarchive_construct_extended_name_table), |
| 228 | (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname), |
| 229 | (_bfd_noarchive_write_armap): New functions. |
| 230 | * archures.c (_bfd_nowrite_set_arch_mach): New function. |
| 231 | * coff-alpha.c (alpha_ecoff_swap_coff_aux_in), |
| 232 | (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in), |
| 233 | (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out), |
| 234 | (alpha_ecoff_swap_coff_lineno_out), |
| 235 | (alpha_ecoff_swap_coff_reloc_out): New functions. |
| 236 | * coff-mips.c (mips_ecoff_swap_coff_aux_in), |
| 237 | (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in), |
| 238 | (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out), |
| 239 | (mips_ecoff_swap_coff_lineno_out), |
| 240 | (mips_ecoff_swap_coff_reloc_out): New functions. |
| 241 | * coffcode.h (coff_set_alignment_hook): Replace define with |
| 242 | new function. |
| 243 | (symname_in_debug_hook): Likewise. |
| 244 | * ecoff.c (_bfd_ecoff_set_alignment_hook): New function. |
| 245 | * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0. |
| 246 | * elf.c (assign_file_positions_except_relocs): Test |
| 247 | elf_backend_allow_non_load_phdr for NULL. |
| 248 | * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from |
| 249 | _bfd_elf_link_omit_section_dynsym. Update uses. |
| 250 | (_bfd_elf_omit_section_dynsym_all): New function. |
| 251 | * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete. |
| 252 | (_bfd_elf_omit_section_dynsym_default): Declare. |
| 253 | (_bfd_elf_omit_section_dynsym_all): Declare. |
| 254 | * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section), |
| 255 | (_bfd_nolink_bfd_get_relocated_section_contents), |
| 256 | (_bfd_nolink_bfd_lookup_section_flags), |
| 257 | (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group), |
| 258 | (_bfd_nolink_bfd_link_hash_table_create), |
| 259 | (_bfd_nolink_bfd_link_just_syms), |
| 260 | (_bfd_nolink_bfd_copy_link_hash_symbol_type), |
| 261 | (_bfd_nolink_bfd_link_split_section), |
| 262 | (_bfd_nolink_section_already_linked), |
| 263 | (_bfd_nolink_bfd_define_common_symbol), |
| 264 | (_bfd_nolink_bfd_define_start_stop): New functions. |
| 265 | * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup), |
| 266 | (_bfd_norelocs_bfd_reloc_name_lookup), |
| 267 | (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions. |
| 268 | * section.c (_bfd_nowrite_set_section_contents): New function. |
| 269 | * syms.c (_bfd_nosymbols_canonicalize_symtab), |
| 270 | (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info), |
| 271 | (_bfd_nosymbols_get_symbol_version_string), |
| 272 | (_bfd_nosymbols_bfd_is_local_label_name), |
| 273 | (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line), |
| 274 | (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info), |
| 275 | (_bfd_nosymbols_bfd_make_debug_symbol), |
| 276 | ( _bfd_nosymbols_read_minisymbols), |
| 277 | ( _bfd_nosymbols_minisymbol_to_symbol), |
| 278 | (_bfd_nodynamic_get_synthetic_symtab): New functions. |
| 279 | * libbfd-in.h: Declare new functions. Update existing defines, |
| 280 | removing casts. |
| 281 | * aix386-core.c: Update to use new hooks. Formatting. |
| 282 | * aout-adobe.c: Likewise. |
| 283 | * aout-arm.c: Likewise. |
| 284 | * aout-target.h: Likewise. |
| 285 | * aout-tic30.c: Likewise. |
| 286 | * aoutf1.h: Likewise. |
| 287 | * binary.c: Likewise. |
| 288 | * bout.c: Likewise. |
| 289 | * cisco-core.c: Likewise. |
| 290 | * coff-alpha.c: Likewise. |
| 291 | * coff-i386.c: Likewise. |
| 292 | * coff-i860.c: Likewise. |
| 293 | * coff-i960.c: Likewise. |
| 294 | * coff-ia64.c: Likewise. |
| 295 | * coff-mips.c: Likewise. |
| 296 | * coff-ppc.c: Likewise. |
| 297 | * coff-rs6000.c: Likewise. |
| 298 | * coff-sh.c: Likewise. |
| 299 | * coff-tic30.c: Likewise. |
| 300 | * coff-tic54x.c: Likewise. |
| 301 | * coff-x86_64.c: Likewise. |
| 302 | * coff64-rs6000.c: Likewise. |
| 303 | * coffcode.h: Likewise. |
| 304 | * elf-m10300.c: Likewise. |
| 305 | * elf32-cr16.c: Likewise. |
| 306 | * elf32-lm32.c: Likewise. |
| 307 | * elf32-m32r.c: Likewise. |
| 308 | * elf32-metag.c: Likewise. |
| 309 | * elf32-score.c: Likewise. |
| 310 | * elf32-score7.c: Likewise. |
| 311 | * elf32-tilepro.c: Likewise. |
| 312 | * elf32-xstormy16.c: Likewise. |
| 313 | * elf32-xtensa.c: Likewise. |
| 314 | * elf64-alpha.c: Likewise. |
| 315 | * elf64-hppa.c: Likewise. |
| 316 | * elf64-ia64-vms.c: Likewise. |
| 317 | * elf64-mmix.c: Likewise. |
| 318 | * elf64-sh64.c: Likewise. |
| 319 | * elfnn-ia64.c: Likewise. |
| 320 | * elfxx-sparc.c: Likewise. |
| 321 | * elfxx-target.h: Likewise. |
| 322 | * elfxx-tilegx.c: Likewise. |
| 323 | * elfxx-x86.h: Likewise. |
| 324 | * hp300hpux.c: Likewise. |
| 325 | * hppabsd-core.c: Likewise. |
| 326 | * hpux-core.c: Likewise. |
| 327 | * i386msdos.c: Likewise. |
| 328 | * i386os9k.c: Likewise. |
| 329 | * ieee.c: Likewise. |
| 330 | * ihex.c: Likewise. |
| 331 | * irix-core.c: Likewise. |
| 332 | * libaout.h: Likewise. |
| 333 | * libecoff.h: Likewise. |
| 334 | * mach-o-target.c: Likewise. |
| 335 | * mach-o.c: Likewise. |
| 336 | * mipsbsd.c: Likewise. |
| 337 | * mmo.c: Likewise. |
| 338 | * netbsd-core.c: Likewise. |
| 339 | * nlm-target.h: Likewise. |
| 340 | * oasys.c: Likewise. |
| 341 | * osf-core.c: Likewise. |
| 342 | * pdp11.c: Likewise. |
| 343 | * pe-mips.c: Likewise. |
| 344 | * pe-x86_64.c: Likewise. |
| 345 | * pef.c: Likewise. |
| 346 | * plugin.c: Likewise. |
| 347 | * ppcboot.c: Likewise. |
| 348 | * ptrace-core.c: Likewise. |
| 349 | * sco5-core.c: Likewise. |
| 350 | * som.c: Likewise. |
| 351 | * sparclynx.c: Likewise. |
| 352 | * srec.c: Likewise. |
| 353 | * tekhex.c: Likewise. |
| 354 | * trad-core.c: Likewise. |
| 355 | * verilog.c: Likewise. |
| 356 | * versados.c: Likewise. |
| 357 | * vms-alpha.c: Likewise. |
| 358 | * vms-lib.c: Likewise. |
| 359 | * wasm-module.c: Likewise. |
| 360 | * xsym.c: Likewise. |
| 361 | * libbfd.h: Regenerate. |
| 362 | |
| 363 | 2018-02-15 Jim Wilson <jimw@sifive.com> |
| 364 | |
| 365 | * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore |
| 366 | symbols whose section address is zero. |
| 367 | |
| 368 | * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous |
| 369 | when pcrel_lo reloc has an addend. Use reloc_dangerous callback for |
| 370 | bfd_reloc_dangerous. Use einfo instead of warning callback for errors. |
| 371 | Add %X%P to error messages. |
| 372 | |
| 373 | 2018-02-15 Eric Botcazou <ebotcazou@adacore.com> |
| 374 | |
| 375 | PR ld/22832 |
| 376 | * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>: |
| 377 | Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup |
| 378 | and assert that the result of the call is not NULL. |
| 379 | |
| 380 | 2018-02-14 Nick Clifton <nickc@redhat.com> |
| 381 | |
| 382 | PR 22823 |
| 383 | Revert previous delta. Add extra casts to avoid compile time |
| 384 | warnings instead. |
| 385 | * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra |
| 386 | cast to avoid warning from gcc v8 compiler. |
| 387 | (_bfd_generic_bfd_merge_private_bfd_data): Likewise. |
| 388 | (_bfd_generic_bfd_set_private_flags): Likewise. |
| 389 | (_bfd_generic_bfd_copy_private_section_data): Likewise. |
| 390 | (_bfd_generic_bfd_copy_private_symbol_data): Likewise. |
| 391 | (_bfd_generic_bfd_copy_private_header_data): Likewise. |
| 392 | (_bfd_generic_bfd_print_private_bfd_data): Likewise. |
| 393 | (_bfd_noarchive_construct_extended_name_table): Likewise. |
| 394 | (_bfd_noarchive_truncate_arname): Likewise. |
| 395 | (_bfd_noarchive_write_ar_hdr): Likewise. |
| 396 | (_bfd_noarchive_get_elt_at_index): Likewise. |
| 397 | (_bfd_nosymbols_canonicalize_symtab): Likewise. |
| 398 | (_bfd_nosymbols_print_symbol): Likewise. |
| 399 | (_bfd_nosymbols_get_symbol_info): Likewise. |
| 400 | (_bfd_nosymbols_get_symbol_version_string): Likewise. |
| 401 | (_bfd_nosymbols_bfd_is_local_label_name): Likewise. |
| 402 | (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. |
| 403 | (_bfd_nosymbols_get_lineno): Likewise. |
| 404 | (_bfd_nosymbols_find_nearest_line): Likewise. |
| 405 | (_bfd_nosymbols_find_line): Likewise. |
| 406 | (_bfd_nosymbols_find_inliner_info): Likewise. |
| 407 | (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. |
| 408 | (_bfd_nosymbols_read_minisymbols): Likewise. |
| 409 | (_bfd_nosymbols_minisymbol_to_symbol): Likewise. |
| 410 | (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. |
| 411 | (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. |
| 412 | (_bfd_nowrite_set_arch_mach): Likewise. |
| 413 | (_bfd_nowrite_set_section_contents): Likewise. |
| 414 | (_bfd_nolink_sizeof_headers): Likewise. |
| 415 | (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. |
| 416 | (_bfd_nolink_bfd_relax_section): Likewise. |
| 417 | (_bfd_nolink_bfd_gc_sections): Likewise. |
| 418 | (_bfd_nolink_bfd_lookup_section_flags): Likewise. |
| 419 | (_bfd_nolink_bfd_merge_sections): Likewise. |
| 420 | (_bfd_nolink_bfd_is_group_section): Likewise. |
| 421 | (_bfd_nolink_bfd_discard_group): Likewise. |
| 422 | (_bfd_nolink_bfd_link_hash_table_create): Likewise. |
| 423 | (_bfd_nolink_bfd_link_add_symbols): Likewise. |
| 424 | (_bfd_nolink_bfd_link_just_syms): Likewise. |
| 425 | (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. |
| 426 | (_bfd_nolink_bfd_final_link): Likewise. |
| 427 | (_bfd_nolink_bfd_link_split_section): Likewise. |
| 428 | (_bfd_nolink_section_already_linked): Likewise. |
| 429 | (_bfd_nolink_bfd_define_common_symbol): Likewise. |
| 430 | (_bfd_nolink_bfd_define_start_stop): Likewise. |
| 431 | (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. |
| 432 | (_bfd_nodynamic_get_synthetic_symtab): Likewise. |
| 433 | (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. |
| 434 | (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. |
| 435 | * libbfd.c (bfd_false_any): Delete. |
| 436 | (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete. |
| 437 | (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete. |
| 438 | * libbfd.h (extern): Regenerate |
| 439 | * aout-target.h (MY_bfd_is_target_special_symbol): Add extra |
| 440 | cast to avoid warning from gcc v8 compiler. |
| 441 | * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. |
| 442 | * binary.c (binary_get_symbol_info): Likewise. |
| 443 | * coff-alpha.c (alpha_ecoff_backend_data): Likewise. |
| 444 | * coff-mips.c (mips_ecoff_backend_data): Likewise. |
| 445 | * coffcode.h (coff_set_alignment_hook): Likewise. |
| 446 | (symname_in_debug_hook): Likewise. |
| 447 | (bfd_coff_backend_data bigobj_swap_table): Likewise. |
| 448 | * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. |
| 449 | * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. |
| 450 | * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. |
| 451 | * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. |
| 452 | * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. |
| 453 | * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. |
| 454 | * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. |
| 455 | * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. |
| 456 | * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. |
| 457 | * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. |
| 458 | * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. |
| 459 | * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. |
| 460 | * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. |
| 461 | * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. |
| 462 | * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. |
| 463 | * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. |
| 464 | (bfd_elfNN_bfd_make_debug_symbol): Likewise. |
| 465 | (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. |
| 466 | (bfd_elfNN_bfd_set_private_flags): Likewise. |
| 467 | (bfd_elfNN_bfd_is_target_special_symbol): Likewise. |
| 468 | (elf_backend_init_index_section): Likewise. |
| 469 | (elf_backend_allow_non_load_phdr): Likewise. |
| 470 | * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. |
| 471 | * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. |
| 472 | * ieee.c (ieee_construct_extended_name_table): Likewise. |
| 473 | (ieee_write_armap): Likewise. |
| 474 | (ieee_write_ar_hdr): Likewise. |
| 475 | (ieee_bfd_is_target_special_symbol): Likewise. |
| 476 | * ihex.c (ihex_canonicalize_symtab): Likewise. |
| 477 | (ihex_bfd_is_target_special_symbol): Likewise. |
| 478 | * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. |
| 479 | * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. |
| 480 | (_bfd_ecoff_set_alignment_hook): Likewise. |
| 481 | * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. |
| 482 | * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. |
| 483 | * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. |
| 484 | * oasys.c (oasys_construct_extended_name_table): Likewise. |
| 485 | (oasys_write_armap): Likewise. |
| 486 | (oasys_write_ar_hdr): Likewise. |
| 487 | (oasys_bfd_is_target_special_symbol): Likewise. |
| 488 | * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. |
| 489 | * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. |
| 490 | * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. |
| 491 | * som.c (som_bfd_is_target_special_symbol): Likewise. |
| 492 | * srec.c (srec_bfd_is_target_special_symbol): Likewise. |
| 493 | * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. |
| 494 | * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. |
| 495 | * versados.c (versados_bfd_is_target_special_symbol): Likewise. |
| 496 | (versados_bfd_reloc_name_lookup): Likewise. |
| 497 | * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. |
| 498 | (vms_bfd_define_start_stop): Likewise. |
| 499 | (alpha_vms_bfd_is_target_special_symbol): Likewise. |
| 500 | * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. |
| 501 | * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. |
| 502 | |
| 503 | 2018-02-14 H.J. Lu <hongjiu.lu@intel.com> |
| 504 | |
| 505 | PR ld/22842 |
| 506 | * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non |
| 507 | PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. |
| 508 | * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for |
| 509 | R_X86_64_PC32 reloc against dynamic function in data section. |
| 510 | Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. |
| 511 | (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc |
| 512 | against dynamic function in data section. |
| 513 | * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as |
| 514 | function address only if pcrel_plt is true. |
| 515 | (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt. |
| 516 | * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for |
| 517 | PC-relative PLT. If PLT is PC-relative, don't generate dynamic |
| 518 | PC-relative relocation against a function definition in data |
| 519 | secton in PIE. Remove the obsolete comments. |
| 520 | (elf_x86_link_hash_table): Add pcrel_plt. |
| 521 | |
| 522 | 2018-02-13 H.J. Lu <hongjiu.lu@intel.com> |
| 523 | |
| 524 | * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll, |
| 525 | instead of bfd_link_pic, for building shared library. |
| 526 | |
| 527 | 2018-02-13 H.J. Lu <hongjiu.lu@intel.com> |
| 528 | |
| 529 | PR gas/22791 |
| 530 | * elf64-x86-64.c (is_32bit_relative_branch): Removed. |
| 531 | (elf_x86_64_relocate_section): Check PIC relocations in PIE. |
| 532 | Remove is_32bit_relative_branch usage. Disallow PC32 reloc |
| 533 | against protected function in shared object. |
| 534 | |
| 535 | 2018-02-13 Sergei Trofimovich <slyfox@inbox.ru> |
| 536 | |
| 537 | PR 22828 |
| 538 | * po/ru.po: Fix typo in Russian translation. |
| 539 | |
| 540 | 2018-02-13 Maciej W. Rozycki <macro@mips.com> |
| 541 | |
| 542 | * wasm-module.c (wasm_scan_name_function_section): Rename |
| 543 | `index' local variable to `idx'. |
| 544 | |
| 545 | 2018-02-13 Nick Clifton <nickc@redhat.com> |
| 546 | |
| 547 | PR 22823 |
| 548 | Fix compile time warnings generated by gcc version 8. |
| 549 | * libbfd-in.h: Remove extraneous text from prototypes. |
| 550 | Add prototypes for bfd_false_any, bfd_true_any, |
| 551 | bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any, |
| 552 | bfd_n1_any, bfd_void_any. |
| 553 | (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy |
| 554 | function. |
| 555 | (_bfd_generic_bfd_merge_private_bfd_data): Likewise. |
| 556 | (_bfd_generic_bfd_set_private_flags): Likewise. |
| 557 | (_bfd_generic_bfd_copy_private_section_data): Likewise. |
| 558 | (_bfd_generic_bfd_copy_private_symbol_data): Likewise. |
| 559 | (_bfd_generic_bfd_copy_private_header_data): Likewise. |
| 560 | (_bfd_generic_bfd_print_private_bfd_data): Likewise. |
| 561 | (_bfd_noarchive_construct_extended_name_table): Likewise. |
| 562 | (_bfd_noarchive_truncate_arname): Likewise. |
| 563 | (_bfd_noarchive_write_ar_hdr): Likewise. |
| 564 | (_bfd_noarchive_get_elt_at_index): Likewise. |
| 565 | (_bfd_nosymbols_canonicalize_symtab): Likewise. |
| 566 | (_bfd_nosymbols_print_symbol): Likewise. |
| 567 | (_bfd_nosymbols_get_symbol_info): Likewise. |
| 568 | (_bfd_nosymbols_get_symbol_version_string): Likewise. |
| 569 | (_bfd_nosymbols_bfd_is_local_label_name): Likewise. |
| 570 | (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. |
| 571 | (_bfd_nosymbols_get_lineno): Likewise. |
| 572 | (_bfd_nosymbols_find_nearest_line): Likewise. |
| 573 | (_bfd_nosymbols_find_line): Likewise. |
| 574 | (_bfd_nosymbols_find_inliner_info): Likewise. |
| 575 | (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. |
| 576 | (_bfd_nosymbols_read_minisymbols): Likewise. |
| 577 | (_bfd_nosymbols_minisymbol_to_symbol): Likewise. |
| 578 | (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. |
| 579 | (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. |
| 580 | (_bfd_nowrite_set_arch_mach): Likewise. |
| 581 | (_bfd_nowrite_set_section_contents): Likewise. |
| 582 | (_bfd_nolink_sizeof_headers): Likewise. |
| 583 | (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. |
| 584 | (_bfd_nolink_bfd_relax_section): Likewise. |
| 585 | (_bfd_nolink_bfd_gc_sections): Likewise. |
| 586 | (_bfd_nolink_bfd_lookup_section_flags): Likewise. |
| 587 | (_bfd_nolink_bfd_merge_sections): Likewise. |
| 588 | (_bfd_nolink_bfd_is_group_section): Likewise. |
| 589 | (_bfd_nolink_bfd_discard_group): Likewise. |
| 590 | (_bfd_nolink_bfd_link_hash_table_create): Likewise. |
| 591 | (_bfd_nolink_bfd_link_add_symbols): Likewise. |
| 592 | (_bfd_nolink_bfd_link_just_syms): Likewise. |
| 593 | (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. |
| 594 | (_bfd_nolink_bfd_final_link): Likewise. |
| 595 | (_bfd_nolink_bfd_link_split_section): Likewise. |
| 596 | (_bfd_nolink_section_already_linked): Likewise. |
| 597 | (_bfd_nolink_bfd_define_common_symbol): Likewise. |
| 598 | (_bfd_nolink_bfd_define_start_stop): Likewise. |
| 599 | (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. |
| 600 | (_bfd_nodynamic_get_synthetic_symtab): Likewise. |
| 601 | (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. |
| 602 | (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. |
| 603 | * libbfd.c (bfd_false_any): New function. Like bfd_false but |
| 604 | accepts one or more arguments. |
| 605 | (bfd_true_any): Likewise. |
| 606 | (bfd_nullvoidptr_any): Likewise. |
| 607 | (bfd_0_any): Likewise. |
| 608 | (bfd_0u_any): Likewise. |
| 609 | (bfd_0l_any): Likewise. |
| 610 | (_bfd_n1_any): Likewise. |
| 611 | (bfd_void_any): Likewise. |
| 612 | * libbfd.h (extern): Regenerate |
| 613 | * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg |
| 614 | based dummy function. |
| 615 | * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. |
| 616 | * binary.c (binary_get_symbol_info): Likewise. |
| 617 | * coff-alpha.c (alpha_ecoff_backend_data): Likewise. |
| 618 | * coff-mips.c (mips_ecoff_backend_data): Likewise. |
| 619 | * coffcode.h (coff_set_alignment_hook): Likewise. |
| 620 | (symname_in_debug_hook): Likewise. |
| 621 | (bfd_coff_backend_data bigobj_swap_table): Likewise. |
| 622 | * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. |
| 623 | * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. |
| 624 | * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. |
| 625 | * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. |
| 626 | * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. |
| 627 | * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. |
| 628 | * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. |
| 629 | * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. |
| 630 | * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. |
| 631 | * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. |
| 632 | * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. |
| 633 | * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. |
| 634 | * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. |
| 635 | * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. |
| 636 | * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. |
| 637 | * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. |
| 638 | (bfd_elfNN_bfd_make_debug_symbol): Likewise. |
| 639 | (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. |
| 640 | (bfd_elfNN_bfd_set_private_flags): Likewise. |
| 641 | (bfd_elfNN_bfd_is_target_special_symbol): Likewise. |
| 642 | (elf_backend_init_index_section): Likewise. |
| 643 | (elf_backend_allow_non_load_phdr): Likewise. |
| 644 | * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. |
| 645 | * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. |
| 646 | * ieee.c (ieee_construct_extended_name_table): Likewise. |
| 647 | (ieee_write_armap): Likewise. |
| 648 | (ieee_write_ar_hdr): Likewise. |
| 649 | (ieee_bfd_is_target_special_symbol): Likewise. |
| 650 | * ihex.c (ihex_canonicalize_symtab): Likewise. |
| 651 | (ihex_bfd_is_target_special_symbol): Likewise. |
| 652 | * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. |
| 653 | * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. |
| 654 | (_bfd_ecoff_set_alignment_hook): Likewise. |
| 655 | * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. |
| 656 | * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. |
| 657 | * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. |
| 658 | * oasys.c (oasys_construct_extended_name_table): Likewise. |
| 659 | (oasys_write_armap): Likewise. |
| 660 | (oasys_write_ar_hdr): Likewise. |
| 661 | (oasys_bfd_is_target_special_symbol): Likewise. |
| 662 | * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. |
| 663 | * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. |
| 664 | * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. |
| 665 | * som.c (som_bfd_is_target_special_symbol): Likewise. |
| 666 | * srec.c (srec_bfd_is_target_special_symbol): Likewise. |
| 667 | * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. |
| 668 | * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. |
| 669 | * versados.c (versados_bfd_is_target_special_symbol): Likewise. |
| 670 | (versados_bfd_reloc_name_lookup): Likewise. |
| 671 | * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. |
| 672 | (vms_bfd_define_start_stop): Likewise. |
| 673 | (alpha_vms_bfd_is_target_special_symbol): Likewise. |
| 674 | * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. |
| 675 | * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. |
| 676 | * elf32-arc.c (get_replace_function): Assign replacement function |
| 677 | to func pointer. |
| 678 | * elf32-i370.c (i370_noop): Update prototype. |
| 679 | |
| 680 | 2018-02-13 Alan Modra <amodra@gmail.com> |
| 681 | |
| 682 | PR 22836 |
| 683 | * elf.c (_bfd_elf_fixup_group_sections): Account for removed |
| 684 | relocation sections. If size reduces to just the flag word, |
| 685 | remove that too and mark with SEC_EXCLUDE. |
| 686 | * elflink.c (bfd_elf_final_link): Strip empty group sections. |
| 687 | |
| 688 | 2018-02-13 Alan Modra <amodra@gmail.com> |
| 689 | |
| 690 | PR 22829 |
| 691 | * elf.c (assign_file_positions_for_non_load_sections): Rewrite |
| 692 | PT_GNU_RELRO setup. |
| 693 | |
| 694 | 2018-02-12 Zebediah Figura <z.figura12@gmail.com> |
| 695 | |
| 696 | * i386msdos.c (msdos_mkobject); New function. |
| 697 | (msdos_object_p): New function. |
| 698 | (i386_msdos_vec): Use msdos_object_p as the check_format |
| 699 | function. |
| 700 | * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and |
| 701 | NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and |
| 702 | IMAGE_NT_SIGNATURE. |
| 703 | * peXXigen.c: Likewise. |
| 704 | * coff-ia64.c: Likewise. |
| 705 | |
| 706 | 2018-02-12 Nick Clifton <nickc@redhat.com> |
| 707 | |
| 708 | * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant |
| 709 | assignment. |
| 710 | * elf32-arc.c (elf_arc_relocate_section): Likewise. |
| 711 | |
| 712 | 2018-02-09 Eric Botcazou <ebotcazou@adacore.com> |
| 713 | |
| 714 | * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions. |
| 715 | (sparc_elf_append_rela): Assert that there is enough room in section. |
| 716 | (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting. |
| 717 | (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak. |
| 718 | (allocate_dynrelocs): Remove outdated comments and reorder conditions. |
| 719 | For a symbol subject to a GOT relocation, reserve a slot in the |
| 720 | relocation section if the symbol isn't dynamic and we are in PIC mode. |
| 721 | (_bfd_sparc_elf_relocate_section) <R_SPARC_GOTDATA_OP>: If relocation |
| 722 | is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation. |
| 723 | <R_SPARC_GOTDATA_OP_HIX22>: Adjust comments. |
| 724 | <R_SPARC_PC10>: Reorder conditions. Remove always-false assertion. |
| 725 | (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into |
| 726 | resolved_to_zero. Do not generate a dynamic GOT relocation for an |
| 727 | undefined weak symbol with non-default visibility. Remove superfluous |
| 728 | 'else' and fix formatting. |
| 729 | |
| 730 | 2018-02-09 H.J. Lu <hongjiu.lu@intel.com> |
| 731 | |
| 732 | * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle |
| 733 | is_solaris. |
| 734 | (i386_elf32_sol2_vec): Don't declare. |
| 735 | (elf_i386_link_setup_gnu_properties): Also handle is_solaris. |
| 736 | Don't set need_global_offset_table. |
| 737 | (elf_i386_solaris_arch_bed): New. |
| 738 | (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for |
| 739 | Solaris. |
| 740 | * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check |
| 741 | target_os != is_nacl instead of target_os == is_normal. |
| 742 | (x86_64_elf64_sol2_vec): Don't declare. |
| 743 | (elf_x86_64_link_setup_gnu_properties): Check target_os != |
| 744 | is_nacl instead of target_os == is_normal. Don't set |
| 745 | need_global_offset_table. |
| 746 | (elf_x86_64_solaris_arch_bed): New. |
| 747 | (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for |
| 748 | Solaris. |
| 749 | * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep |
| 750 | _GLOBAL_OFFSET_TABLE_ for Solaris. |
| 751 | (_bfd_x86_elf_link_setup_gnu_properties): Don't copy |
| 752 | need_global_offset_table. |
| 753 | * elfxx-x86.h (elf_x86_target_os): Add is_solaris. |
| 754 | (elf_x86_link_hash_table): Remove need_global_offset_table. |
| 755 | (elf_x86_init_table): Likewise. |
| 756 | |
| 757 | 2018-02-08 H.J. Lu <hongjiu.lu@intel.com> |
| 758 | |
| 759 | * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): |
| 760 | Remove prototype. |
| 761 | (i386_elf32_sol2_vec): Declared. |
| 762 | (elf_i386_link_setup_gnu_properties): Set |
| 763 | need_global_offset_table with info->output_bfd->xvec. |
| 764 | * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): |
| 765 | Remove prototype. |
| 766 | (x86_64_elf64_sol2_vec): Declared. |
| 767 | (elf_x86_64_link_setup_gnu_properties): Set |
| 768 | need_global_offset_table with info->output_bfd->xvec. |
| 769 | |
| 770 | 2018-02-08 H.J. Lu <hongjiu.lu@intel.com> |
| 771 | |
| 772 | * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): |
| 773 | New prototype. |
| 774 | (elf_i386_link_setup_gnu_properties): Set need_global_offset_table |
| 775 | for Solaris. |
| 776 | * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): |
| 777 | New prototype. |
| 778 | (elf_x86_64_link_setup_gnu_properties): Set |
| 779 | need_global_offset_table for Solaris. |
| 780 | * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the |
| 781 | unused _GLOBAL_OFFSET_TABLE_ for Solaris. |
| 782 | (_bfd_x86_elf_link_setup_gnu_properties): Copy |
| 783 | need_global_offset_table. |
| 784 | * elfxx-x86.h (elf_x86_link_hash_table): Add |
| 785 | need_global_offset_table. |
| 786 | (elf_x86_init_table): Likewise. |
| 787 | |
| 788 | 2018-02-08 Jim Wilson <jimw@sifive.com> |
| 789 | |
| 790 | * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous |
| 791 | change. |
| 792 | |
| 793 | 2018-02-08 Nick Clifton <nickc@redhat.com> |
| 794 | |
| 795 | PR 22788 |
| 796 | * elf.c (elf_parse_notes): Reject notes with excessuively large |
| 797 | alignments. |
| 798 | |
| 799 | 2018-02-07 Alan Modra <amodra@gmail.com> |
| 800 | |
| 801 | Revert 2018-01-17 Alan Modra <amodra@gmail.com> |
| 802 | * elf32-ppc.c: Remove speculation barrier support. |
| 803 | * elf32-ppc.h: Likewise. |
| 804 | * elf64-ppc.c: Likewise. |
| 805 | * elf64-ppc.h: Likewise. |
| 806 | |
| 807 | 2018-02-06 Jim Wilson <jimw@sifive.com> |
| 808 | |
| 809 | * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used |
| 810 | callback to report an error. |
| 811 | |
| 812 | 2018-02-06 Eric Botcazou <ebotcazou@adacore.com> |
| 813 | |
| 814 | PR ld/22263 |
| 815 | * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic |
| 816 | into call to !bfd_link_executable and tidy up. |
| 817 | (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up. |
| 818 | <R_SPARC_TLS_LE_HIX22>: Turn call to bfd_link_pic into call to |
| 819 | !bfd_link_executable. |
| 820 | <R_SPARC_TLS_IE_HI22>: Likewise. |
| 821 | <GOT relocations>: Remove useless code, tidy and merge related blocks. |
| 822 | <R_SPARC_TLS_GD_CALL>: Turn call to bfd_link_pic into call to |
| 823 | !bfd_link_executable. |
| 824 | <R_SPARC_WPLT30>: Tidy up. |
| 825 | (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to |
| 826 | !bfd_link_executable. |
| 827 | (allocate_dynrelocs): Likewise. |
| 828 | (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up. |
| 829 | <R_SPARC_TLS_GD_HI22>: Merge into... |
| 830 | <R_SPARC_TLS_GD_LO10>: ...this. Adjust 4th argument in call to |
| 831 | sparc_elf_tls_transition and remove redundant code. |
| 832 | <R_SPARC_TLS_LDM_HI22>: Turn call to bfd_link_pic into call to |
| 833 | !bfd_link_executable. |
| 834 | <R_SPARC_TLS_LDO_HIX22>: Likewise. |
| 835 | <R_SPARC_TLS_LE_HIX22>: Likewise. Tidy up. |
| 836 | <R_SPARC_TLS_LDM_CALL>: Likewise. |
| 837 | <R_SPARC_TLS_GD_CALL>: Likewise. Tidy up. |
| 838 | <R_SPARC_TLS_GD_ADD>: Likewise. |
| 839 | <R_SPARC_TLS_LDM_ADD>: Likewise. |
| 840 | <R_SPARC_TLS_LDO_ADD>: Likewise. |
| 841 | <R_SPARC_TLS_IE_LD>: Likewise. |
| 842 | |
| 843 | 2018-02-06 Miloš Stojanović <milos.stojanovic@rt-rk.com> |
| 844 | |
| 845 | PR 22789 |
| 846 | * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf |
| 847 | functions failed to find the function name, try the generic elf |
| 848 | find function instead. |
| 849 | |
| 850 | 2018-02-06 Sergio Durigan Junior <sergiodj@redhat.com> |
| 851 | |
| 852 | * coff-rs6000.c (xcoff_write_archive_contents_old): Use |
| 853 | 'memcpy' instead of 'strncpy' when writing the magic number. |
| 854 | |
| 855 | 2018-02-06 Nick Clifton <nickc@redhat.com> |
| 856 | |
| 857 | PR 22794 |
| 858 | * opncls.c (bfd_get_debug_link_info_1): Check the size of the |
| 859 | section before attempting to read it in. |
| 860 | (bfd_get_alt_debug_link_info): Likewise. |
| 861 | |
| 862 | 2018-02-06 Paul Carroll <pcarroll@codesourcery.com> |
| 863 | |
| 864 | * bfd/dwarf2.c (find_abstract_name): Modified to return file and |
| 865 | line information in addition to name, if they can be found. |
| 866 | |
| 867 | 2018-02-05 Renlin Li <renlin.li@arm.com> |
| 868 | |
| 869 | PR ld/22764 |
| 870 | * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the |
| 871 | R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the |
| 872 | check for writeable section as well. |
| 873 | |
| 874 | 2018-02-05 H.J. Lu <hongjiu.lu@intel.com> |
| 875 | |
| 876 | PR ld/22782 |
| 877 | * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if |
| 878 | _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve |
| 879 | undefined weak symbol to 0. |
| 880 | * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced |
| 881 | if _GLOBAL_OFFSET_TABLE_ is referenced. |
| 882 | * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check |
| 883 | got_referenced instead of ref_regular_nonweak. Remove the |
| 884 | unused _GLOBAL_OFFSET_TABLE_ from symbol table. |
| 885 | * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced. |
| 886 | |
| 887 | 2018-02-05 Maciej W. Rozycki <macro@mips.com> |
| 888 | |
| 889 | * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to |
| 890 | initialize `hi_reloc'. |
| 891 | |
| 892 | 2018-02-05 Maciej W. Rozycki <macro@mips.com> |
| 893 | |
| 894 | * elfxx-mips.c (_bfd_mips_elf_section_processing): For |
| 895 | SHT_MIPS_REGINFO sections don't assert the correct size and |
| 896 | report an error instead. |
| 897 | |
| 898 | 2018-02-05 Maciej W. Rozycki <macro@mips.com> |
| 899 | |
| 900 | * elf.c (_bfd_elf_write_object_contents): Propagate a failure |
| 901 | status from `->elf_backend_section_processing'. |
| 902 | |
| 903 | 2018-02-02 Jim Wilson <jimw@sifive.com> |
| 904 | |
| 905 | PR ld/22756 |
| 906 | * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info. |
| 907 | If link_info->wrap_hash, check for a duplicate symbol and ignore. |
| 908 | (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le): |
| 909 | Pass new argument to riscv_relax_delete_bytes. |
| 910 | (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove |
| 911 | ATTRIBUTE_UNUSED from link_info parameter. |
| 912 | |
| 913 | 2018-02-02 Alan Modra <amodra@gmail.com> |
| 914 | |
| 915 | * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops |
| 916 | emitted for toc sequence optimization. Set and use "howto" later. |
| 917 | |
| 918 | 2018-02-01 Simon Marchi <simon.marchi@ericsson.com> |
| 919 | |
| 920 | * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer |
| 921 | arithmetic on NULL pointer. |
| 922 | * elflink.c (_bfd_elf_archive_symbol_lookup, |
| 923 | elf_link_add_archive_symbols): Likewise. |
| 924 | |
| 925 | 2018-01-31 Michael Matz <matz@suse.de> |
| 926 | |
| 927 | * elflink.c (bfd_elf_define_start_stop): Fix check of |
| 928 | def_dynamic. |
| 929 | |
| 930 | 2018-01-31 H.J. Lu <hongjiu.lu@intel.com> |
| 931 | |
| 932 | PR ld/21964 |
| 933 | * elflink.c (bfd_elf_define_start_stop): Check if __start and |
| 934 | __stop symbols are referenced by shared objects. |
| 935 | |
| 936 | 2018-01-30 Alan Modra <amodra@gmail.com> |
| 937 | |
| 938 | PR 22758 |
| 939 | * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new |
| 940 | segment when demand paged with lma on the same page. Test this |
| 941 | before load/non-load, executable/non-executable, |
| 942 | writable/non-writable tests and simplify. Delete bogus relro |
| 943 | condition in writable/non-writable test. Delete outdated |
| 944 | comment. Formatting. |
| 945 | |
| 946 | 2018-01-30 Alan Modra <amodra@gmail.com> |
| 947 | |
| 948 | * elflink.c (bfd_elf_define_start_stop): Make __start and __stop |
| 949 | symbols dynamic. |
| 950 | |
| 951 | 2018-01-29 Alan Modra <amodra@gmail.com> |
| 952 | |
| 953 | PR 22741 |
| 954 | * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in |
| 955 | range before converting to a symbol table pointer. |
| 956 | |
| 957 | 2018-01-27 Nick Clifton <nickc@redhat.com> |
| 958 | |
| 959 | * po/ru.po: Updated Russian translation. |
| 960 | |
| 961 | 2018-01-26 Alan Modra <amodra@gmail.com> |
| 962 | |
| 963 | * elflink.c (bfd_elf_define_start_stop): Override symbols when |
| 964 | they are defined dynamically. |
| 965 | |
| 966 | 2018-01-26 Alan Modra <amodra@gmail.com> |
| 967 | |
| 968 | * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when |
| 969 | .branch_lt changes size. |
| 970 | |
| 971 | 2018-01-25 Alan Modra <amodra@gmail.com> |
| 972 | |
| 973 | PR 22746 |
| 974 | * elfcode.h (elf_object_p): Avoid integer overflow. |
| 975 | |
| 976 | 2018-01-25 Eric Botcazou <ebotcazou@adacore.com> |
| 977 | |
| 978 | PR ld/22727 |
| 979 | * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>: |
| 980 | Do a mere lookup of the __tls_get_addr symbol instead of adding it. |
| 981 | |
| 982 | Revert |
| 983 | 2017-10-19 H.J. Lu <hongjiu.lu@intel.com> |
| 984 | |
| 985 | PR ld/22263 |
| 986 | * elfxx-sparc.c (sparc_elf_tls_transition): Replace |
| 987 | bfd_link_pic with !bfd_link_executable, !bfd_link_pic with |
| 988 | bfd_link_executable for TLS check. |
| 989 | (_bfd_sparc_elf_check_relocs): Likewise. |
| 990 | (allocate_dynrelocs): Likewise. |
| 991 | (_bfd_sparc_elf_relocate_section): Likewise. |
| 992 | |
| 993 | 2018-01-24 Renlin Li <renlin.li@arm.com> |
| 994 | |
| 995 | * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for |
| 996 | BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, |
| 997 | BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, |
| 998 | BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, |
| 999 | BFD_RELOC_AARCH64_MOVW_PREL_G3. |
| 1000 | * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. |
| 1001 | (_bfd_aarch64_elf_resolve_relocation): Likewise. |
| 1002 | |
| 1003 | 2018-01-24 Renlin Li <renlin.li@arm.com> |
| 1004 | |
| 1005 | * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0, |
| 1006 | BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1, |
| 1007 | BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2, |
| 1008 | BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3. |
| 1009 | * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for |
| 1010 | BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, |
| 1011 | BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, |
| 1012 | BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, |
| 1013 | BFD_RELOC_AARCH64_MOVW_PREL_G3. |
| 1014 | * bfd-in2.h: Regenerate. |
| 1015 | * libbfd.h: Regenerate. |
| 1016 | |
| 1017 | 2018-01-23 Maciej W. Rozycki <macro@mips.com> |
| 1018 | |
| 1019 | * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale |
| 1020 | `mips_elf32_section_processing' comment reference. |
| 1021 | |
| 1022 | 2018-01-20 H.J. Lu <hongjiu.lu@intel.com> |
| 1023 | |
| 1024 | PR ld/22721 |
| 1025 | * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the |
| 1026 | versioned __tls_get_addr symbol. |
| 1027 | |
| 1028 | 2018-01-19 Nick Clifton <nickc@redhat.com> |
| 1029 | |
| 1030 | * po/fr.po: Updated French translation. |
| 1031 | |
| 1032 | 2018-01-18 Alan Modra <amodra@gmail.com> |
| 1033 | |
| 1034 | * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink. |
| 1035 | * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align. |
| 1036 | (ppc64_elf_build_stubs): Likewise. |
| 1037 | |
| 1038 | 2018-01-17 Nick Clifton <nickc@redhat.com> |
| 1039 | |
| 1040 | * po/ru.po: Updated Russian translation. |
| 1041 | * po/uk/po: Updated Ukranian translation. |
| 1042 | |
| 1043 | 2018-01-17 Alan Modra <amodra@gmail.com> |
| 1044 | |
| 1045 | * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning. |
| 1046 | |
| 1047 | 2018-01-17 Alan Modra <amodra@gmail.com> |
| 1048 | |
| 1049 | * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier. |
| 1050 | (CRSETEQ, BEQCTRM): Define. |
| 1051 | (is_nonpic_glink_stub): Don't check bctr. |
| 1052 | (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. |
| 1053 | (ppc_elf_relax_section): Size speculation barrier. |
| 1054 | (output_bctr): New function. |
| 1055 | (write_glink_stub): Use output_bctr. |
| 1056 | (ppc_elf_relocate_section): Use output_bctr for long branch stub. |
| 1057 | (ppc_elf_finish_dynamic_symbol): Likewise. |
| 1058 | (ppc_elf_finish_dynamic_sections): Use output_bctr. |
| 1059 | * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps. |
| 1060 | * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define. |
| 1061 | (GLINK_PLTRESOLVE_SIZE): Size speculation barrier. |
| 1062 | (size_global_entry_stubs): Handle speculation barrier sizing. |
| 1063 | (plt_stub_size): Likewise. |
| 1064 | (output_bctr): New function. |
| 1065 | (build_plt_stub, build_tls_get_addr_stub): Output speculation |
| 1066 | barrier. |
| 1067 | (ppc_build_one_stub): Likewise for ppc_stub_plt_branch. |
| 1068 | (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch. |
| 1069 | (build_global_entry_stubs): Output speculation barrier. |
| 1070 | (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub. |
| 1071 | * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps. |
| 1072 | |
| 1073 | 2018-01-17 Alan Modra <amodra@gmail.com> |
| 1074 | |
| 1075 | * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle |
| 1076 | __tls_get_addr_opt, and alignment sizing. |
| 1077 | (TLS_GET_ADDR_GLINK_SIZE): Delete. |
| 1078 | (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE. |
| 1079 | (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6, |
| 1080 | or 8 insns. |
| 1081 | (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. |
| 1082 | (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE. |
| 1083 | (ppc_elf_size_dynamic_sections): Likewise. Size branch table |
| 1084 | by PLT reloc count. |
| 1085 | (write_glink_stub): Handle __tls_get_addr_opt stub. |
| 1086 | Pad out to size given by GLINK_ENTRY_SIZE. |
| 1087 | (ppc_elf_relocate_section): Adjust write_glink_stub call. |
| 1088 | (ppc_elf_finish_dynamic_symbol): Likewise. |
| 1089 | (ppc_elf_finish_dynamic_sections): Write PLTresolve without using |
| 1090 | insn array since so many need rewriting. |
| 1091 | * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align. |
| 1092 | * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from |
| 1093 | GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without |
| 1094 | nops. Adjust all uses. |
| 1095 | (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE |
| 1096 | in glink_vma calculation. |
| 1097 | (struct ppc_link_hash_table): Add global_entry section pointer. |
| 1098 | (create_linkage_sections): Create separate section for global |
| 1099 | entry stubs. |
| 1100 | (PPC_LO, PPC_HI, PPC_HA): Move earlier. |
| 1101 | (size_global_entry_stubs): Handle sizing for aligned stubs. |
| 1102 | (ppc64_elf_size_dynamic_sections): Handle global_entry alloc, |
| 1103 | and don't stash end of glink branch table in rawsize. |
| 1104 | (ppc_build_one_stub): Rewrite stub size calculations. |
| 1105 | (build_global_entry_stubs): Use new section. |
| 1106 | (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops. |
| 1107 | Build lazy link stubs out to end of section. Build global entry |
| 1108 | stubs in new section. |
| 1109 | |
| 1110 | 2018-01-15 Nick Clifton <nickc@redhat.com> |
| 1111 | |
| 1112 | * po/uk.po: Updated Ukranian translation. |
| 1113 | |
| 1114 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
| 1115 | |
| 1116 | * po/bfd.pot: Regenerated. |
| 1117 | |
| 1118 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
| 1119 | |
| 1120 | * version.m4: Bump version to 2.30.51 |
| 1121 | * configure: Regenerate. |
| 1122 | |
| 1123 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
| 1124 | |
| 1125 | 2.30 branch created. |
| 1126 | |
| 1127 | 2018-01-12 Jens Widell <jl@opera.com> |
| 1128 | |
| 1129 | * elf.c (setup_group): Optimize search for group by remembering |
| 1130 | last found group and restarting search at that index. |
| 1131 | * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field. |
| 1132 | |
| 1133 | 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net> |
| 1134 | |
| 1135 | * aoutx.h (aout_link_check_ar_symbols): Remove default and handle |
| 1136 | bfd_link_common_skip_none in switch. |
| 1137 | |
| 1138 | 2018-01-12 Alan Modra <amodra@gmail.com> |
| 1139 | |
| 1140 | PR ld/22649 |
| 1141 | * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic |
| 1142 | references on forced local symbols. |
| 1143 | |
| 1144 | 2018-01-12 Vlad Ivanov <vlad@ivanov.email> |
| 1145 | |
| 1146 | * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when |
| 1147 | .reginfo section has wrong size. |
| 1148 | |
| 1149 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
| 1150 | |
| 1151 | PR ld/22393 |
| 1152 | * elf.c (_bfd_elf_map_sections_to_segments): When generating |
| 1153 | separate code and read-only data LOAD segments, create a new |
| 1154 | LOAD segment if the previous section contains text and the |
| 1155 | current section doesn't or vice versa. Don't put a writable |
| 1156 | section in a read-only segment if there is a RELRO segment. |
| 1157 | |
| 1158 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
| 1159 | |
| 1160 | PR ld/22649 |
| 1161 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic |
| 1162 | references on forced local symbols. |
| 1163 | |
| 1164 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
| 1165 | |
| 1166 | PR ld/22677 |
| 1167 | * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY, |
| 1168 | INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section. |
| 1169 | |
| 1170 | 2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com> |
| 1171 | |
| 1172 | PR 22662 |
| 1173 | * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error. |
| 1174 | |
| 1175 | 2018-01-03 John Baldwin <jhb@FreeBSD.org> |
| 1176 | |
| 1177 | * elf.c (elfcore_grok_freebsd_note): Handle |
| 1178 | NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and |
| 1179 | NT_FREEBSD_PROCSTAT_VMMAP. |
| 1180 | |
| 1181 | 2018-01-03 Alan Modra <amodra@gmail.com> |
| 1182 | |
| 1183 | Update year range in copyright notice of all files. |
| 1184 | |
| 1185 | For older changes see ChangeLog-2017 |
| 1186 | \f |
| 1187 | Copyright (C) 2018 Free Software Foundation, Inc. |
| 1188 | |
| 1189 | Copying and distribution of this file, with or without modification, |
| 1190 | are permitted in any medium without royalty provided the copyright |
| 1191 | notice and this notice are preserved. |
| 1192 | |
| 1193 | Local Variables: |
| 1194 | mode: change-log |
| 1195 | left-margin: 8 |
| 1196 | fill-column: 74 |
| 1197 | version-control: never |
| 1198 | End: |