Make linker assigned symbol dynamic only for shared object
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
4 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
5 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
6 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
7
8 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
9
10 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
11
12 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13
14 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
15 *-*-gnu* and *-*-solaris*.
16 * testsuite/ld-elf/pr19617b.d: Likewise.
17 * testsuite/ld-elf/pr19617c.d: Likewise.
18
19 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR ld/19617
22 * testsuite/ld-elf/pr19617.s: New file.
23 * testsuite/ld-elf/pr19617a.d: Likewise.
24 * testsuite/ld-elf/pr19617b.d: Likewise.
25 * testsuite/ld-elf/pr19617c.d: Likewise.
26
27 2016-02-18 Nick Clifton <nickc@redhat.com>
28
29 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
30 in-tree xg++ executable after checking for the presence of an
31 in-tree g++ executable.
32 * Makefile.in: Regenerate.
33
34 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
35
36 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
37 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
38 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
39
40 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
41
42 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
43 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
44 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
45 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
46 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
47 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
48 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
49 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
50 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
51 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
52 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
53 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
54 * testsuite/ld-x86-64/load1c.d: Likewise.
55 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
56 * testsuite/ld-x86-64/load1d.d: Likewise.
57 * testsuite/ld-x86-64/pr14207.d: Likewise.
58 * testsuite/ld-x86-64/pr19162.d: Likewise.
59 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
60 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
61 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
62 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
63 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
64 * testsuite/ld-x86-64/tlspic.rd: Likewise.
65
66 2016-02-17 Nick Clifton <nickc@redhat.com>
67
68 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
69
70 2016-02-15 Nick Clifton <nickc@redhat.com>
71
72 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
73 description of the flags produced by readelf.
74 * testsuite/ld-i386/pr12921.d: Likewise.
75 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
76 * testsuite/ld-i386/tlsbin.rd: Likewise.
77 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
78 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
79 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
80 * testsuite/ld-i386/tlsdesc.rd: Likewise.
81 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
82 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
83 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
84 * testsuite/ld-i386/tlsnopic.rd: Likewise.
85 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
86 * testsuite/ld-i386/tlspic.rd: Likewise.
87 * testsuite/ld-s390/tlsbin.rd: Likewise.
88 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
89 * testsuite/ld-s390/tlspic.rd: Likewise.
90 * testsuite/ld-s390/tlspic_64.rd: Likewise.
91 * testsuite/ld-sh/tlsbin-2.d: Likewise.
92 * testsuite/ld-sh/tlspic-2.d: Likewise.
93 * testsuite/ld-tic6x/common.d: Likewise.
94 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
95 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
96 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
97 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
98 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
99 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
100 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
101 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
102 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
103 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
104 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
105 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
106 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
107 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
108 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
109 * testsuite/ld-x86-64/pr12718.d: Likewise.
110 * testsuite/ld-x86-64/pr12921.d: Likewise.
111 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
112 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
113 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
114 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
115 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
116 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
117 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
118 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
119 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
120 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
121 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
122 * testsuite/ld-x86-64/tlspic.rd: Likewise.
123 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
124 * testsuite/ld-xtensa/tlspic.rd: Likewise.
125
126 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
127
128 PR ld/19615
129 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
130 PIE.
131 * lexsup.c (parse_args): Enable -Bsymbolic and
132 -Bsymbolic-functions for PIE.
133 * testsuite/ld-i386/i386.exp: Run pr19615.
134 * testsuite/ld-i386/pr19615.d: New file.
135 * testsuite/ld-i386/pr19615.s: Likewise.
136 * testsuite/ld-x86-64/pr19615.d: Likewise.
137 * testsuite/ld-x86-64/pr19615.s: Likewise.
138
139 2016-02-09 Nick Clifton <nickc@redhat.com>
140
141 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
142 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
143 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
144 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
145
146 2016-02-04 Nick Clifton <nickc@redhat.com>
147
148 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
149 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
150 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
151 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
152 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
153 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
154 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
155 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
156 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
157
158 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR gas/19520
161 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
162 * testsuite/ld-i386/call1.d: Likewise.
163 * testsuite/ld-i386/call2.d: Likewise.
164 * testsuite/ld-i386/call3a.d: Likewise.
165 * testsuite/ld-i386/call3b.d: Likewise.
166 * testsuite/ld-i386/call3c.d: Likewise.
167 * testsuite/ld-i386/call3d.d: Likewise.
168 * testsuite/ld-i386/call3e.d: Likewise.
169 * testsuite/ld-i386/call3f.d: Likewise.
170 * testsuite/ld-i386/call3g.d: Likewise.
171 * testsuite/ld-i386/call3h.d: Likewise.
172 * testsuite/ld-i386/jmp1.d: Likewise.
173 * testsuite/ld-i386/jmp2.d: Likewise.
174 * testsuite/ld-i386/lea1c.d: Likewise.
175 * testsuite/ld-i386/load1.d: Likewise.
176 * testsuite/ld-i386/load2.d: Likewise.
177 * testsuite/ld-i386/load3.d: Likewise.
178 * testsuite/ld-i386/load4a.d: Likewise.
179 * testsuite/ld-i386/load5a.d: Likewise.
180 * testsuite/ld-i386/mov2b.d: Likewise.
181 * testsuite/ld-i386/mov3.d: Likewise.
182 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
183 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
184 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
185 * testsuite/ld-x86-64/call1a.d: Likewise.
186 * testsuite/ld-x86-64/call1b.d: Likewise.
187 * testsuite/ld-x86-64/call1c.d: Likewise.
188 * testsuite/ld-x86-64/call1d.d: Likewise.
189 * testsuite/ld-x86-64/call1e.d: Likewise.
190 * testsuite/ld-x86-64/call1f.d: Likewise.
191 * testsuite/ld-x86-64/call1h.d: Likewise.
192 * testsuite/ld-x86-64/call1i.d: Likewise.
193 * testsuite/ld-x86-64/load1a.d: Likewise.
194 * testsuite/ld-x86-64/load1b.d: Likewise.
195 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
196 * testsuite/ld-i386/got1.dd: Updated.
197 * testsuite/ld-i386/got1d.S (1): Removed.
198 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
199 * testsuite/ld-x86-64/x86-64.exp: Likewise.
200
201 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR ld/18591
204 * testsuite/ld-x86-64/pr18591.d: New file.
205 * testsuite/ld-x86-64/pr18591.s: Likewise.
206 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
207
208 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR ld/19553
211 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
212 * testsuite/ld-elf/pr19553.map: New file.
213 * testsuite/ld-elf/pr19553.map: Likewise.
214 * testsuite/ld-elf/pr19553a.c: Likewise.
215 * testsuite/ld-elf/pr19553b.c: Likewise.
216 * testsuite/ld-elf/pr19553b.out: Likewise.
217 * testsuite/ld-elf/pr19553c.c: Likewise.
218 * testsuite/ld-elf/pr19553c.out: Likewise.
219 * testsuite/ld-elf/pr19553d.c: Likewise.
220 * testsuite/ld-elf/pr19553d.out: Likewise.
221
222 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
223
224 PR ld/19539
225 * testsuite/ld-elf/pr19539.d: New file.
226 * testsuite/ld-elf/pr19539.s: Likewise.
227 * testsuite/ld-elf/pr19539.t: Likewise.
228
229 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR ld/19533
232 * configure.ac (compressed_debug_sections): Replace == with =.
233 * configure: Regenerated.
234
235 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
236
237 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
238 * scripttempl/avrtiny.sc (.noinit): Likewise.
239
240 2016-01-21 Nick Clifton <nickc@redhat.com>
241
242 PR ld/19453
243 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
244 the arm-netbsdelf target.
245
246 PR ld/19455
247 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
248 disassmebler output.
249 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
250 * testsuite/ld-arm/vxworks1.dd: Likewise.
251 * testsuite/ld-arm/vxworks1.rd: Likewise.
252 * testsuite/ld-arm/vxworks1.ld: Set the output format.
253
254 2016-01-20 Jiong Wang <jiong.wang@arm.com>
255
256 * testsuite/ld-aarch64/farcall-section.d: Delete.
257 * testsuite/ld-aarch64/farcall-section.s: Delete.
258 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
259 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
260 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
261 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
262 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
263
264 2016-01-20 Nick Clifton <nickc@redhat.com>
265
266 PR 19457
267 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
268 early for PE based targets.
269 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
270 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
271
272 2016-01-20 Mickael Guene <mickael.guene@st.com>
273
274 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
275 Add 'y' attribute usage.
276 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
277 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
278 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
279
280 2016-01-19 Nick Clifton <nickc@redhat.com>
281
282 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
283 foo@FOO and bar@@FOO.
284
285 2016-01-18 Alan Modra <amodra@gmail.com>
286
287 * configure: Regenerate.
288
289 2016-01-18 Nick Clifton <nickc@redhat.com>
290
291 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
292 is not configured to support plugins.
293
294 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
295 but with 16 byte section alignment.
296 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
297 test for MIPS targets.
298
299 2016-01-17 Alan Modra <amodra@gmail.com>
300
301 * configure: Regenerate.
302
303 2016-01-17 Alan Modra <amodra@gmail.com>
304
305 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
306 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
307 * testsuite/ld-elf/pr14156a.d: Likewise.
308 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
309 * testsuite/ld-elf/sec64k.exp: Likewise.
310
311 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
312
313 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
314 Set address of .foo section when linking.
315 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
316 in .foo section.
317 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
318 output to the above changes.
319
320 2016-01-13 Nick Clifton <nickc@redhat.com>
321
322 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
323 for MIPS targets.
324
325 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
326 fail for MIPS targets.
327
328 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
329 MIPS targets.
330
331 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
332
333 * testsuite/ld-arm/arm-elf.exp: New test.
334 * testsuite/ld-arm/unwind-mix.d: New file.
335 * testsuite/ld-arm/unwind-mix1.s: New file.
336 * testsuite/ld-arm/unwind-mix2.s: New file.
337
338 2016-01-08 Jiong Wang <jiong.wang@arm.com>
339
340 PR ld/19368
341 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
342 * testsuite/ld-arm/ifunc-4.rd: Likewise.
343 * testsuite/ld-arm/ifunc-9.rd: Likewise.
344 * testsuite/ld-arm/ifunc-10.rd: Likewise.
345 * testsuite/ld-arm/ifunc-12.rd: Likewise.
346 * testsuite/ld-arm/ifunc-13.rd: Likewise.
347
348 2016-01-05 Nick Clifton <nickc@redhat.com>
349
350 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
351 MSP430 hardware multiply address range.
352 * scripttempl/elf32msp430.sc (__romdatastart): Define.
353 (__romdatacopysize): Define.
354 * scripttempl/elf32msp430_3.sc: Likewise.
355
356 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
357
358 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
359 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
360
361 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
362
363 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
364 messages expected according to MIPS BFD private data merge
365 changes.
366 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
367 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
368 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
369 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
370 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
371 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
372 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
373 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
374 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
375 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
376 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
377 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
378 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
379
380 2016-01-01 Alan Modra <amodra@gmail.com>
381
382 Update year range in copyright notice of all files.
383
384 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
385 \f
386 Copyright (C) 2016 Free Software Foundation, Inc.
387
388 Copying and distribution of this file, with or without modification,
389 are permitted in any medium without royalty provided the copyright
390 notice and this notice are preserved.
391
392 Local Variables:
393 mode: change-log
394 left-margin: 8
395 fill-column: 74
396 version-control: never
397 End:
This page took 0.037438 seconds and 5 git commands to generate.