12018-01-27 Nick Clifton <nickc@redhat.com> 2 3 This is the 2.30 release: 4 5 * version.m4 (BFD_VERSION): Set to 2.30 6 * development.sh: Set to false. 7 * configure: Regenerate. 8 * po/bfd.pot: Regenerate. 9 102018-01-27 Nick Clifton <nickc@redhat.com> 11 12 * po/ru.po: Updated Russian translation. 13 142018-01-26 Alan Modra <amodra@gmail.com> 15 16 * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when 17 .branch_lt changes size. 18 192018-01-25 Eric Botcazou <ebotcazou@adacore.com> 20 21 PR ld/22727 22 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) <R_SPARC_TLS_GD_CALL>: 23 Do a mere lookup of the __tls_get_addr symbol instead of adding it. 24 25 Revert 26 2017-10-19 H.J. Lu <hongjiu.lu@intel.com> 27 28 PR ld/22263 29 * elfxx-sparc.c (sparc_elf_tls_transition): Replace 30 bfd_link_pic with !bfd_link_executable, !bfd_link_pic with 31 bfd_link_executable for TLS check. 32 (_bfd_sparc_elf_check_relocs): Likewise. 33 (allocate_dynrelocs): Likewise. 34 (_bfd_sparc_elf_relocate_section): Likewise. 35 362018-01-23 Nick Clifton <nickc@redhat.com> 37 38 * version.m4: Reset version number to 2.29.90. 39 * configure: Regenerate. 40 412018-01-20 H.J. Lu <hongjiu.lu@intel.com> 42 43 PR ld/22721 44 * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the 45 versioned __tls_get_addr symbol. 46 472018-01-19 Nick Clifton <nickc@redhat.com> 48 49 * po/fr.po: Updated French translation. 50 512018-01-18 Alan Modra <amodra@gmail.com> 52 53 * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink. 54 * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align. 55 (ppc64_elf_build_stubs): Likewise. 56 572018-01-18 Alan Modra <amodra@gmail.com> 58 59 * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier. 60 (CRSETEQ, BEQCTRM): Define. 61 (is_nonpic_glink_stub): Don't check bctr. 62 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. 63 (ppc_elf_relax_section): Size speculation barrier. 64 (output_bctr): New function. 65 (write_glink_stub): Use output_bctr. 66 (ppc_elf_relocate_section): Use output_bctr for long branch stub. 67 (ppc_elf_finish_dynamic_symbol): Likewise. 68 (ppc_elf_finish_dynamic_sections): Use output_bctr. 69 * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps. 70 * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define. 71 (GLINK_PLTRESOLVE_SIZE): Size speculation barrier. 72 (size_global_entry_stubs): Handle speculation barrier sizing. 73 (plt_stub_size): Likewise. 74 (output_bctr): New function. 75 (build_plt_stub, build_tls_get_addr_stub): Output speculation 76 barrier. 77 (ppc_build_one_stub): Likewise for ppc_stub_plt_branch. 78 (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch. 79 (build_global_entry_stubs): Output speculation barrier. 80 (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub. 81 * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps. 82 832018-01-18 Alan Modra <amodra@gmail.com> 84 85 * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning. 86 872018-01-18 Alan Modra <amodra@gmail.com> 88 89 * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle 90 __tls_get_addr_opt, and alignment sizing. 91 (TLS_GET_ADDR_GLINK_SIZE): Delete. 92 (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE. 93 (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6, 94 or 8 insns. 95 (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. 96 (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE. 97 (ppc_elf_size_dynamic_sections): Likewise. Size branch table 98 by PLT reloc count. 99 (write_glink_stub): Handle __tls_get_addr_opt stub. 100 Pad out to size given by GLINK_ENTRY_SIZE. 101 (ppc_elf_relocate_section): Adjust write_glink_stub call. 102 (ppc_elf_finish_dynamic_symbol): Likewise. 103 (ppc_elf_finish_dynamic_sections): Write PLTresolve without using 104 insn array since so many need rewriting. 105 * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align. 106 * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from 107 GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without 108 nops. Adjust all uses. 109 (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE 110 in glink_vma calculation. 111 (struct ppc_link_hash_table): Add global_entry section pointer. 112 (create_linkage_sections): Create separate section for global 113 entry stubs. 114 (PPC_LO, PPC_HI, PPC_HA): Move earlier. 115 (size_global_entry_stubs): Handle sizing for aligned stubs. 116 (ppc64_elf_size_dynamic_sections): Handle global_entry alloc, 117 and don't stash end of glink branch table in rawsize. 118 (ppc_build_one_stub): Rewrite stub size calculations. 119 (build_global_entry_stubs): Use new section. 120 (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops. 121 Build lazy link stubs out to end of section. Build global entry 122 stubs in new section. 123 1242018-01-17 Nick Clifton <nickc@redhat.com> 125 126 * po/ru.po: Updated Russian translation. 127 * po/uk/po: Updated Ukranian translation. 128 1292018-01-15 Nick Clifton <nickc@redhat.com> 130 131 * po/uk.po: Updated Ukranian translation. 132 1332018-01-13 Nick Clifton <nickc@redhat.com> 134 135 * version.m4 (BFD_VERSION): Change to 2.30.0. 136 * configure: Regenerate. 137 * po/bfd.pot: Regenerate. 138 1392018-01-13 Nick Clifton <nickc@redhat.com> 140 141 2.30 branch created. 142 1432018-01-12 Jens Widell <jl@opera.com> 144 145 * elf.c (setup_group): Optimize search for group by remembering 146 last found group and restarting search at that index. 147 * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field. 148 1492018-01-12 Gunther Nikl <gnikl@users.sourceforge.net> 150 151 * aoutx.h (aout_link_check_ar_symbols): Remove default and handle 152 bfd_link_common_skip_none in switch. 153 1542018-01-12 Alan Modra <amodra@gmail.com> 155 156 PR ld/22649 157 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic 158 references on forced local symbols. 159 1602018-01-12 Vlad Ivanov <vlad@ivanov.email> 161 162 * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when 163 .reginfo section has wrong size. 164 1652018-01-11 H.J. Lu <hongjiu.lu@intel.com> 166 167 PR ld/22393 168 * elf.c (_bfd_elf_map_sections_to_segments): When generating 169 separate code and read-only data LOAD segments, create a new 170 LOAD segment if the previous section contains text and the 171 current section doesn't or vice versa. Don't put a writable 172 section in a read-only segment if there is a RELRO segment. 173 1742018-01-11 H.J. Lu <hongjiu.lu@intel.com> 175 176 PR ld/22649 177 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic 178 references on forced local symbols. 179 1802018-01-11 H.J. Lu <hongjiu.lu@intel.com> 181 182 PR ld/22677 183 * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY, 184 INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section. 185 1862017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com> 187 188 PR 22662 189 * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error. 190 1912018-01-03 John Baldwin <jhb@FreeBSD.org> 192 193 * elf.c (elfcore_grok_freebsd_note): Handle 194 NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and 195 NT_FREEBSD_PROCSTAT_VMMAP. 196 1972018-01-03 Alan Modra <amodra@gmail.com> 198 199 Update year range in copyright notice of all files. 200 201For older changes see ChangeLog-2017 202 203Copyright (C) 2018 Free Software Foundation, Inc. 204 205Copying and distribution of this file, with or without modification, 206are permitted in any medium without royalty provided the copyright 207notice and this notice are preserved. 208 209Local Variables: 210mode: change-log 211left-margin: 8 212fill-column: 74 213version-control: never 214End: 215