1 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/ld-elf/group1.d: Also xfail Solaris.
5 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
7 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
8 PLT/GOT order/layout for Solaris/x86 targets.
9 * testsuite/ld-elf/linkinfo1b.d: Likewise.
11 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
14 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
16 (elf_solaris2_before_allocation): This.
17 (LDEMUL_AFTER_ALLOCATION): Removed.
19 2018-01-18 Alan Modra <amodra@gmail.com>
21 * emultempl/ppc32elf.em: Support optional --plt-align arg.
22 * emultempl/ppc64elf.em: Support negative --plt-align arg.
24 2018-01-17 Alan Modra <amodra@gmail.com>
26 * emultempl/ppc32elf.em (params): Init new field.
27 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
28 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
29 (PARSE_AND_LIST_LONGOPTS): Handle new options.
30 (PARSE_AND_LIST_ARGS_CASES): Likewise.
31 (PARSE_AND_LIST_OPTIONS): Likewise.
32 * emultempl/ppc64elf.em (params): Init new field.
33 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
34 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
35 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
36 (PARSE_AND_LIST_OPTIONS): Likewise.
37 (PARSE_AND_LIST_ARGS_CASES): Likewise.
38 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
39 (--speculate-indirect-jumps): Document.
40 * testsuite/ld-powerpc/elfv2exe.d,
41 * testsuite/ld-powerpc/elfv2so.d,
42 * testsuite/ld-powerpc/relbrlt.d,
43 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
44 speculation barriers on various tests.
46 2018-01-17 Alan Modra <amodra@gmail.com>
48 * emultempl/ppc32elf.em (params): Init new field.
49 (enum ppc32_opt): New enum to define OPTION_* values. Add
50 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
51 (PARSE_AND_LIST_LONGOPTS): Handle new options.
52 (PARSE_AND_LIST_ARGS_CASES): Likewise.
53 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
54 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
55 correctly for negative --plt-stub-align.
56 * testsuite/ld-powerpc/elfv2exe.d,
57 * testsuite/ld-powerpc/elfv2so.d,
58 * testsuite/ld-powerpc/relbrlt.d,
59 * testsuite/ld-powerpc/relbrlt.s,
60 * testsuite/ld-powerpc/tlsexe.d,
61 * testsuite/ld-powerpc/tlsexe.r,
62 * testsuite/ld-powerpc/tlsexe32.d,
63 * testsuite/ld-powerpc/tlsexe32.g,
64 * testsuite/ld-powerpc/tlsexe32.r,
65 * testsuite/ld-powerpc/tlsexetoc.d,
66 * testsuite/ld-powerpc/tlsexetoc.r,
67 * testsuite/ld-powerpc/tlsopt5_32.d,
68 * testsuite/ld-powerpc/tlsso.d,
69 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
71 2018-01-16 Nick Clifton <nickc@redhat.com>
73 * po/pt_BR.po: Updated Brazilian Portugese translation.
75 2018-01-15 Nick Clifton <nickc@redhat.com>
77 * po/uk.po: Updated Ukranian translation.
79 2018-01-13 Nick Clifton <nickc@redhat.com>
81 * po/ld.pot: Regenerated.
83 2018-01-13 Nick Clifton <nickc@redhat.com>
85 * configure: Regenerate.
87 2018-01-13 Nick Clifton <nickc@redhat.com>
90 * NEWS: Add marker for 2.30.
92 2018-01-12 Alan Modra <amodra@gmail.com>
94 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
95 initialization" for currently failing targets.
97 2018-01-12 Alan Modra <amodra@gmail.com>
100 * testsuite/ld-elf/pr22649.msg: Allow other messages.
101 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
102 supported before running ld/22649 tests.
104 2018-01-12 Nick Clifton <nickc@redhat.com>
106 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
107 as the opposite of "-z defs".
108 * ld.texinfo: Document the new option. Update the description of
109 the -z defs option to make it clear that it does generate an error
110 if an undefined symbol reference is found in an object file whilst
111 creating a shared library.
112 * NEWS: Document this new feature.
114 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
116 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
118 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
119 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
120 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
122 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
125 * testsuite/ld-x86-64/pr22393-3a.c: New file.
126 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
127 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
128 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
129 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
130 -z max-page-size=0x1000.
132 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
135 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
136 * testsuite/ld-elf/pr22393-1.s: New file.
137 * testsuite/ld-elf/pr22393-1a.d: Likewise.
138 * testsuite/ld-elf/pr22393-1b.d: Likewise.
139 * testsuite/ld-elf/pr22393-1c.d: Likewise.
140 * testsuite/ld-elf/pr22393-1d.d: Likewise.
141 * testsuite/ld-elf/pr22393-1e.d: Likewise.
142 * testsuite/ld-elf/pr22393-1f.d: Likewise.
143 * testsuite/ld-elf/pr22393-2a.c: Likewise.
144 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
145 * testsuite/ld-elf/pr22393-2b.c: Likewise.
146 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
147 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
149 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
152 * NEWS: Mention "-z separate-code".
153 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
154 builtin linker scripts and return linker scripts from disk for
156 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
157 and "-z noseparate-code".
158 * genscripts.sh: Generate linker scripts for "-z separate-code".
159 (LD_FLAG): Set to *textonly for "-z separate-code".
160 * ld.texinfo: Document "-z separate-code".
161 * lexsup.c (elf_shlib_list_options): Add linker help messsages
162 for "-z separate-code" and "-z noseparate-code".
163 * scripttempl/elf.sc (SEPARATE_TEXT): New
164 (TEXT_SEGMENT_ALIGN): Likewise.
165 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
168 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
171 * testsuite/ld-elf/pr22649-1.s: New file.
172 * testsuite/ld-elf/pr22649-2a.s: Likewise.
173 * testsuite/ld-elf/pr22649-2b.s: Likewise.
174 * testsuite/ld-elf/pr22649.msg: Likewise.
175 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
177 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
180 * scripttempl/elf.sc (PREINIT_ARRAY): New.
181 Don't add .preinit_array for ld -r.
182 * testsuite/ld-elf/pr22677.d: New file.
183 * testsuite/ld-elf/pr22677.s: Likewise.
185 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
187 * ldexp.h (union etree_union): Remove defsym field.
188 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
190 (exp_assign): Remove passing of defsym parameter.
191 (exp_defsym): Likewise.
192 (exp_provide): Likewise.
194 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
196 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
197 nodes are ignored in the tree walk, and move the location at which
198 we change provide nodes into provided nodes.
199 (exp_init_os): Add etree_provided.
200 * testsuite/ld-scripts/provide-6.d: New file.
201 * testsuite/ld-scripts/provide-6.t: New file.
202 * testsuite/ld-scripts/provide-7.d: New file.
203 * testsuite/ld-scripts/provide-7.t: New file.
204 * testsuite/ld-scripts/provide-8.d: New file.
205 * testsuite/ld-scripts/provide-8.t: New file.
207 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
209 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
210 * testsuite/ld-scripts/provide-4.d: Use new map file name.
211 * testsuite/ld-scripts/provide-5.d: Use new map file name.
212 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
213 * testsuite/ld-scripts/provide-4.map: ...this.
214 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
215 * testsuite/ld-scripts/provide-5.map: ...this.
216 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
217 file, and run tests in a loop.
219 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
221 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
223 * testsuite/ld-scripts/provide-4.map: Update expected output.
224 * testsuite/ld-scripts/provide-5.map: Likewise.
226 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
229 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
231 2018-01-09 Jim Wilson <jimw@sifive.com>
233 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
234 (#alltargets): Renamed from #target. Add shared.
235 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
236 Document alltargets option. Add support for alltargets option.
237 (istarget): Add support for shared target.
239 2018-01-08 Jim Wilson <jimw@sifive.com>
241 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
243 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
244 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
245 tests, add call to check_shared_lib_support.
247 2018-01-05 Jim Wilson <jimw@sifive.com>
249 * testsuite/ld-riscv-elf/disas-jalr.d: New.
250 * testsuite/ld-riscv-elf/disas-jalr.s: New.
251 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
253 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
254 case on $target, and don't set for riscv*-elf targets.
255 (GENERATE_PIE_SCRIPT): Likewise.
257 2018-01-03 Alan Modra <amodra@gmail.com>
259 Update year range in copyright notice of all files.
261 For older changes see ChangeLog-2017
263 Copyright (C) 2018 Free Software Foundation, Inc.
265 Copying and distribution of this file, with or without modification,
266 are permitted in any medium without royalty provided the copyright
267 notice and this notice are preserved.
273 version-control: never