x86: Don't set eh->local_ref to 1 for linker defined symbols
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
011b32fd
L
12018-05-18 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/23189
4 * testsuite/ld-i386/i386.exp: Run pr23189.
5 * testsuite/ld-x86-64/x86-64.exp: Likewise.
6 * testsuite/ld-i386/pr23189.d: New file.
7 * testsuite/ld-i386/pr23189.s: Likewise.
8 * testsuite/ld-i386/pr23189.t: Likewise.
9 * testsuite/ld-x86-64/pr23189.d: Likewise.
10 * testsuite/ld-x86-64/pr23189.s: Likewise.
11 * testsuite/ld-x86-64/pr23189.t: Likewise.
12
aa82c0d3
AM
132018-05-15 Alan Modra <amodra@gmail.com>
14
15 * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
16
864bb26c
NC
172018-05-14 Nick Clifton <nickc@redhat.com>
18
19 * testsuite/ld-elf/notes.exp: New file: Run new test.
20 * testsuite/ld-elf/note1_1.s: New file: Source file for test.
21 * testsuite/ld-elf/note1_2.s: New file: Source file for test.
22 * testsuite/ld-elf/note1.r: New file: Expected readelf output.
23
4ec09950
L
242018-05-14 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR ld/23169
27 * testsuite/ld-ifunc/ifunc-9-i386.d: New file.
28 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
29 * testsuite/ld-ifunc/pr23169a.c: Likewise.
30 * testsuite/ld-ifunc/pr23169a.rd: Likewise.
31 * testsuite/ld-ifunc/pr23169b.c: Likewise.
32 * testsuite/ld-ifunc/pr23169b.c: Likewise.
33 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
34 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
35 * testsuite/ld-ifunc/ifunc-9-x86.d: Removed.
36 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests.
37
9bc935ef
L
382018-05-14 H.J. Lu <hongjiu.lu@intel.com>
39
40 PR ld/23162
41 * testsuite/ld-elf/pr23162.map: New file.
42 * testsuite/ld-elf/pr23162.rd: Likewise.
43 * testsuite/ld-elf/pr23162a.c: Likewise.
44 * testsuite/ld-elf/pr23162b.c: Likewise.
45 * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests.
46
9933dc52
AM
472018-05-12 Alan Modra <amodra@gmail.com>
48
49 PR 20659
50 * testsuite/ld-elf/changelma.d,
51 * testsuite/ld-elf/changelma.lnk,
52 * testsuite/ld-elf/changelma.s: New test.
53
493ffac5
DD
542018-05-09 2018-05-02 Dimitar Dimitrov <dimitar@dinux.eu>
55
56 * scripttempl/pru.sc: Add LD sections to allow linking TI
57 toolchain object files.
58 * scripttempl/pru.sc: Switch to init_array.
59 * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI.
60 * testsuite/ld-pru/norelax_ldi32-data.d: Likewise.
61 * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise.
62 * testsuite/ld-pru/relax_ldi32-data.d: Likewise.
63 * testsuite/ld-pru/relax_ldi32-dis.d: Likewise.
64
a7287b94
AM
652018-05-09 Alan Modra <amodra@gmail.com>
66
67 * po/BLD-POTFILES.in: Regenerate.
68
10d98088
JW
692018-05-08 Jim Wilson <jimw@sifive.com>
70
71 PR ld/22962
72 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c,
73 eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c.
74 (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules.
75 (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules.
76 * Makefile.in: Regenerated.
77 * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New.
78 * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX.
79 * ld/emulparams/elf32lriscv_ilp32.sh: New.
80 * ld/emulparams/elf32lriscv_ilp32f.sh: New.
81 * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here.
82 * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX.
83 * ld/emulparams/elf64lriscv_lp64.sh: New.
84 * ld/emulparams/elf64lriscv_lp64f.sh: New.
85 * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to
86 a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix.
87 (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses
88 inside loop to libpath_suffix.
89
d1e9de16
JW
902018-05-03 Jim Wilson <jimw@sifive.com>
91
92 * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies.
93
3be08ea4
SA
942018-05-03 Simon Atanasyan <simon@atanasyan.com>
95
96 * testsuite/ld-mips-elf/gp-disp-sym.d: New test.
97 * testsuite/ld-mips-elf/gp-disp-sym.s: New test source.
98 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
99 * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp
100 symbol removal.
101 * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise.
102 * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
103 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise.
104 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise.
105 * testsuite/ld-mips-elf/tlslib-o32.got: Likewise.
106
197b262f
MR
1072018-04-27 Maciej W. Rozycki <macro@mips.com>
108
109 * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for
110 `check_shared_lib_support' targets.
111 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
112 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
113 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
114 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
115 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
116 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
117 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
118 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
119 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
120 Likewise.
121 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
122 Likewise.
123 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
124 Likewise.
125 * testsuite/ld-mips-elf/hash1a.d: Likewise.
126 * testsuite/ld-mips-elf/hash1b.d: Likewise.
127 * testsuite/ld-mips-elf/hash1c.d: Likewise.
128 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
129 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
130
6d9dabbb
MR
1312018-04-27 Maciej W. Rozycki <macro@mips.com>
132
133 * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
134 in place of `istarget' for matching with `target', `alltargets'
135 and `notarget' options.
136
ffa389a3
AM
1372018-04-27 Alan Modra <amodra@gmail.com>
138
139 * po/BLD-POTFILES.in: Regenerate.
140
aa684341
CL
1412018-04-26 Christophe Lyon <christophe.lyon@linaro.org>
142
143 * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for
144 new variable name.
145 * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
146
f1ac0afe
CL
1472018-04-25 Christophe Lyon <christophe.lyon@st.com>
148
149 * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi.
150 * testsuite/ld-discard/discard.exp: Likewise.
151 * testsuite/ld-elf/binutils.exp: Likewise.
152 * testsuite/ld-elf/commonpage1.d: Likewise.
153 * testsuite/ld-elf/compress1c.d: Likewise.
154 * testsuite/ld-elf/compressed1b.d: Likewise.
155 * testsuite/ld-elf/compressed1c.d: Likewise.
156 * testsuite/ld-elf/compressed1e.d: Likewise.
157 * testsuite/ld-elf/dynamic1.d: Likewise.
158 * testsuite/ld-elf/dynsym1.d: Likewise.
159 * testsuite/ld-elf/ehdr_start-missing.d: Likewise.
160 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
161 * testsuite/ld-elf/ehdr_start-userdef.d: Likewise.
162 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
163 * testsuite/ld-elf/ehdr_start.d: Likewise.
164 * testsuite/ld-elf/exclude3b.d: Likewise.
165 * testsuite/ld-elf/export-class.exp: Likewise.
166 * testsuite/ld-elf/global1.d: Likewise.
167 * testsuite/ld-elf/hash.d: Likewise.
168 * testsuite/ld-elf/header.d: Likewise.
169 * testsuite/ld-elf/loadaddr1.d: Likewise.
170 * testsuite/ld-elf/loadaddr2.d: Likewise.
171 * testsuite/ld-elf/loadaddr3a.d: Likewise.
172 * testsuite/ld-elf/loadaddr3b.d: Likewise.
173 * testsuite/ld-elf/local1.d: Likewise.
174 * testsuite/ld-elf/maxpage1.d: Likewise.
175 * testsuite/ld-elf/maxpage2.d: Likewise.
176 * testsuite/ld-elf/maxpage3a.d: Likewise.
177 * testsuite/ld-elf/mbind1a.d: Likewise.
178 * testsuite/ld-elf/mbind1b.d: Likewise.
179 * testsuite/ld-elf/mbind1c.d: Likewise.
180 * testsuite/ld-elf/multibss1.d: Likewise.
181 * testsuite/ld-elf/noload-2.d: Likewise.
182 * testsuite/ld-elf/now-1.d: Likewise.
183 * testsuite/ld-elf/now-2.d: Likewise.
184 * testsuite/ld-elf/now-3.d: Likewise.
185 * testsuite/ld-elf/now-4.d: Likewise.
186 * testsuite/ld-elf/pie.d: Likewise.
187 * testsuite/ld-elf/pr12975.d: Likewise.
188 * testsuite/ld-elf/pr13177.d: Likewise.
189 * testsuite/ld-elf/pr13195.d: Likewise.
190 * testsuite/ld-elf/pr16322.d: Likewise.
191 * testsuite/ld-elf/pr16498a.d: Likewise.
192 * testsuite/ld-elf/pr16498b.d: Likewise.
193 * testsuite/ld-elf/pr17615.d: Likewise.
194 * testsuite/ld-elf/pr19162.d: Likewise.
195 * testsuite/ld-elf/pr19539.d: Likewise.
196 * testsuite/ld-elf/pr19617a.d: Likewise.
197 * testsuite/ld-elf/pr19617b.d: Likewise.
198 * testsuite/ld-elf/pr19617c.d: Likewise.
199 * testsuite/ld-elf/pr19698.d: Likewise.
200 * testsuite/ld-elf/pr19789.d: Likewise.
201 * testsuite/ld-elf/pr20513c.d: Likewise.
202 * testsuite/ld-elf/pr20513d.d: Likewise.
203 * testsuite/ld-elf/pr21384.d: Likewise.
204 * testsuite/ld-elf/pr21389a.d: Likewise.
205 * testsuite/ld-elf/pr21389b.d: Likewise.
206 * testsuite/ld-elf/pr21389c.d: Likewise.
207 * testsuite/ld-elf/pr21562a.d: Likewise.
208 * testsuite/ld-elf/pr21562b.d: Likewise.
209 * testsuite/ld-elf/pr21562c.d: Likewise.
210 * testsuite/ld-elf/pr21562d.d: Likewise.
211 * testsuite/ld-elf/pr21562e.d: Likewise.
212 * testsuite/ld-elf/pr21562f.d: Likewise.
213 * testsuite/ld-elf/pr21562g.d: Likewise.
214 * testsuite/ld-elf/pr21562h.d: Likewise.
215 * testsuite/ld-elf/pr21562i.d: Likewise.
216 * testsuite/ld-elf/pr21562j.d: Likewise.
217 * testsuite/ld-elf/pr21562k.d: Likewise.
218 * testsuite/ld-elf/pr21562l.d: Likewise.
219 * testsuite/ld-elf/pr21562m.d: Likewise.
220 * testsuite/ld-elf/pr21562n.d: Likewise.
221 * testsuite/ld-elf/pr21903a.d: Likewise.
222 * testsuite/ld-elf/pr21903b.d: Likewise.
223 * testsuite/ld-elf/pr21903d.d: Likewise.
224 * testsuite/ld-elf/pr22269a.d: Likewise.
225 * testsuite/ld-elf/pr22269b.d: Likewise.
226 * testsuite/ld-elf/pr22393-1a.d: Likewise.
227 * testsuite/ld-elf/pr22393-1b.d: Likewise.
228 * testsuite/ld-elf/pr22393-1c.d: Likewise.
229 * testsuite/ld-elf/pr22393-1d.d: Likewise.
230 * testsuite/ld-elf/pr22393-1e.d: Likewise.
231 * testsuite/ld-elf/pr22393-1f.d: Likewise.
232 * testsuite/ld-elf/pr22423.d: Likewise.
233 * testsuite/ld-elf/rpath-1.d: Likewise.
234 * testsuite/ld-elf/rpath-2.d: Likewise.
235 * testsuite/ld-elf/runpath-1.d: Likewise.
236 * testsuite/ld-elf/runpath-2.d: Likewise.
237 * testsuite/ld-elf/seg.d: Likewise.
238 * testsuite/ld-elf/sizeofb.d: Likewise.
239 * testsuite/ld-elf/startofb.d: Likewise.
240 * testsuite/ld-elf/strtab.d: Likewise.
241 * testsuite/ld-elf/textaddr1.d: Likewise.
242 * testsuite/ld-elf/textaddr2.d: Likewise.
243 * testsuite/ld-elf/textaddr3.d: Likewise.
244 * testsuite/ld-elf/textaddr4.d: Likewise.
245 * testsuite/ld-elf/textaddr5.d: Likewise.
246 * testsuite/ld-elf/textaddr6.d: Likewise.
247 * testsuite/ld-elf/textaddr7.d: Likewise.
248 * testsuite/ld-elf/tls.exp: Likewise.
249 * testsuite/ld-elf/tls_common.exp: Likewise.
250 * testsuite/ld-elf/unknown2.d: Likewise.
251 * testsuite/ld-gc/abi-note.d: Likewise.
252 * testsuite/ld-gc/pr11218.d: Likewise.
253 * testsuite/ld-gc/pr19167.d: Likewise.
254 * testsuite/ld-gc/pr20022.d: Likewise.
255 * testsuite/ld-gc/start.d: Likewise.
256 * testsuite/ld-gc/stop.d: Likewise.
257 * testsuite/ld-scripts/phdrs2.exp: Likewise.
258 * testsuite/ld-scripts/rgn-at5.d: Likewise.
259 * testsuite/ld-undefined/entry-3.d: Likewise.
260 * testsuite/ld-undefined/entry-4.d: Likewise.
261
59029f57
CL
2622018-04-25 Christophe Lyon <christophe.lyon@st.com>
263 Mickaël Guêné <mickael.guene@st.com>
264
265 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests.
266 * testsuite/ld-arm/fdpic-main-m.d: New test.
267 * testsuite/ld-arm/fdpic-main-m.s: New.
268 * testsuite/ld-arm/fdpic-main-m.sym: New.
269 * testsuite/ld-arm/fdpic-shared-m.d: New test.
270 * testsuite/ld-arm/fdpic-shared-m.s: New.
271 * testsuite/ld-arm/fdpic-shared-m.sym: New.
272
4b86cbe9
CL
2732018-04-25 Christophe Lyon <christophe.lyon@st.com>
274 Mickaël Guêné <mickael.guene@st.com>
275
276 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests.
277 * testsuite/ld-arm/fdpic-main.d: New test.
278 * testsuite/ld-arm/fdpic-main.ld: New.
279 * testsuite/ld-arm/fdpic-main.r: New.
280 * testsuite/ld-arm/fdpic-main.s: New.
281 * testsuite/ld-arm/fdpic-main.sym: New.
282 * testsuite/ld-arm/fdpic-shared.d: New test.
283 * testsuite/ld-arm/fdpic-shared.ld: New.
284 * testsuite/ld-arm/fdpic-shared.r: New.
285 * testsuite/ld-arm/fdpic-shared.s: New.
286 * testsuite/ld-arm/fdpic-shared.sym: New.
287
f350fc2e
CL
2882018-04-25 Christophe Lyon <christophe.lyon@st.com>
289 Mickaël Guêné <mickael.guene@st.com>
290
291 * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
292 time1.
293
5c5a4843
CL
2942018-04-25 Christophe Lyon <christophe.lyon@st.com>
295 Mickaël Guêné <mickael.guene@st.com>
296
297 * scripttempl/elf.sc: Define __tdata_start for .tdata section.
298
e8b09b87
CL
2992018-04-25 Christophe Lyon <christophe.lyon@st.com>
300 Mickaël Guêné <mickael.guene@st.com>
301
302 * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
303
617a5ada
CL
3042018-04-25 Christophe Lyon <christophe.lyon@st.com>
305 Mickaël Guêné <mickael.guene@st.com>
306
307 * Makefile.am (ALL_EMULATION_SOURCES): Add
308 earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
309 (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
310 * Makefile.in: Regenerate.
311 * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
312 * emulparams/armelf_linux_fdpiceabi.sh: New.
313 * emulparams/armelfb_linux_fdpiceabi.sh: New.
314
2ac93be7
AM
3152018-04-25 Alan Modra <amodra@gmail.com>
316
317 * Makefile.am: Remove arm-aout and arm-coff support.
318 * configure.tgt: Likewise.
319 * testsuite/ld-arm/attr-merge-div-00.d: Likewise.
320 * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
321 * testsuite/ld-arm/attr-merge-div-01.d: Likewise.
322 * testsuite/ld-arm/attr-merge-div-02.d: Likewise.
323 * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
324 * testsuite/ld-arm/attr-merge-div-10.d: Likewise.
325 * testsuite/ld-arm/attr-merge-div-11.d: Likewise.
326 * testsuite/ld-arm/attr-merge-div-12.d: Likewise.
327 * testsuite/ld-arm/attr-merge-div-120.d: Likewise.
328 * testsuite/ld-arm/attr-merge-div-20.d: Likewise.
329 * testsuite/ld-arm/attr-merge-div-21.d: Likewise.
330 * testsuite/ld-arm/attr-merge-div-22.d: Likewise.
331 * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
332 * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
333 * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
334 * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
335 * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
336 * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
337 * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
338 * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
339 * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
340 * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
341 * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
342 * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
343 * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
344 * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
345 * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
346 * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
347 * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
348 * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
349 * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
350 * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
351 * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
352 * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
353 * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
354 * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
355 * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
356 * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
357 * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
358 * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
359 * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
360 * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
361 * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
362 * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
363 * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
364 * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
365 * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
366 * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
367 * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
368 * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
369 * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
370 * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
371 * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
372 * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
373 * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
374 * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
375 * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
376 * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
377 * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
378 * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
379 * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
380 * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
381 * testsuite/ld-arm/eabi-hard-float.d: Likewise.
382 * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
383 * testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
384 * testsuite/ld-arm/eabi-soft-float.d: Likewise.
385 * testsuite/ld-arm/gc-hidden-1.d: Likewise.
386 * emulparams/armaoutb.sh: Delete.
387 * emulparams/armaoutl.sh: Delete.
388 * emulparams/armcoff.sh: Delete.
389 * emulparams/armnbsd.sh: Delete.
390 * emulparams/riscix.sh: Delete.
391 * scripttempl/armaout.sc: Delete.
392 * scripttempl/armcoff.sc: Delete.
393 * scripttempl/riscix.sc: Delete.
394 * Makefile.in: Regenerate.
395 * po/BLD-POTFILES.in: Regenerate.
396
5a8edf8e
AM
3972018-04-21 Alan Modra <amodra@gmail.com>
398
399 * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B
400 works.
401
c65c21e1
AM
4022018-04-18 Alan Modra <amodra@gmail.com>
403
404 * Makefile.am: Remove support for assorted i386 aout and coff targets.
405 * configure.tgt: Likewise.
406 * testsuite/ld-discard/discard.exp: Likewise.
407 * testsuite/ld-elf/binutils.exp: Likewise.
408 * testsuite/ld-elf/tls.exp: Likewise.
409 * testsuite/ld-elf/tls_common.exp: Likewise.
410 * testsuite/ld-elfvers/vers.exp: Likewise.
411 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
412 * testsuite/ld-elfweak/elfweak.exp: Likewise.
413 * testsuite/ld-gc/abi-note.d: Likewise.
414 * testsuite/ld-gc/pr19167.d: Likewise.
415 * testsuite/ld-gc/pr20022.d: Likewise.
416 * testsuite/ld-gc/start.d: Likewise.
417 * testsuite/ld-gc/stop.d: Likewise.
418 * testsuite/ld-i386/i386.exp: Likewise.
419 * testsuite/ld-ifunc/binutils.exp: Likewise.
420 * testsuite/ld-ifunc/ifunc.exp: Likewise.
421 * testsuite/ld-linkonce/linkonce.exp: Likewise.
422 * testsuite/ld-plugin/lto.exp: Likewise.
423 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
424 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
425 * testsuite/ld-scripts/phdrs2.exp: Likewise.
426 * testsuite/ld-scripts/section-match-1.d: Likewise.
427 * testsuite/ld-shared/shared.exp: Likewise.
428 * testsuite/ld-size/size.exp: Likewise.
429 * testsuite/ld-sparc/sparc.exp: Likewise.
430 * emulparams/i386coff.sh: Delete.
431 * emulparams/i386linux.sh: Delete.
432 * emulparams/i386mach.sh: Delete.
433 * emulparams/i386nbsd.sh: Delete.
434 * emulparams/vsta.sh: Delete.
435 * scripttempl/i386coff.sc: Delete.
436 * Makefile.in: Regenerate.
437 * po/BLD-POTFILES.in: Regenerate.
438
884d4d8a 4392018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
3f0a5f17
ME
440
441 Microblaze Target: PIC data text relative
442
443 * ld/lexsup.c (Add 2 ld options):
444 (ld_options): add disable-multiple-abs-defs @ 'ld_options' array
445 (parse_args): parse new option and pass flag to 'link_info' struct.
446 * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum.
447 * ld/ld.texinfo (Add new option): Add description for
448 'disable-multiple-abs-defs'
449 * ld/main.c: Initialize flags with false @ 'main'. Handle
450 disable-multiple-abs-defs @ 'mutiple_definition'.
451
fc7aa874
AM
4522018-04-16 Alan Modra <amodra@gmail.com>
453
454 * emultempl/sunos.em: Delete.
455
ddb00039
AM
4562018-04-16 Alan Modra <amodra@gmail.com>
457
458 * Makefile.am: Remove arm-epoc-pe support.
459 * configure.tgt: Likewise.
460 * emultempl/pe.em: Likewise.
461 * pe-dll.c: Likewise.
462 * testsuite/ld-scripts/fill.d: Likewise.
463 * testsuite/ld-scripts/fill16.d: Likewise.
464 * emulparams/arm_epoc_pe.sh: Delete.
465 * scripttempl/epocpe.sc: Delete.
466 * Makefile.in: Regenerate.
467 * po/BLD-POTFILES.in: Regenerate.
468
c9098af4
AM
4692018-04-16 Alan Modra <amodra@gmail.com>
470
471 * Makefile.am: Remove sparc-aout and sparc-coff support.
472 * configure.tgt: Likewise.
473 * testsuite/ld-elfvers/vers.exp: Likewise.
474 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
475 * testsuite/ld-elfweak/elfweak.exp: Likewise.
476 * testsuite/ld-shared/shared.exp: Likewise.
477 * emulparams/coff_sparc.sh: Delete.
478 * emulparams/sparcaout.sh: Delete.
479 * emulparams/sparclinux.sh: Delete.
480 * emulparams/sparcnbsd.sh: Delete.
481 * emulparams/sun4.sh: Delete.
482 * scripttempl/sparccoff.sc: Delete.
483 * Makefile.in: Regenerate.
484 * po/BLD-POTFILES.in: Regenerate.
485
dc12032b
AM
4862018-04-16 Alan Modra <amodra@gmail.com>
487
488 * Makefile.am: Remove m68k-aout and m68k-coff support.
489 * configure.tgt: Likewise.
490 * emultempl/m68kelf.em: Likewise.
491 * ld.texinfo: Likewise.
492 * mri.c: Likewise.
493 * emulparams/delta68.sh: Delete.
494 * emulparams/hp300bsd.sh: Delete.
495 * emulparams/hp3hpux.sh: Delete.
496 * emulparams/m68k4knbsd.sh: Delete.
497 * emulparams/m68kaout.sh: Delete.
498 * emulparams/m68kaux.sh: Delete.
499 * emulparams/m68kcoff.sh: Delete.
500 * emulparams/m68klinux.sh: Delete.
501 * emulparams/m68knbsd.sh: Delete.
502 * emulparams/m68kpsos.sh: Delete.
503 * emulparams/sun3.sh: Delete.
504 * emultempl/m68kcoff.em: Delete.
505 * scripttempl/delta68.sc: Delete.
506 * scripttempl/m68kaux.sc: Delete.
507 * scripttempl/m68kcoff.sc: Delete.
508 * scripttempl/psos.sc: Delete.
509 * testsuite/ld-versados/t1-1.ro: Delete.
510 * testsuite/ld-versados/t1-2.ro: Delete.
511 * testsuite/ld-versados/t1.ld: Delete.
512 * testsuite/ld-versados/t1.ook: Delete.
513 * testsuite/ld-versados/t2-1.ro: Delete.
514 * testsuite/ld-versados/t2-2.ro: Delete.
515 * testsuite/ld-versados/t2-3.ro: Delete.
516 * testsuite/ld-versados/t2.ld: Delete.
517 * testsuite/ld-versados/t2.ook: Delete.
518 * testsuite/ld-versados/versados.exp: Delete.
519 * Makefile.in: Regenerate.
520 * po/BLD-POTFILES.in: Regenerate.
521
211dc24b
AM
5222018-04-16 Alan Modra <amodra@gmail.com>
523
524 * Makefile.am: Remove sh5 and sh64 support.
525 * configure.tgt: Likewise.
526 * ldlang.c: Likewise.
527 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
528 * testsuite/ld-gc/gc.exp: Likewise.
529 * testsuite/ld-gc/pr13683.d: Likewise.
530 * testsuite/ld-scripts/crossref.exp: Likewise.
531 * testsuite/ld-selective/selective.exp: Likewise.
532 * testsuite/ld-sh/ld-r-1.d: Likewise.
533 * testsuite/ld-sh/rd-sh.exp: Likewise.
534 * testsuite/ld-sh/sh.exp: Likewise.
535 * testsuite/ld-srec/srec.exp: Likewise.
536 * testsuite/ld-undefined/undefined.exp: Likewise.
537 * emulparams/shelf32.sh: Delete.
538 * emulparams/shelf32_linux.sh: Delete.
539 * emulparams/shelf32_nbsd.sh: Delete.
540 * emulparams/shelf64.sh: Delete.
541 * emulparams/shelf64_nbsd.sh: Delete.
542 * emulparams/shlelf32.sh: Delete.
543 * emulparams/shlelf32_linux.sh: Delete.
544 * emulparams/shlelf32_nbsd.sh: Delete.
545 * emulparams/shlelf64.sh: Delete.
546 * emulparams/shlelf64_nbsd.sh: Delete.
547 * emultempl/sh64elf.em: Delete.
548 * testsuite/ld-sh/sh64/abi32.sd: Delete.
549 * testsuite/ld-sh/sh64/abi32.xd: Delete.
550 * testsuite/ld-sh/sh64/abi64.sd: Delete.
551 * testsuite/ld-sh/sh64/abi64.xd: Delete.
552 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
553 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
554 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
555 * testsuite/ld-sh/sh64/crange-1.s: Delete.
556 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
557 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
558 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
559 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
560 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
561 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
562 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
563 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
564 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
565 * testsuite/ld-sh/sh64/crange1.rd: Delete.
566 * testsuite/ld-sh/sh64/crange2.rd: Delete.
567 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
568 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
569 * testsuite/ld-sh/sh64/crange3.dd: Delete.
570 * testsuite/ld-sh/sh64/crange3.rd: Delete.
571 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
572 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
573 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
574 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
575 * testsuite/ld-sh/sh64/endian.dbd: Delete.
576 * testsuite/ld-sh/sh64/endian.dld: Delete.
577 * testsuite/ld-sh/sh64/endian.ld: Delete.
578 * testsuite/ld-sh/sh64/endian.s: Delete.
579 * testsuite/ld-sh/sh64/endian.sbd: Delete.
580 * testsuite/ld-sh/sh64/endian.sld: Delete.
581 * testsuite/ld-sh/sh64/gotplt.d: Delete.
582 * testsuite/ld-sh/sh64/gotplt.map: Delete.
583 * testsuite/ld-sh/sh64/gotplt.s: Delete.
584 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
585 * testsuite/ld-sh/sh64/init-media.d: Delete.
586 * testsuite/ld-sh/sh64/init.s: Delete.
587 * testsuite/ld-sh/sh64/init64.d: Delete.
588 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
589 * testsuite/ld-sh/sh64/mix1.sd: Delete.
590 * testsuite/ld-sh/sh64/mix1.xd: Delete.
591 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
592 * testsuite/ld-sh/sh64/mix2.sd: Delete.
593 * testsuite/ld-sh/sh64/mix2.xd: Delete.
594 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
595 * testsuite/ld-sh/sh64/rel-1.s: Delete.
596 * testsuite/ld-sh/sh64/rel-2.s: Delete.
597 * testsuite/ld-sh/sh64/rel32.xd: Delete.
598 * testsuite/ld-sh/sh64/rel64.xd: Delete.
599 * testsuite/ld-sh/sh64/relax.exp: Delete.
600 * testsuite/ld-sh/sh64/relax1.s: Delete.
601 * testsuite/ld-sh/sh64/relax2.s: Delete.
602 * testsuite/ld-sh/sh64/relax3.s: Delete.
603 * testsuite/ld-sh/sh64/relax4.s: Delete.
604 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
605 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
606 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
607 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
608 * testsuite/ld-sh/sh64/relfail.exp: Delete.
609 * testsuite/ld-sh/sh64/relfail.s: Delete.
610 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
611 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
612 * testsuite/ld-sh/sh64/sh64.exp: Delete.
613 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
614 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
615 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
616 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
617 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
618 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
619 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
620 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
621 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
622 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
623 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
624 * testsuite/ld-sh/sh64/stobin.s: Delete.
625 * testsuite/ld-sh/sh64/stolib.s: Delete.
626 * Makefile.in: Regenerate.
627 * po/BLD-POTFILES.in: Regenerate.
628
4db9937a
AM
6292018-04-16 Alan Modra <amodra@gmail.com>
630
631 * Makefile.am: Remove sh-symbianelf support.
632 * configure.tgt: Likewise.
633 * emulparams/shlsymbian.sh: Delete.
634 * scripttempl/elf32sh-symbian.sc: Delete.
635 * Makefile.in: Regenerate.
636 * po/BLD-POTFILES.in: Regenerate.
637
9f5d1593
AM
6382018-04-16 Alan Modra <amodra@gmail.com>
639
640 * Makefile.am: Remove vax-bsd and vax-ultrix support.
641 * configure.tgt: Likewise.
642 * emulparams/vax.sh: Delete.
643 * Makefile.in: Regenerate.
644 * po/BLD-POTFILES.in: Regenerate.
645
a9a4b302
AM
6462018-04-16 Alan Modra <amodra@gmail.com>
647
648 * Makefile.am: Remove w65 support.
649 * configure.tgt: Likewise.
650 * emulparams/w65.sh: Delete.
651 * scripttempl/w65.sc: Delete.
652 * Makefile.in: Regenerate.
653 * po/BLD-POTFILES.in: Regenerate.
654
c2bf1eec
AM
6552018-04-16 Alan Modra <amodra@gmail.com>
656
657 * Makefile.am: Remove m88k support.
658 * configure.host: Likewise.
659 * configure.tgt: Likewise.
660 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
661 * emulparams/m88kbcs.sh: Delete.
662 * scripttempl/m88kbcs.sc: Delete.
663 * Makefile.in: Regenerate.
664 * po/BLD-POTFILES.in: Regenerate.
665
6793974d
AM
6662018-04-16 Alan Modra <amodra@gmail.com>
667
668 * Makefile.am: Remove i370 support.
669 * configure.tgt: Likewise.
670 * testsuite/ld-elf/compressed1d.d: Likewise.
671 * testsuite/ld-elf/group8a.d: Likewise.
672 * testsuite/ld-elf/group8b.d: Likewise.
673 * testsuite/ld-elf/group9a.d: Likewise.
674 * testsuite/ld-elf/group9b.d: Likewise.
675 * testsuite/ld-elf/merge.d: Likewise.
676 * testsuite/ld-elf/pr12851.d: Likewise.
677 * testsuite/ld-elf/pr12975.d: Likewise.
678 * testsuite/ld-elf/pr13177.d: Likewise.
679 * testsuite/ld-elf/pr13195.d: Likewise.
680 * testsuite/ld-elf/pr17615.d: Likewise.
681 * testsuite/ld-elf/pr21562a.d: Likewise.
682 * testsuite/ld-elf/pr21562b.d: Likewise.
683 * testsuite/ld-elf/pr21562c.d: Likewise.
684 * testsuite/ld-elf/pr21562d.d: Likewise.
685 * testsuite/ld-elf/pr21562i.d: Likewise.
686 * testsuite/ld-elf/pr21562j.d: Likewise.
687 * testsuite/ld-elf/pr21562k.d: Likewise.
688 * testsuite/ld-elf/pr21562l.d: Likewise.
689 * testsuite/ld-elf/pr21562m.d: Likewise.
690 * testsuite/ld-elf/pr21562n.d: Likewise.
691 * testsuite/ld-elf/pr22677.d: Likewise.
692 * testsuite/lib/ld-lib.exp: Likewise.
693 * emulparams/elf32i370.sh: Delete.
694 * scripttempl/elfi370.sc: Delete.
695 * Makefile.in: Regenerate.
696 * po/BLD-POTFILES.in: Regenerate.
697
e82aa794
AM
6982018-04-16 Alan Modra <amodra@gmail.com>
699
700 * Makefile.am: Remove h8500 support.
701 * configure.tgt: Likewise.
702 * emulparams/h8500.sh: Delete.
703 * emulparams/h8500b.sh: Delete.
704 * emulparams/h8500c.sh: Delete.
705 * emulparams/h8500m.sh: Delete.
706 * emulparams/h8500s.sh: Delete.
707 * scripttempl/h8500.sc: Delete.
708 * scripttempl/h8500b.sc: Delete.
709 * scripttempl/h8500c.sc: Delete.
710 * scripttempl/h8500m.sc: Delete.
711 * scripttempl/h8500s.sc: Delete.
712 * Makefile.in: Regenerate.
713 * po/BLD-POTFILES.in: Regenerate.
714
fe0bf0fd
AM
7152018-04-16 Alan Modra <amodra@gmail.com>
716
717 * Makefile.am: Remove h8300-coff support.
718 * configure.tgt: Likewise.
719 * testsuite/ld-h8300/h8300.exp: Likewise.
720 * emulparams/h8300.sh: Delete.
721 * emulparams/h8300h.sh: Delete.
722 * emulparams/h8300hn.sh: Delete.
723 * emulparams/h8300s.sh: Delete.
724 * emulparams/h8300sn.sh: Delete.
725 * emulparams/h8300sx.sh: Delete.
726 * emulparams/h8300sxn.sh: Delete.
727 * scripttempl/h8300.sc: Delete.
728 * scripttempl/h8300h.sc: Delete.
729 * scripttempl/h8300hn.sc: Delete.
730 * scripttempl/h8300s.sc: Delete.
731 * scripttempl/h8300sn.sc: Delete.
732 * scripttempl/h8300sx.sc: Delete.
733 * scripttempl/h8300sxn.sc: Delete.
734 * testsuite/ld-h8300/relax-3-coff.d: Delete.
735 * testsuite/ld-h8300/relax-4-coff.d: Delete.
736 * testsuite/ld-h8300/relax-5-coff.d: Delete.
737 * testsuite/ld-h8300/relax-6-coff.d: Delete.
738 * Makefile.in: Regenerate.
739 * po/BLD-POTFILES.in: Regenerate.
740
fdef3943
AM
7412018-04-16 Alan Modra <amodra@gmail.com>
742
743 * ld.texinfo: Remove IEEE 695 support.
744 * mri.c: Likewise.
745
de96689e
AM
7462018-04-16 Alan Modra <amodra@gmail.com>
747
748 * Makefile.am: Remove tandem support.
749 * configure.tgt: Likewise.
750 * emulparams/st2000.sh: Delete.
751 * scripttempl/st2000.sc: Delete.
752 * Makefile.in: Regenerate.
753 * po/BLD-POTFILES.in: Regenerate.
754
5972ac73
AM
7552018-04-16 Alan Modra <amodra@gmail.com>
756
757 * Makefile.am: Remove newsos3 support.
758 * configure.tgt: Likewise.
759 * emulparams/news.sh: Delete.
760 * Makefile.in: Regenerate.
761 * po/BLD-POTFILES.in: Regenerate.
762
b4b594e3
AM
7632018-04-16 Alan Modra <amodra@gmail.com>
764
765 * Makefile.am: Remove netware support.
766 * configure.tgt: Likewise.
767 * testsuite/ld-powerpc/powerpc.exp: Likewise.
768 * emulparams/i386nw.sh: Delete.
769 * emulparams/ppcnw.sh: Delete.
770 * scripttempl/nw.sc: Delete.
771 * Makefile.in: Regenerate.
772 * po/BLD-POTFILES.in: Regenerate.
773
702d1671
AM
7742018-04-14 Alan Modra <amodra@gmail.com>
775
776 * ldmain.c (main): Move config.maxpagesize and
777 config.commonpagesize initialization to..
778 * ldemul.c (after_parse_default): ..here.
779 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
780 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
781
24acfe5e
AM
7822018-04-14 Alan Modra <amodra@gmail.com>
783
784 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
785 * emulparams/ppclynx.sh: Likewise.
786
a8eb42a8
AM
7872018-04-11 Alan Modra <amodra@gmail.com>
788
789 * emulparams/coff_i860.sh: Delete.
790 * emulparams/elf32_i860.sh: Delete.
791 * emulparams/elf32_i960.sh: Delete.
792 * emulparams/gld960.sh: Delete.
793 * emulparams/gld960coff.sh: Delete.
794 * emulparams/lnk960.sh: Delete.
795 * emultempl/gld960.em: Delete.
796 * emultempl/gld960c.em: Delete.
797 * emultempl/lnk960.em: Delete.
798 * scripttempl/i860coff.sc: Delete.
799 * scripttempl/i960.sc: Delete.
800 * ld.texinfo: Remove i960 support.
801 * Makefile.am: Remove i860 and i960 support.
802 * configure.tgt: Likewise.
803 * testsuite/ld-discard/extern.d: Likewise.
804 * testsuite/ld-discard/start.d: Likewise.
805 * testsuite/ld-discard/static.d: Likewise.
806 * testsuite/ld-elf/compressed1d.d: Likewise.
807 * testsuite/ld-elf/group1.d: Likewise.
808 * testsuite/ld-elf/group3b.d: Likewise.
809 * testsuite/ld-elf/group8a.d: Likewise.
810 * testsuite/ld-elf/group8b.d: Likewise.
811 * testsuite/ld-elf/group9a.d: Likewise.
812 * testsuite/ld-elf/group9b.d: Likewise.
813 * testsuite/ld-elf/linkonce2.d: Likewise.
814 * testsuite/ld-elf/merge.d: Likewise.
815 * testsuite/ld-elf/merge2.d: Likewise.
816 * testsuite/ld-elf/merge3.d: Likewise.
817 * testsuite/ld-elf/orphan-10.d: Likewise.
818 * testsuite/ld-elf/orphan-11.d: Likewise.
819 * testsuite/ld-elf/orphan-12.d: Likewise.
820 * testsuite/ld-elf/orphan-9.d: Likewise.
821 * testsuite/ld-elf/orphan-region.d: Likewise.
822 * testsuite/ld-elf/orphan.d: Likewise.
823 * testsuite/ld-elf/orphan3.d: Likewise.
824 * testsuite/ld-elf/pr12851.d: Likewise.
825 * testsuite/ld-elf/pr12975.d: Likewise.
826 * testsuite/ld-elf/pr13177.d: Likewise.
827 * testsuite/ld-elf/pr13195.d: Likewise.
828 * testsuite/ld-elf/pr17550a.d: Likewise.
829 * testsuite/ld-elf/pr17550b.d: Likewise.
830 * testsuite/ld-elf/pr17550c.d: Likewise.
831 * testsuite/ld-elf/pr17550d.d: Likewise.
832 * testsuite/ld-elf/pr17615.d: Likewise.
833 * testsuite/ld-elf/pr20528a.d: Likewise.
834 * testsuite/ld-elf/pr20528b.d: Likewise.
835 * testsuite/ld-elf/pr21562a.d: Likewise.
836 * testsuite/ld-elf/pr21562b.d: Likewise.
837 * testsuite/ld-elf/pr21562c.d: Likewise.
838 * testsuite/ld-elf/pr21562d.d: Likewise.
839 * testsuite/ld-elf/pr21562i.d: Likewise.
840 * testsuite/ld-elf/pr21562j.d: Likewise.
841 * testsuite/ld-elf/pr21562k.d: Likewise.
842 * testsuite/ld-elf/pr21562l.d: Likewise.
843 * testsuite/ld-elf/pr21562m.d: Likewise.
844 * testsuite/ld-elf/pr21562n.d: Likewise.
845 * testsuite/ld-elf/pr22677.d: Likewise.
846 * testsuite/ld-elf/pr22836-1a.d: Likewise.
847 * testsuite/ld-elf/pr22836-1b.d: Likewise.
848 * testsuite/ld-elf/pr349.d: Likewise.
849 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
850 * testsuite/ld-elf/sec64k.exp: Likewise.
851 * testsuite/ld-elf/warn1.d: Likewise.
852 * testsuite/ld-elf/warn2.d: Likewise.
853 * testsuite/ld-elf/warn3.d: Likewise.
854 * testsuite/lib/ld-lib.exp: Likewise.
855 * Makefile.in: Regenerate.
856 * po/BLD-POTFILES.in: Regenerate.
857
18e404c4
AM
8582018-04-11 Alan Modra <amodra@gmail.com>
859
860 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
861
c4a614e2
AM
8622018-04-09 Alan Modra <amodra@gmail.com>
863
864 * po/BLD-POTFILES.in: Regenerate.
865
3e04d765
AM
8662018-04-09 Alan Modra <amodra@gmail.com>
867
868 * emultempl/ppc64elf.em (no_inline_plt): New var.
869 (ppc_before_allocation): Call ppc64_elf_inline_plt.
870 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
871 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
872 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
873 * emultemps/ppc32elf.em (no_inline_opt): New var.
874 (prelim_size_sections): New function, extracted from..
875 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
876 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
877 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
878 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
879
2d7ad24e
AM
8802018-04-09 Alan Modra <amodra@gmail.com>
881
882 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
883 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
884 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
885 * testsuite/ld-powerpc/relbrlt.d: Likewise.
886 * testsuite/ld-powerpc/relbrlt.s: Likewise.
887 * testsuite/ld-powerpc/tlsso.r: Likewise.
888 * testsuite/ld-powerpc/tlstocso.r: Likewise.
889
49c09209
AM
8902018-04-09 Alan Modra <amodra@gmail.com>
891
892 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
893
3cba8b6c
L
8942018-04-05 H.J. Lu <hongjiu.lu@intel.com>
895
896 PR gas/22318
897 * configure: Regenerated.
898
043e9508
NC
8992018-04-05 Nick Clifton <nickc@redhat.com>
900
901 PR 23030
902 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
903 that the .IA_64.unwind_info and .IA_64.unwind sections are not
904 subject to garbage collection.
905
9d8e8f44
EB
9062018-04-04 Eric Botcazou <ebotcazou@adacore.com>
907
908 * deffile.h (def_file_add_import_from): Declare.
909 (def_file_add_import_at): Likewise.
910 * deffilep.y (fill_in_import): New function extracted from...
911 (def_file_add_import): ...here. Call it.
912 (def_file_add_import_from): New function.
913 (def_file_add_import_at): Likewise.
914 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
915 insertion loop for imported symbols if possible.
916
317ff008
EB
9172018-04-04 Eric Botcazou <ebotcazou@adacore.com>
918
919 * emultempl/pe.em (U_SIZE): Delete.
920 (pe_data_import_dll): Likewise.
921 (make_import_fixup): Return void, take 4th parameter and pass it down
922 in call to pe_create_import_fixup.
923 (pe_find_data_imports): Move to...
924 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
925 the auto-import pass and add a guard before running the latter.
926 * emultempl/pep.em (U_SIZE): Delete.
927 (pep_data_import_dll): Likewise.
928 (make_import_fixup): Return void, take 4th parameter and pass it down
929 in call to pe_create_import_fixup.
930 (pep_find_data_imports): Move to...
931 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
932 the auto-import pass and add a guard before running the latter.
933 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
934 (pe_walk_relocs_of_symbol): Rename into...
935 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
936 callback prototype and pass 4th parameter in calls to the callback.
937 If the import hash table is present, invoke the callback on the reloc
938 if the symbol name is in the table.
939 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
940 hash table for the pseudo-relocation support version 2. When it is
941 built, walk the relocations only once at the end; when it is not, do
942 not build a fixup when the symbol isn't part of an import table.
943 Issue the associated warning only after a first fixup is built.
944 (tmp_seq2): Delete.
945 (make_singleton_name_imp): Likewise.
946 (make_import_fixup_mark): Return const char * and a stable string.
947 (make_import_fixup_entry): Do not deal with the pseudo-relocation
948 support version 2.
949 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
950 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
951 pseudo-relocation support version 2 from the rest. Fix formatting.
952 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
953 (pe_find_data_imports): Declare.
954 (pe_create_import_fixup): Add 5th parameter.
955 * pep-dll.c (pe_data_import_dll): Delete.
956 (pe_find_data_imports): Define.
957 (pe_walk_relocs_of_symbol): Delete.
958 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
959 (pep_find_data_imports): Declare.
960 (pep_create_import_fixup): Add 5th parameter.
961 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
962
4fb0d2b9
NC
9632018-04-04 Nick Clifton <nickc@redhat.com>
964
965 * po/es.po: Updated Spanish translation.
966
dfdad367
MR
9672018-04-03 Maciej W. Rozycki <macro@mips.com>
968
969 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
970 `mips*-*-kfreebsd*-gnu' targets.
971
e04ef022
RL
9722018-03-23 Renlin Li <renlin.li@arm.com>
973
974 PR ld/22970
975 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
976 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
977 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
978 * testsuite/ld-aarch64/emit-relocs-552.d: New.
979 * testsuite/ld-aarch64/emit-relocs-552.s: New.
980 * testsuite/ld-aarch64/emit-relocs-553.d: New.
981 * testsuite/ld-aarch64/emit-relocs-553.s: New.
982 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
983 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
984 * testsuite/ld-aarch64/emit-relocs-554.d: New.
985 * testsuite/ld-aarch64/emit-relocs-554.s: New.
986 * testsuite/ld-aarch64/emit-relocs-555.d: New.
987 * testsuite/ld-aarch64/emit-relocs-555.s: New.
988 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
989 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
990 * testsuite/ld-aarch64/emit-relocs-556.d: New.
991 * testsuite/ld-aarch64/emit-relocs-556.s: New.
992 * testsuite/ld-aarch64/emit-relocs-557.d: New.
993 * testsuite/ld-aarch64/emit-relocs-557.s: New.
994 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
995 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
996 * testsuite/ld-aarch64/emit-relocs-558.d: New.
997 * testsuite/ld-aarch64/emit-relocs-558.s: New.
998 * testsuite/ld-aarch64/emit-relocs-559.d: New.
999 * testsuite/ld-aarch64/emit-relocs-559.s: New.
1000 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
1001 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
1002 * testsuite/ld-aarch64/emit-relocs-112.d: New.
1003 * testsuite/ld-aarch64/emit-relocs-112.s: New.
1004 * testsuite/ld-aarch64/emit-relocs-113.d: New.
1005 * testsuite/ld-aarch64/emit-relocs-113.s: New.
1006 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
1007 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
1008 * testsuite/ld-aarch64/emit-relocs-114.d: New.
1009 * testsuite/ld-aarch64/emit-relocs-114.s: New.
1010 * testsuite/ld-aarch64/emit-relocs-115.d: New.
1011 * testsuite/ld-aarch64/emit-relocs-115.s: New.
1012 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
1013 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
1014 * testsuite/ld-aarch64/emit-relocs-116.d: New.
1015 * testsuite/ld-aarch64/emit-relocs-116.s: New.
1016 * testsuite/ld-aarch64/emit-relocs-117.d: New.
1017 * testsuite/ld-aarch64/emit-relocs-117.s: New.
1018 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
1019 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
1020 * testsuite/ld-aarch64/emit-relocs-118.d: New.
1021 * testsuite/ld-aarch64/emit-relocs-118.s: New.
1022 * testsuite/ld-aarch64/emit-relocs-119.d: New.
1023 * testsuite/ld-aarch64/emit-relocs-119.s: New.
1024
f8745e1c
EB
10252018-03-28 Eric Botcazou <ebotcazou@adacore.com>
1026
1027 PR ld/22972
1028 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
1029 * testsuite/ld-sparc/gotop-hidden.c: New file.
1030 * testsuite/ld-sparc/got-hidden32.s: Likewise.
1031 * testsuite/ld-sparc/got-hidden64.s: Likewise.
1032 * testsuite/ld-sparc/pass.out: Likewise.
1033
bf54968b
L
10342018-03-25 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 PR ld/23000
1037 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
1038
f6c4d4b1
NC
10392018-03-23 Nick Clifton <nickc@redhat.com>
1040
1041 PR 22948
1042 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
1043 to library name list.
1044 * emultempl/pep.em (open_dynamic_archive): Likewise.
1045 * ld.texinfo (WIN32): Update documentation.
1046
cbac2231
RM
10472018-03-20 Roland McGrath <mcgrathr@google.com>
1048
1049 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
1050 another target without RELRO.
1051
8c5b71ad
L
10522018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
1055 well as extra lines between symbols.
1056
ed381877
MR
10572018-03-20 Maciej W. Rozycki <macro@mips.com>
1058
1059 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
1060 personality test.
1061
416c34d6
L
10622018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 PR ld/22983
1065 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
1066 * testsuite/ld-plugin/pr22983.d: New file.
1067 * testsuite/ld-plugin/pr22983.t: Likewise.
1068 * testsuite/ld-plugin/pr22983a.c: Likewise.
1069 * testsuite/ld-plugin/pr22983b.c: Likewise.
1070
202d116e
AS
10712018-03-15 Andreas Schwab <schwab@suse.de>
1072
1073 PR ld/22949
1074 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
1075 enable relaxation in relocatable link.
1076
f9671640
KLC
10772018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1078
1079 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
1080 unsupported target feature.
1081
9e223787
L
10822018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 PR ld/20882
1085 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
1086 section.
1087 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
1088
bf485201
L
10892018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
1092
b4a3689a
NC
10932018-03-13 Nick Clifton <nickc@redhat.com>
1094
1095 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1096
f657f8c4
NC
10972018-03-09 Nick Clifton <nickc@redhat.com>
1098
1099 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
1100 that support IFUNC symbols can handle relocations against those
1101 symbols in NOTE sections.
1102 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
1103 test.
1104 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
1105
347a8774
L
11062018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 PR ld/22929
1109 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
1110 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1111 * testsuite/ld-i386/pr22929.d: New file.
1112 * testsuite/ld-i386/pr22929.s: Likewise.
1113 * testsuite/ld-x86-64/pr22929.d: Likewise.
1114 * testsuite/ld-x86-64/pr22929.s: Likewise.
1115
d6ab6481
MF
11162018-03-07 Max Filippov <jcmvbkbc@gmail.com>
1117
1118 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
1119
0c1ded8d
RL
11202018-03-07 Renlin Li <renlin.li@arm.com>
1121
1122 PR ld/20402
1123 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1124 * testsuite/ld-aarch64/pr20402.s: New.
1125 * testsuite/ld-aarch64/pr20402.d: New.
1126
770aa8a3
JW
11272018-03-06 Jim Wilson <jimw@sifive.com>
1128
1129 PR 22920
1130 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
1131 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
1132 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
1133 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
1134 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
1135 call setup_xfail.
1136
dfb93f11
JC
11372018-03-03 James Cowgill <james.cowgill@mips.com>
1138 Maciej W. Rozycki <macro@mips.com>
1139
1140 PR ld/21900
1141 * testsuite/ld-mips-elf/undefined-warn.d: New test.
1142 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
1143 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1144
9a2ebffd
JW
11452018-03-02 Jim Wilson <jimw@sifive.com>
1146
1147 PR 22903
1148 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1149 Give stub_sec 8 byte alignment.
1150 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
1151 * emulparams/aarch64elf.sh (NOP): Likewise.
1152 * emulparams/aarch64elf32.sh (NOP): Likewise.
1153 * emulparams/aarch64fbsd.sh (NOP): Likewise.
1154 * emulparams/aarch64linux.sh (NOP): Likewise.
1155 * emulparams/aarch64linux32.sh (NOP): Likewise.
1156 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
1157 * testsuite/ld-aarch64/erratum843419.d: Likewise.
1158 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
1159 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
1160 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
1161 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
1162 * testsuite/ld-aarch64/farcall-b.d: Likewise.
1163 * testsuite/ld-aarch64/farcall-back.d: Likewise.
1164 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
1165 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
1166 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
1167 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1168 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
1169
e184813f
AM
11702018-03-01 Alan Modra <amodra@gmail.com>
1171
1172 * configure.ac (ALL_LINGUAS): Add ja. Sort.
1173 * configure: Regenerate.
1174
889be5db
DR
11752018-02-28 Douglas B Rupp <rupp@adacore.com>
1176
1177 * ldmain.c (main): Remove directory separator, if any, from the
1178 end of the canonicalized sysroot.
1179
f6aec96d
L
11802018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * NEWS: Mention --enable-separate-code.
1183 * configure.ac: Add --enable-separate-code.
1184 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
1185 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
1186 Linux/x86 targets.
1187 * config.in: Regenerated.
1188 * configure: Likewise.
1189 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1190 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
1191
df5f2391
AM
11922018-02-26 Alan Modra <amodra@gmail.com>
1193
1194 * emulparams/call_nop.sh, * emulparams/cet.sh,
1195 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
1196 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
1197 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
1198 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
1199 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
1200 * emultempl/linux.em, * emultempl/lnk960.em,
1201 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
1202 * emultempl/m68kelf.em, * emultempl/metagelf.em,
1203 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1204 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
1205 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
1206 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
1207 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
1208 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
1209 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1210 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
1211 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
1212 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
1213 * plugin.c: Standardize error/warning messages.
1214 * testsuite/ld-arc/jli-overflow.err,
1215 * testsuite/ld-arm/cmse-implib-errors.out,
1216 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1217 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1218 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1219 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1220 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1221 * testsuite/ld-arm/vxworks1-static.d,
1222 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
1223 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
1224 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
1225 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
1226 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
1227 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
1228 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
1229 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
1230 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
1231 * testsuite/ld-i386/vxworks1-static.d,
1232 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1233 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1234 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1235 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1236 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1237 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1238 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
1239 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
1240 * testsuite/ld-mips-elf/mode-change-error-1.d,
1241 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1242 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1243 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1244 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1245 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1246 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1247 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1248 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1249 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1250 * testsuite/ld-mips-elf/unaligned-branch.d,
1251 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1252 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1253 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1254 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1255 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1256 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1257 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1258 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1259 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1260 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1261 * testsuite/ld-mips-elf/unaligned-jump.d,
1262 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
1263 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
1264 * testsuite/ld-mips-elf/undefined.d,
1265 * testsuite/ld-mips-elf/vxworks1-static.d,
1266 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
1267 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
1268 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
1269 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
1270 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
1271 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
1272 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
1273 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
1274 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
1275 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
1276 * testsuite/ld-powerpc/aix-weak-3-32.d,
1277 * testsuite/ld-powerpc/aix-weak-3-64.d,
1278 * testsuite/ld-powerpc/vxworks1-static.d,
1279 * testsuite/ld-sh/vxworks1-static.d,
1280 * testsuite/ld-sparc/vxworks1-static.d,
1281 * testsuite/ld-undefined/undefined.exp,
1282 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
1283 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
1284
33589acb
AM
12852018-02-26 Alan Modra <amodra@gmail.com>
1286
1287 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
1288 (SRC_POTFILES, BLD_POTFILES): Define.
1289 (po/POTFILES.in): Delete rule.
1290 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
1291 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
1292 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
1293 and BLD-POTFILES.in.
1294 (POTFILES): Delete.
1295 (SRC-POTFILES, BLD-POTFILES): Define place marker.
1296 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
1297 (distclean, maintainer-clean): Tidy up new files.
1298 (POTFILES, POTFILES.in): Delete rules.
1299 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
1300 New rules.
1301 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
1302 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
1303 * po/BLD-POTFILES.in: New file.
1304 * Makefile.in: Regenerate.
1305 * configure: Regenerate.
1306
38f14ab8
AM
13072018-02-26 Alan Modra <amodra@gmail.com>
1308
1309 * testsuite/ld-cris/pcrelcp-1.d,
1310 * testsuite/ld-mmix/start-2.d: Update.
1311
6e05870c
AM
13122018-02-26 Alan Modra <amodra@gmail.com>
1313
1314 * testsuite/ld-arm/cmse-implib-errors.out,
1315 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1316 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1317 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1318 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1319 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1320 * testsuite/ld-cris/badgotr1.d,
1321 * testsuite/ld-cris/tls-err-24.d,
1322 * testsuite/ld-cris/tls-err-25.d,
1323 * testsuite/ld-cris/tls-err-26.d,
1324 * testsuite/ld-cris/tls-err-27.d,
1325 * testsuite/ld-cris/tls-err-28.d,
1326 * testsuite/ld-cris/tls-err-40.d,
1327 * testsuite/ld-cris/tls-err-44.d,
1328 * testsuite/ld-cris/tls-err-48.d,
1329 * testsuite/ld-cris/tls-err-52.d,
1330 * testsuite/ld-cris/tls-err-53.d,
1331 * testsuite/ld-cris/tls-err-55.d,
1332 * testsuite/ld-cris/tls-err-56.d,
1333 * testsuite/ld-cris/tls-err-62.d,
1334 * testsuite/ld-cris/tls-err-65.d,
1335 * testsuite/ld-cris/tls-err-77.d,
1336 * testsuite/ld-elf/empty-implib.out,
1337 * testsuite/ld-elf/indirect.exp: Update.
1338
90b6238f
AM
13392018-02-26 Alan Modra <amodra@gmail.com>
1340
1341 * testsuite/ld-aarch64/reloc-overflow-bad.d,
1342 * testsuite/ld-arm/attr-merge-9.out,
1343 * testsuite/ld-arm/attr-merge-arch-2.d,
1344 * testsuite/ld-arm/attr-merge-unknown-1.d,
1345 * testsuite/ld-arm/attr-merge-unknown-2.d,
1346 * testsuite/ld-arm/attr-merge-unknown-2r.d,
1347 * testsuite/ld-arm/attr-merge-unknown-3.d,
1348 * testsuite/ld-arm/cmse-implib-errors.out,
1349 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1350 * testsuite/ld-arm/cmse-new-implib-no-output.out,
1351 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1352 * testsuite/ld-arm/cmse-new-implib.out,
1353 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1354 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1355 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1356 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
1357 * testsuite/ld-arm/group-relocs-alu-bad.d,
1358 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
1359 * testsuite/ld-arm/group-relocs-ldc-bad.d,
1360 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
1361 * testsuite/ld-arm/group-relocs-ldr-bad.d,
1362 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
1363 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
1364 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
1365
2c1c9679
AM
13662018-02-26 Alan Modra <amodra@gmail.com>
1367
1368 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
1369 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
1370 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
1371 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
1372 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
1373 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
1374 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
1375 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
1376 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
1377 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
1378 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
1379 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
1380 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
1381 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
1382 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
1383 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
1384 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
1385 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
1386 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
1387 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
1388 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
1389 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
1390 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
1391 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
1392 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
1393 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
1394 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
1395 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
1396 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
1397 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
1398 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
1399 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
1400 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
1401 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
1402 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
1403 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
1404 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
1405 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
1406 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
1407 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
1408 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
1409 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
1410 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
1411 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
1412 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
1413 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
1414 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
1415 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
1416 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
1417 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
1418 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
1419 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
1420 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1421 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1422 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1423 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1424 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1425 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1426 * testsuite/ld-mips-elf/mode-change-error-1.d,
1427 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1428 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1429 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1430 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1431 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1432 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1433 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1434 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1435 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1436 * testsuite/ld-mips-elf/unaligned-branch.d,
1437 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1438 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1439 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1440 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1441 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1442 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1443 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1444 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1445 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1446 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1447 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
1448
9793eb77
AM
14492018-02-26 Alan Modra <amodra@gmail.com>
1450
1451 * testsuite/ld-elf/indirect.exp,
1452 * testsuite/ld-elf/pr22649-2ab-mips.msg,
1453 * testsuite/ld-elf/pr22649-2cd-mips.msg,
1454 * testsuite/ld-elf/pr22649.msg,
1455 * testsuite/ld-elf/tls_common.exp,
1456 * testsuite/ld-elfcomm/elfcomm.exp,
1457 * testsuite/ld-arm/attr-merge-incompatible.d,
1458 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
1459 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
1460 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
1461 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
1462
cf97bcb0
AM
14632018-02-26 Alan Modra <amodra@gmail.com>
1464
1465 * testsuite/ld-powerpc/attr-gnu-12-21.d,
1466 * testsuite/ld-powerpc/attr-gnu-4-12.d,
1467 * testsuite/ld-powerpc/attr-gnu-4-13.d,
1468 * testsuite/ld-powerpc/attr-gnu-4-21.d,
1469 * testsuite/ld-powerpc/attr-gnu-4-23.d,
1470 * testsuite/ld-powerpc/attr-gnu-4-31.d,
1471 * testsuite/ld-powerpc/attr-gnu-4-32.d,
1472 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
1473
bbad9962
AM
14742018-02-21 Alan Modra <amodra@gmail.com>
1475
1476 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
1477 than notarget.
1478 * testsuite/ld-elf/pr12851.d: Likewise.
1479 * testsuite/ld-elf/pr12975.d: Likewise.
1480 * testsuite/ld-elf/pr13177.d: Likewise.
1481 * testsuite/ld-elf/pr13195.d: Likewise.
1482 * testsuite/ld-elf/pr17615.d: Likewise.
1483 * testsuite/ld-elf/pr21562a.d: Likewise.
1484 * testsuite/ld-elf/pr21562b.d: Likewise.
1485 * testsuite/ld-elf/pr21562c.d: Likewise.
1486 * testsuite/ld-elf/pr21562d.d: Likewise.
1487 * testsuite/ld-elf/pr21562i.d: Likewise.
1488 * testsuite/ld-elf/pr21562j.d: Likewise.
1489 * testsuite/ld-elf/pr21562k.d: Likewise.
1490 * testsuite/ld-elf/pr21562l.d: Likewise.
1491 * testsuite/ld-elf/pr21562m.d: Likewise.
1492 * testsuite/ld-elf/pr21562n.d: Likewise.
1493 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
1494 rather than notarget.
1495 * testsuite/ld-elf/group9b.d: Likewise.
1496 * testsuite/ld-elf/pr22677.d: Likewise.
1497
6798f8bf
MR
14982018-02-19 Maciej W. Rozycki <macro@mips.com>
1499
1500 * testsuite/ld-mips-elf/reginfo-0.d: New test.
1501 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
1502 * testsuite/ld-mips-elf/reginfo-1.d: New test.
1503 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
1504 * testsuite/ld-mips-elf/reginfo-2.d: New test.
1505 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
1506 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
1507 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
1508 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
1509 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
1510 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
1511 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
1512 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
1513 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
1514 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
1515 script.
1516 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
1517 script.
1518 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
1519 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
1520 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1521
8772de11
MR
15222018-02-19 Maciej W. Rozycki <macro@mips.com>
1523
1524 * ldlang.c (insert_pad): Do not change output section's size if
1525 SEC_FIXED_SIZE is set in the flags.
1526 (size_input_section): Likewise.
1527 (lang_size_sections_1): Likewise.
1528 (lang_reset_memory_regions): Likewise.
1529
c1c8c1ef
AM
15302018-02-19 Alan Modra <amodra@gmail.com>
1531
1532 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
1533 %I, %R, %S and %T.
1534 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
1535 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
1536 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
1537 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
1538
871b3ab2
AM
15392018-02-19 Alan Modra <amodra@gmail.com>
1540
1541 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
1542 * ldcref.c: Update all messages using %A and %B.
1543 * ldexp.c: Likewise.
1544 * ldlang.c: Likewise.
1545 * ldmain.c: Likewise.
1546 * ldmisc.c: Likewise.
1547 * pe-dll.c: Likewise.
1548 * plugin.c: Likewise.
1549 * emultempl/beos.em: Likewise.
1550 * emultempl/cr16elf.em: Likewise.
1551 * emultempl/elf32.em: Likewise.
1552 * emultempl/m68kcoff.em: Likewise.
1553 * emultempl/m68kelf.em: Likewise.
1554 * emultempl/mmo.em: Likewise.
1555 * emultempl/nds32elf.em: Likewise.
1556 * emultempl/pe.em: Likewise.
1557 * emultempl/pep.em: Likewise.
1558 * emultempl/spuelf.em: Likewise.
1559 * emultempl/sunos.em: Likewise.
1560 * emultempl/xtensaelf.em: Likewise.
1561
f61f94ec
L
15622018-02-19 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 PR ld/22845
1565 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
1566 Add tests for "-z noseparate-code" and "-z separate-code".
1567 Remove unsupported -shared check.
1568
d85502cf
L
15692018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 PR ld/22845
1572 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
1573
34b00afa
L
15742018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 PR ld/22845
1577 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
1578 "-z noseparate-code" and "-z separate-code".
1579
92d9e363
L
15802018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1581
1582 PR ld/22845
1583 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
1584 to ld.
1585
c2596c4a
L
15862018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
1589 max-page-size=0x200000 -z noseparate-code.
1590 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1591 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1592 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1593 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1594 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1595 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1596 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1597 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1598 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1599 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
1600 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
1601 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1602 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1603 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
1604 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
1605 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1606 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1607 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
1608 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
1609 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1610 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1611 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
1612 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
1613 * testsuite/ld-x86-64/load1a.d: Likewise.
1614 * testsuite/ld-x86-64/load1b.d: Likewise.
1615 * testsuite/ld-x86-64/load1c.d: Likewise.
1616 * testsuite/ld-x86-64/load1d.d: Likewise.
1617 * testsuite/ld-x86-64/pie3.d: Likewise.
1618 * testsuite/ld-x86-64/pr14207.d: Likewise.
1619 * testsuite/ld-x86-64/pr17618.d: Likewise.
1620 * testsuite/ld-x86-64/pr19162.d: Likewise.
1621 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1622 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1623 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1624 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1625 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1626 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1627 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1628 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1629 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
1630 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1631 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
1632 * testsuite/ld-x86-64/pr20830b.d: Likewise.
1633 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
1634 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1635 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1636 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1637 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1638 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1639
c441b623
L
16402018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
1643 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1644
197741f1
L
16452018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1646
1647 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
1648 -z noseparate-code.
1649
7c9f387a
L
16502018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
1653 -z max-page-size=0x200000, excluding NaCl target.
1654
c9d3eb5f
L
16552018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1658 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1659 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1660 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1661 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1662 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1663 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1664
679a5bc8
L
16652018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
1668 -z max-page-size=0x200000 -z noseparate-code.
1669 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1670 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1671 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1672 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1673 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1674 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1675
62e2b91b
L
16762018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
1679 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1680 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1681
9f4aec8d
L
16822018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1685 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1686 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1687
410a69a0
L
16882018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
1691 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1692 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
1693 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1694 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
1695 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1696 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
1697 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1698 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
1699 * testsuite/ld-i386/load1.d: Likewise.
1700 * testsuite/ld-i386/pie1.d: Likewise.
1701 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1702 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1703 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1704 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1705 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1706 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1707 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1708 * testsuite/ld-i386/pr20830.d: Likewise.
1709
75bd00e8
L
17102018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * testsuite/ld-i386/pr19636-1a.d: Updated.
1713 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1714 * testsuite/ld-i386/pr19636-1j.d: Likewise.
1715 * testsuite/ld-i386/pr19636-1k.d: Likewise.
1716 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1717 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1718
760b2893
L
17192018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
1722
75cdede0
L
17232018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1724
1725 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
1726 * testsuite/ld-elf/textaddr1.d: Likewise.
1727 * testsuite/ld-elf/textaddr2.d: Likewise.
1728 * testsuite/ld-elf/textaddr4.d: Likewise.
1729 * testsuite/ld-elf/textaddr6.d: Likewise.
1730
2a0d9853
JW
17312018-02-15 Jim Wilson <jimw@sifive.com>
1732
1733 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
1734 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
1735 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
1736
451875b4
L
17372018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 PR ld/22842
1740 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
1741 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1742 * testsuite/ld-i386/pr22842a.c: New file.
1743 * testsuite/ld-i386/pr22842b.S: Likewise.
1744 * testsuite/ld-x86-64/pr22842a.c: Likewise.
1745 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
1746 * testsuite/ld-x86-64/pr22842b.S: Likewise.
1747 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
1748
d4dd94f8
MR
17492018-02-14 Maciej W. Rozycki <macro@mips.com>
1750
1751 * ldlex.h (ldlex_command): Remove prototype.
1752
85f2093d
L
17532018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
1756 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
1757
60f763ee
AM
17582018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 PR 22836
1761 * testsuite/ld-elf/pr22836-1.s: New file.
1762 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1763 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1764
bd7ab16b
L
17652018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 PR gas/22791
1768 * testsuite/ld-x86-64/mpx1c.rd: Updated.
1769 * testsuite/ld-x86-64/pr22791-1.err: New file.
1770 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
1771 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
1772 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
1773 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
1774 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
1775 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
1776 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
1777
6e5e9d58
AM
17782018-02-13 Alan Modra <amodra@gmail.com>
1779
1780 PR 22836
1781 * testsuite/ld-elf/pr22836-2.d,
1782 * testsuite/ld-elf/pr22836-2.s: New test.
1783
f2731e0c
AM
17842018-02-13 Alan Modra <amodra@gmail.com>
1785
1786 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
1787
407aa07c
AM
17882018-02-07 Alan Modra <amodra@gmail.com>
1789
1790 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
1791 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
1792 * emultempl/ppc64elf.em: Likesize
1793 * ld.texinfo: Likewise
1794 * testsuite/ld-powerpc/elfv2exe.d,
1795 * testsuite/ld-powerpc/elfv2so.d,
1796 * testsuite/ld-powerpc/relbrlt.d,
1797 * testsuite/ld-powerpc/powerpc.exp: Likewise.
1798
c20c30f6
EB
17992018-02-06 Eric Botcazou <ebotcazou@adacore.com>
1800
1801 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
1802 (pr22263-1): Pass AFLAGS_PIC to the assembler.
1803 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
1804 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
1805 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
1806 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
1807
279b2f94
RL
18082018-02-05 Renlin Li <renlin.li@arm.com>
1809
1810 PR ld/22764
1811 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
1812 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
1813 * testsuite/ld-aarch64/pr22764.s: New.
1814 * testsuite/ld-aarch64/pr22764.d: New.
1815
cd048363
L
18162018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 PR ld/22782
1819 * testsuite/ld-i386/discarded1.s: Replace mov with div.
1820 * testsuite/ld-x86-64/discarded1.s: Likewise.
1821 * testsuite/ld-i386/i386.exp: Run pr22782.
1822 * testsuite/ld-i386/load1-nacl.d: Updated for removing
1823 _GLOBAL_OFFSET_TABLE_ from output.
1824 * testsuite/ld-i386/load1.d: Likewise.
1825 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
1826 * testsuite/ld-x86-64/load1a.d: Likewise.
1827 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
1828 * testsuite/ld-x86-64/load1b.d: Likewise.
1829 * testsuite/ld-i386/pr22782.d: New file.
1830 * testsuite/ld-i386/pr22782.s: Likewise.
1831 * testsuite/ld-x86-64/pr22782.s: Likewise.
1832 * testsuite/ld-x86-64/pr22782a.d: Likewise.
1833 * testsuite/ld-x86-64/pr22782b.d: Likewise.
1834 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
1835
f174ef9f
NC
18362018-02-05 Nick Clifton <nickc@redhat.com>
1837
1838 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1839
9f7393d8
L
18402018-02-04 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
1843 * testsuite/ld-i386/lea1e.d: Likewise.
1844 * testsuite/ld-i386/lea1f.d: Likewise.
1845 * testsuite/ld-x86-64/lea1g.d: Likewise.
1846 * testsuite/ld-x86-64/lea1h.d: Likewise.
1847 * testsuite/ld-x86-64/lea1i.d: Likewise.
1848 * testsuite/ld-x86-64/lea1j.d: Likewise.
1849 * testsuite/ld-x86-64/lea1k.d: Likewise.
1850 * testsuite/ld-x86-64/lea1l.d: Likewise.
1851
b0daac83
NC
18522018-02-03 Nick Clifton <nickc@redhat.com>
1853
1854 PR 22762
1855 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
1856 __DTOR_LIST__ symbols. Add a comment explaining why this is
1857 necessary.
1858 * scripttemp/pep.sc: Likewise.
1859 * ld.texinfo (PROVIDE): Add a note about the effect of common
1860 symbols.
1861
138a158f
SL
18622018-02-03 Sandra Loosemore <sandra@codesourcery.com>
1863
1864 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
1865
e54d3c94
MR
18662018-02-02 Maciej W. Rozycki <macro@mips.com>
1867
1868 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
1869 assembly builds where missing and remove `tic6x-*-*' XFAIL
1870 markings accordingly.
1871
e99955cd
SM
18722018-02-01 Simon Marchi <simon.marchi@ericsson.com>
1873
1874 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
1875 on NULL pointer.
1876
f000c2b9
L
18772018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
1880
450b6317
MR
18812018-01-31 Maciej W. Rozycki <macro@mips.com>
1882
1883 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
1884
8988502d
MR
18852018-01-31 Maciej W. Rozycki <macro@mips.com>
1886
1887 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
1888 involving a shared library for `mips*vr4100*-*-elf*',
1889 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
1890 * testsuite/ld-elf/provide-hidden.exp: Likewise.
1891 * testsuite/ld-elf/shared.exp: Likewise.
1892 * testsuite/ld-gc/gc.exp: Likewise.
1893 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
1894
f3a9baf1
MR
18952018-01-31 Maciej W. Rozycki <macro@mips.com>
1896
1897 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
1898 * testsuite/ld-elf/shared.exp: ... here.
1899
bf3077a6
MM
19002018-01-31 Michael Matz <matz@suse.de>
1901
1902 * testsuite/ld-elf/pr21964-5.c: New test.
1903 * testsuite/ld-elf/shared.exp: Run it.
1904
823143c6
L
19052018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 PR ld/21964
1908 * testsuite/ld-elf/pr21964-4.c: New file.
1909 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
1910
040b4a9e
AM
19112018-01-30 Alan Modra <amodra@gmail.com>
1912
1913 * testsuite/ld-gc/stop.d,
1914 * testsuite/ld-gc/stop.s: New test.
1915 * testsuite/ld-gc/gc.exp: Run it.
1916
af667f22
MR
19172018-01-30 Maciej W. Rozycki <macro@mips.com>
1918
1919 PR ld/22649
1920 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
1921 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
1922 * testsuite/ld-elf/shared.exp: Use the new outputs with
1923 `mips*-*-*' targets.
1924
82252033
MR
19252018-01-30 Maciej W. Rozycki <macro@mips.com>
1926
1927 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
1928 `PRC[0xff02]' in place of a regular section index.
1929 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
1930
36b8fda5
AM
19312018-01-29 Alan Modra <amodra@gmail.com>
1932
1933 * testsuite/ld-elf/pr21964-3a.c: New file.
1934 * testsuite/ld-elf/pr21964-3c.c: New file.
1935 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
1936
185cdb8c
EB
19372018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1938
1939 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
1940 (pr22269-1): Pass AFLAGS_PIC to the assembler.
1941
d85815e2
EB
19422018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1943
1944 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
1945
86b24e15
MR
19462018-01-29 Maciej W. Rozycki <macro@mips.com>
1947
1948 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
1949 targets using non-traditional MIPS emulation or having a limited
1950 selection of ABIs available. Don't force big endianness, use
1951 defaults.
1952
98d72909
L
19532018-01-29 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 PR ld/22732
1956 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
1957 "-static" if target compiler supports it.
1958 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
1959 tests if target compiler doesn't support it.
1960 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1961 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
1962 (run_cc_link_tests): Likewise.
1963
fef75122
L
19642018-01-27 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 PR ld/22751
1967 * testsuite/config/default.exp (INT128_CFLAGS): New.
1968 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
1969 Run ld/22751 tests.
1970 * testsuite/ld-plugin/pr22751.c: New file.
1971 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
1972 ld trailing options.
1973
d580dcc7
AM
19742018-01-28 Alan Modra <amodra@gmail.com>
1975
1976 PR 22751
1977 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
1978 set.
1979
2ebd05b8
MR
19802018-01-26 Maciej W. Rozycki <macro@mips.com>
1981
1982 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
1983 `mipself'.
1984
bb363086
EB
19852018-01-25 Eric Botcazou <ebotcazou@adacore.com>
1986
1987 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
1988 Link with a version script.
1989 (32-bit: TLS -fpie): New test.
1990 (64-bit: Helper shared library): Link with a version script.
1991 (64-bit: TLS -fpie): New test.
1992 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
1993 * testsuite/ld-sparc/tlslib.ver: New file.
1994 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1995 * testsuite/ld-sparc/tlspie32.s: Likewise.
1996 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1997 * testsuite/ld-sparc/tlspie64.s: Likewise.
1998 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
1999 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
2000 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2001 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2002 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
2003 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2004
1daf502a
RL
20052018-01-24 Renlin Li <renlin.li@arm.com>
2006
2007 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
2008 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
2009 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
2010 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
2011 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
2012 * testsuite/ld-aarch64/emit-relocs-288.d: New.
2013 * testsuite/ld-aarch64/emit-relocs-288.s: New.
2014 * testsuite/ld-aarch64/emit-relocs-289.d: New.
2015 * testsuite/ld-aarch64/emit-relocs-289.s: New.
2016 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
2017 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
2018 * testsuite/ld-aarch64/emit-relocs-290.d: New.
2019 * testsuite/ld-aarch64/emit-relocs-290.s: New.
2020 * testsuite/ld-aarch64/emit-relocs-291.d: New.
2021 * testsuite/ld-aarch64/emit-relocs-291.s: New.
2022 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
2023 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
2024 * testsuite/ld-aarch64/emit-relocs-292.d: New.
2025 * testsuite/ld-aarch64/emit-relocs-292.s: New.
2026 * testsuite/ld-aarch64/emit-relocs-293.d: New.
2027 * testsuite/ld-aarch64/emit-relocs-293.s: New.
2028
8a1b824a
L
20292018-01-20 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 PR ld/22721
2032 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
2033 * testsuite/ld-plugin/pr22721.t: New file.
2034 * testsuite/ld-plugin/pr22721a.s: Likewise.
2035 * testsuite/ld-plugin/pr22721b.c: Likewise.
2036
1ebfa86a
L
20372018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * testsuite/ld-elf/group1.d: Also xfail Solaris.
2040
f7968f08
L
20412018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
2044 PLT/GOT order/layout for Solaris/x86 targets.
2045 * testsuite/ld-elf/linkinfo1b.d: Likewise.
2046
c5bdb022
L
20472018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 PR ld/22728
2050 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
2051 into ...
2052 (elf_solaris2_before_allocation): This.
2053 (LDEMUL_AFTER_ALLOCATION): Removed.
2054
691d2e9a
AM
20552018-01-18 Alan Modra <amodra@gmail.com>
2056
2057 * emultempl/ppc32elf.em: Support optional --plt-align arg.
2058 * emultempl/ppc64elf.em: Support negative --plt-align arg.
2059
1be5d8d3
AM
20602018-01-17 Alan Modra <amodra@gmail.com>
2061
2062 * emultempl/ppc32elf.em (params): Init new field.
2063 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2064 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2065 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2066 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2067 (PARSE_AND_LIST_OPTIONS): Likewise.
2068 * emultempl/ppc64elf.em (params): Init new field.
2069 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2070 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2071 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
2072 (PARSE_AND_LIST_OPTIONS): Likewise.
2073 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2074 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
2075 (--speculate-indirect-jumps): Document.
2076 * testsuite/ld-powerpc/elfv2exe.d,
2077 * testsuite/ld-powerpc/elfv2so.d,
2078 * testsuite/ld-powerpc/relbrlt.d,
2079 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
2080 speculation barriers on various tests.
2081
9e390558
AM
20822018-01-17 Alan Modra <amodra@gmail.com>
2083
2084 * emultempl/ppc32elf.em (params): Init new field.
2085 (enum ppc32_opt): New enum to define OPTION_* values. Add
2086 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
2087 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2088 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2089 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
2090 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
2091 correctly for negative --plt-stub-align.
2092 * testsuite/ld-powerpc/elfv2exe.d,
2093 * testsuite/ld-powerpc/elfv2so.d,
2094 * testsuite/ld-powerpc/relbrlt.d,
2095 * testsuite/ld-powerpc/relbrlt.s,
2096 * testsuite/ld-powerpc/tlsexe.d,
2097 * testsuite/ld-powerpc/tlsexe.r,
2098 * testsuite/ld-powerpc/tlsexe32.d,
2099 * testsuite/ld-powerpc/tlsexe32.g,
2100 * testsuite/ld-powerpc/tlsexe32.r,
2101 * testsuite/ld-powerpc/tlsexetoc.d,
2102 * testsuite/ld-powerpc/tlsexetoc.r,
2103 * testsuite/ld-powerpc/tlsopt5_32.d,
2104 * testsuite/ld-powerpc/tlsso.d,
2105 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
2106
f6efed01
NC
21072018-01-16 Nick Clifton <nickc@redhat.com>
2108
f174ef9f 2109 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 2110
616dcb87
NC
21112018-01-15 Nick Clifton <nickc@redhat.com>
2112
2113 * po/uk.po: Updated Ukranian translation.
2114
3957a496
NC
21152018-01-13 Nick Clifton <nickc@redhat.com>
2116
2117 * po/ld.pot: Regenerated.
2118
769c7ea5
NC
21192018-01-13 Nick Clifton <nickc@redhat.com>
2120
2121 * configure: Regenerate.
2122
9176ac5b
NC
21232018-01-13 Nick Clifton <nickc@redhat.com>
2124
faf766e3 2125 2.30 branch created.
9176ac5b
NC
2126 * NEWS: Add marker for 2.30.
2127
5ae5d3fd
AM
21282018-01-12 Alan Modra <amodra@gmail.com>
2129
2130 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
2131 initialization" for currently failing targets.
2132
87e79a65
AM
21332018-01-12 Alan Modra <amodra@gmail.com>
2134
2135 PR ld/22649
2136 * testsuite/ld-elf/pr22649.msg: Allow other messages.
2137 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
2138 supported before running ld/22649 tests.
2139
97a232d7
NC
21402018-01-12 Nick Clifton <nickc@redhat.com>
2141
2142 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
2143 as the opposite of "-z defs".
2144 * ld.texinfo: Document the new option. Update the description of
2145 the -z defs option to make it clear that it does generate an error
2146 if an undefined symbol reference is found in an object file whilst
2147 creating a shared library.
2148 * NEWS: Document this new feature.
2149
33eff4ce
L
21502018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
2153 "-z separate-code".
2154 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2155 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2156 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2157
cf9e7f1f
L
21582018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 PR ld/22393
2161 * testsuite/ld-x86-64/pr22393-3a.c: New file.
2162 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2163 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
2164 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2165 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
2166 -z max-page-size=0x1000.
2167
d346bb27
L
21682018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 PR ld/22393
2171 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
2172 * testsuite/ld-elf/pr22393-1.s: New file.
2173 * testsuite/ld-elf/pr22393-1a.d: Likewise.
2174 * testsuite/ld-elf/pr22393-1b.d: Likewise.
2175 * testsuite/ld-elf/pr22393-1c.d: Likewise.
2176 * testsuite/ld-elf/pr22393-1d.d: Likewise.
2177 * testsuite/ld-elf/pr22393-1e.d: Likewise.
2178 * testsuite/ld-elf/pr22393-1f.d: Likewise.
2179 * testsuite/ld-elf/pr22393-2a.c: Likewise.
2180 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
2181 * testsuite/ld-elf/pr22393-2b.c: Likewise.
2182 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2183 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
2184
47acac12
L
21852018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 PR ld/22393
2188 * NEWS: Mention "-z separate-code".
2189 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
2190 builtin linker scripts and return linker scripts from disk for
2191 "-z separate-code".
2192 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
2193 and "-z noseparate-code".
2194 * genscripts.sh: Generate linker scripts for "-z separate-code".
2195 (LD_FLAG): Set to *textonly for "-z separate-code".
2196 * ld.texinfo: Document "-z separate-code".
2197 * lexsup.c (elf_shlib_list_options): Add linker help messsages
2198 for "-z separate-code" and "-z noseparate-code".
2199 * scripttempl/elf.sc (SEPARATE_TEXT): New
2200 (TEXT_SEGMENT_ALIGN): Likewise.
2201 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
2202 ${MAXPAGESIZE}.
2203
d664fd41
L
22042018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 PR ld/22649
2207 * testsuite/ld-elf/pr22649-1.s: New file.
2208 * testsuite/ld-elf/pr22649-2a.s: Likewise.
2209 * testsuite/ld-elf/pr22649-2b.s: Likewise.
2210 * testsuite/ld-elf/pr22649.msg: Likewise.
2211 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
2212
8b6f4cd3
L
22132018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2214
2215 PR ld/22677
2216 * scripttempl/elf.sc (PREINIT_ARRAY): New.
2217 Don't add .preinit_array for ld -r.
2218 * testsuite/ld-elf/pr22677.d: New file.
2219 * testsuite/ld-elf/pr22677.s: Likewise.
2220
65f14869
AB
22212018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 * ldexp.h (union etree_union): Remove defsym field.
2224 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
2225 parameter.
2226 (exp_assign): Remove passing of defsym parameter.
2227 (exp_defsym): Likewise.
2228 (exp_provide): Likewise.
2229
eab62f2f
AB
22302018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2231
2232 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
2233 nodes are ignored in the tree walk, and move the location at which
2234 we change provide nodes into provided nodes.
2235 (exp_init_os): Add etree_provided.
2236 * testsuite/ld-scripts/provide-6.d: New file.
2237 * testsuite/ld-scripts/provide-6.t: New file.
2238 * testsuite/ld-scripts/provide-7.d: New file.
2239 * testsuite/ld-scripts/provide-7.t: New file.
2240 * testsuite/ld-scripts/provide-8.d: New file.
2241 * testsuite/ld-scripts/provide-8.t: New file.
2242
8be965c5
AB
22432018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2244
2245 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
2246 * testsuite/ld-scripts/provide-4.d: Use new map file name.
2247 * testsuite/ld-scripts/provide-5.d: Use new map file name.
2248 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
2249 * testsuite/ld-scripts/provide-4.map: ...this.
2250 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
2251 * testsuite/ld-scripts/provide-5.map: ...this.
2252 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
2253 file, and run tests in a loop.
2254
b3b9f8d3
AB
22552018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2256
2257 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
2258 PROVIDE statements.
2259 * testsuite/ld-scripts/provide-4.map: Update expected output.
2260 * testsuite/ld-scripts/provide-5.map: Likewise.
2261
6bd0a312
L
22622018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 PR ld/22696
2265 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
2266
74ccf6db
JW
22672018-01-09 Jim Wilson <jimw@sifive.com>
2268
2269 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
2270 (#alltargets): Renamed from #target. Add shared.
2271 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
2272 Document alltargets option. Add support for alltargets option.
2273 (istarget): Add support for shared target.
2274
7615ca1d
JW
22752018-01-08 Jim Wilson <jimw@sifive.com>
2276
2277 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
2278 instead of .text.
2279 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
2280 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
2281 tests, add call to check_shared_lib_support.
2282
be1dce26
JW
22832018-01-05 Jim Wilson <jimw@sifive.com>
2284
35eeb78f
JW
2285 * testsuite/ld-riscv-elf/disas-jalr.d: New.
2286 * testsuite/ld-riscv-elf/disas-jalr.s: New.
2287 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
2288
be1dce26
JW
2289 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
2290 case on $target, and don't set for riscv*-elf targets.
2291 (GENERATE_PIE_SCRIPT): Likewise.
2292
219d1afa
AM
22932018-01-03 Alan Modra <amodra@gmail.com>
2294
2295 Update year range in copyright notice of all files.
2296
1e563868 2297For older changes see ChangeLog-2017
3499769a 2298\f
1e563868 2299Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
2300
2301Copying and distribution of this file, with or without modification,
2302are permitted in any medium without royalty provided the copyright
2303notice and this notice are preserved.
2304
2305Local Variables:
2306mode: change-log
2307left-margin: 8
2308fill-column: 74
2309version-control: never
2310End:
This page took 0.253725 seconds and 4 git commands to generate.