Commit | Line | Data |
---|---|---|
28d810f7 MR |
1 | 2017-09-26 Maciej W. Rozycki <macro@imgtec.com> |
2 | ||
3 | * testsuite/ld-undefined/undefined.exp: Correct the dyn reloc | |
4 | test for MIPS and S+core targets. | |
5 | ||
be2b629f L |
6 | 2017-09-22 H.J. Lu <hongjiu.lu@intel.com> |
7 | ||
8 | PR ld/22150 | |
9 | * testsuite/ld-elf/pr22150.vd: New file. | |
10 | * testsuite/ld-elf/pr22150.ver: Likewise. | |
11 | * testsuite/ld-elf/pr22150a.s: Likewise. | |
12 | * testsuite/ld-elf/pr22150b.s: Likewise. | |
13 | * testsuite/ld-elf/shared.exp: Run PR ld/22150 tests. | |
14 | ||
ba52cbb9 AM |
15 | 2017-09-21 Alan Modra <amodra@gmail.com> |
16 | ||
17 | * testsuite/ld-powerpc/tlsopt5.wf: Update for reduced alignment. | |
18 | ||
b7f54058 MR |
19 | 2017-09-19 Maciej W. Rozycki <macro@imgtec.com> |
20 | ||
21 | * configure.tgt <mips64el-*-openbsd*, mips64-*-openbsd*>: New | |
22 | targets. | |
23 | ||
8fd138c4 AM |
24 | 2017-09-15 Alan Modra <amodra@gmail.com> |
25 | ||
26 | PR 22118 | |
27 | * testsuite/ld-aarch64/erratum843419.d: Correct regexp. | |
28 | ||
79254a52 L |
29 | 2017-09-14 H.J. Lu <hongjiu.lu@intel.com> |
30 | ||
31 | PR ld/22139 | |
32 | * testsuite/ld-elf/globalaudit.rd: Allow additional bits in | |
33 | DT_FLAGS_1. | |
34 | ||
5e5e02ae L |
35 | 2017-09-14 H.J. Lu <hongjiu.lu@intel.com> |
36 | ||
37 | PR ld/22135 | |
38 | * testsuite/ld-i386/i386.exp: Run pr22135. | |
39 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
40 | * testsuite/ld-i386/pr22135.d: New file. | |
41 | * testsuite/ld-i386/pr22135.s: Likewise. | |
42 | * testsuite/ld-x86-64/pr22135.d: Likewise. | |
43 | * testsuite/ld-x86-64/pr22135.s: Likewise. | |
44 | ||
2420fff6 AM |
45 | 2017-09-09 Alan Modra <amodra@gmail.com> |
46 | ||
47 | * ld.texinfo (--plt-align): Describe new behaviour of option. | |
48 | * emultempl/ppc64elf.em (params): Default plt_stub_align to 5. | |
49 | * testsuite/ld-powerpc/powerpc.exp: Pass --no-plt-align for | |
50 | selected tests. | |
51 | * testsuite/ld-powerpc/relbrlt.d: Pass --no-plt-align. | |
52 | * testsuite/ld-powerpc/elfv2so.d: Adjust expected output. | |
53 | ||
0a27fed7 L |
54 | 2017-09-09 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | PR ld/22115 | |
57 | * ld-i386/i386.exp: Run PR ld/22115 tests, | |
58 | * ld/testsuite/ld-x86-64/x86-64.exp: Likewise. | |
59 | * testsuite/ld-i386/pr22115-1.s: New file. | |
60 | * testsuite/ld-i386/pr22115-1a.d: Likewise. | |
61 | * testsuite/ld-i386/pr22115-1b.d: Likewise. | |
62 | * testsuite/ld-i386/pr22115-1c.d: Likewise. | |
63 | * testsuite/ld-i386/pr22115-1d.d: Likewise. | |
64 | * testsuite/ld-x86-64/pr22115-1.s: Likewise. | |
65 | * testsuite/ld-x86-64/pr22115-1a-x32.d: Likewise. | |
66 | * testsuite/ld-x86-64/pr22115-1a.d: Likewise. | |
67 | * testsuite/ld-x86-64/pr22115-1b-x32.d: Likewise. | |
68 | * testsuite/ld-x86-64/pr22115-1b.d: Likewise. | |
69 | * testsuite/ld-x86-64/pr22115-1c-x32.d: Likewise. | |
70 | * testsuite/ld-x86-64/pr22115-1c.d: Likewise. | |
71 | * testsuite/ld-x86-64/pr22115-1d-x32.d: Likewise. | |
72 | * testsuite/ld-x86-64/pr22115-1d.d: Likewise. | |
73 | ||
78984959 L |
74 | 2017-09-06 H.J. Lu <hongjiu.lu@intel.com> |
75 | ||
76 | * testsuite/ld-x86-64/pr19609-2a.d: Updated. | |
77 | * testsuite/ld-x86-64/pr19609-2b.d: Likewise. | |
78 | * testsuite/ld-x86-64/pr19609-4a.d: Likewise. | |
79 | * testsuite/ld-x86-64/pr19609-4c.d: Likewise. | |
80 | ||
dc089072 L |
81 | 2017-09-05 H.J. Lu <hongjiu.lu@intel.com> |
82 | ||
83 | * testsuite/ld-x86-64/pr19609-5d.d: Updated. | |
84 | * testsuite/ld-x86-64/pr19609-7a.d: Likewise. | |
85 | * testsuite/ld-x86-64/pr19609-7c.d: Likewise. | |
86 | ||
8b43e456 L |
87 | 2017-09-05 H.J. Lu <hongjiu.lu@intel.com> |
88 | ||
89 | * testsuite/ld-x86-64/pr19609-4e.d: Updated. | |
90 | * testsuite/ld-x86-64/pr19609-6a.d: Likewise. | |
91 | ||
0e30d991 L |
92 | 2017-09-03 H.J. Lu <hongjiu.lu@intel.com> |
93 | ||
94 | PR ld/22071 | |
95 | * testsuite/ld-x86-64/pr22071.d: New file. | |
96 | * testsuite/ld-x86-64/pr22071.s: Likewise. | |
97 | * testsuite/ld-x86-64/x86-64.exp: Run pr22071. | |
98 | ||
1fa4ec6a AM |
99 | 2017-09-02 Alan Modra <amodra@gmail.com> |
100 | ||
101 | * ldlang.h (lang_input_statement_type): Expand comments. | |
102 | (LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts. | |
103 | * ldlang.c (lang_for_each_input_file): Likewise. | |
104 | (load_symbols): Set usrdata for archives. | |
105 | (find_rescan_insertion): New function. | |
106 | (lang_process): Trim off and reinsert entries added to file chain | |
107 | when rescanning archives for LTO. | |
108 | * ldmain.c (add_archive_element): Set my_archive input_statement | |
109 | next pointer to last element added. | |
110 | ||
ad71ce8d L |
111 | 2017-09-01 H.J. Lu <hongjiu.lu@intel.com> |
112 | ||
113 | PR ld/22064 | |
114 | * testsuite/ld-x86-64/pr22064a.S: New file. | |
115 | * testsuite/ld-x86-64/pr22064b.c: Likewise. | |
116 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22064 test. | |
117 | ||
96d01d93 AM |
118 | 2017-09-02 Alan Modra <amodra@gmail.com> |
119 | ||
120 | * emultempl/msp430.em (eval_upper_either_sections): Make base_sec_name | |
121 | a const char*. | |
122 | (eval_lower_either_sections): Likewise. | |
123 | (msp430_elf_after_allocation): Likewise, and don't needlessly concat | |
124 | and free. Warning fix. | |
125 | ||
e10c9c62 L |
126 | 2017-09-01 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | PR ld/22061 | |
129 | * testsuite/ld-i386/ibt-plt-1.d: Updated. | |
130 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
131 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
132 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
133 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
134 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
135 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
136 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
137 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
138 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
139 | * testsuite/ld-i386/ibt-plt-2b.d: Pass --hash-style=sysv to ld | |
140 | and dump unwind information. | |
141 | * testsuite/ld-i386/ibt-plt-2d.d: Likewise. | |
142 | * testsuite/ld-i386/ibt-plt-3b.d: Likewise. | |
143 | * testsuite/ld-i386/ibt-plt-3d.d: Likewise. | |
144 | * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. | |
145 | * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. | |
146 | * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. | |
147 | * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. | |
148 | * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. | |
149 | * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. | |
150 | * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. | |
151 | * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. | |
152 | ||
d7de6408 L |
153 | 2017-08-31 H.J. Lu <hongjiu.lu@intel.com> |
154 | ||
155 | PR ld/22048 | |
156 | * testsuite/ld-x86-64/pr22048.d: New file. | |
157 | * testsuite/ld-x86-64/pr22048a.s: Likewise. | |
158 | * testsuite/ld-x86-64/pr22048b.s: Likewise. | |
159 | * testsuite/ld-x86-64/x86-64.exp: Run pr22048. | |
160 | ||
9866ffe2 AM |
161 | 2017-08-31 Alan Modra <amodra@gmail.com> |
162 | ||
163 | * testsuite/ld-elf/eh3.d: Update. | |
164 | * testsuite/ld-elf/eh4.d: Update. | |
165 | ||
5dda3209 MR |
166 | 2017-08-30 Maciej W. Rozycki <macro@imgtec.com> |
167 | ||
168 | * testsuite/ld-elf/orphan-11.ld: Also discard `.MIPS.options' | |
169 | sections. | |
170 | ||
70e65ca8 MR |
171 | 2017-08-30 Maciej W. Rozycki <macro@imgtec.com> |
172 | ||
173 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test. | |
174 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New | |
175 | test. | |
176 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New | |
177 | test. | |
178 | * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test. | |
179 | * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New | |
180 | test. | |
181 | * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New | |
182 | test. | |
183 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test. | |
184 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test. | |
185 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test. | |
186 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New | |
187 | test. | |
188 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New | |
189 | test. | |
190 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New | |
191 | test. | |
192 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
193 | ||
9a23f96e AM |
194 | 2017-08-30 Alan Modra <amodra@gmail.com> |
195 | ||
196 | * testsuite/ld-powerpc/tls.s: Add calls with tls markers. | |
197 | * testsuite/ld-powerpc/tls32.s: Likewise. | |
198 | * testsuite/ld-powerpc/powerpc.exp: Run tls marker tests. | |
199 | * testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization. | |
200 | * testsuite/ld-powerpc/tlsexe.d: Likewise. | |
201 | * testsuite/ld-powerpc/tlsexetoc.d: Likewise. | |
202 | * testsuite/ld-powerpc/tlsld.d: Likewise. | |
203 | * testsuite/ld-powerpc/tlsmark.d: Likewise. | |
204 | * testsuite/ld-powerpc/tlsopt4.d: Likewise. | |
205 | * testsuite/ld-powerpc/tlstoc.d: Likewise. | |
206 | ||
b9f04fe0 AM |
207 | 2017-08-30 Alan Modra <amodra@gmail.com> |
208 | ||
209 | * testsuite/ld-powerpc/tls.d: Update. | |
210 | * testsuite/ld-powerpc/tlsexe.d: Update. | |
211 | * testsuite/ld-powerpc/tlsexetoc.d: Update. | |
212 | * testsuite/ld-powerpc/tlsld.d: Update. | |
213 | * testsuite/ld-powerpc/tlsmark.d: Update. | |
214 | * testsuite/ld-powerpc/tlsopt4.d: Update. | |
215 | * testsuite/ld-powerpc/tlstoc.d: Update. | |
216 | ||
c7dffc39 HPN |
217 | 2017-08-30 Hans-Peter Nilsson <hp@axis.com> |
218 | ||
219 | * testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv. | |
220 | * testsuite/ld-cris/dso-pltdis2.d, | |
221 | testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d, | |
222 | testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d, | |
223 | testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d, | |
224 | testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d, | |
225 | testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d, | |
226 | testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d, | |
227 | testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d, | |
228 | testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d, | |
229 | testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d, | |
230 | testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d, | |
231 | testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d, | |
232 | testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d, | |
233 | testsuite/ld-cris/tls-dso-dtpoffd2.d, | |
234 | testsuite/ld-cris/tls-dso-dtpoffd4.d, | |
235 | testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, | |
236 | testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d, | |
237 | testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d, | |
238 | testsuite/ld-cris/tls-ldgdex-14.d, | |
239 | testsuite/ld-cris/tls-ldgdex-15.d, | |
240 | testsuite/ld-cris/tls-legdx-16.d, | |
241 | testsuite/ld-cris/tls-legdx-17.d, | |
242 | testsuite/ld-cris/tls-local-63.d, | |
243 | testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d, | |
244 | testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d, | |
245 | testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d, | |
246 | testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d, | |
247 | testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d, | |
248 | testsuite/ld-cris/weakref4.d: Likewise. | |
249 | ||
7ef3addb JL |
250 | 2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com> |
251 | ||
252 | * emultempl/msp430.em (change_output_section): New function. | |
253 | (move_prefixed_section): New function. | |
254 | (add_region_prefix): New function. | |
255 | (msp430_elf_after_open): New function. | |
256 | (gld${EMULATION_NAME}_add_options): Implement. | |
257 | (gld${EMULATION_NAME}_list_options): Implement. | |
258 | (gld${EMULATION_NAME}_handle_option): Implement. | |
259 | * ld.texinfo: Document new options. | |
260 | * testsuite/ld-msp430-elf/main-bss-lower.d: New. | |
261 | * testsuite/ld-msp430-elf/main-bss-upper.d: New. | |
262 | * testsuite/ld-msp430-elf/main-const-lower.d: New. | |
263 | * testsuite/ld-msp430-elf/main-const-upper.d: New. | |
264 | * testsuite/ld-msp430-elf/main-text-lower.d: New. | |
265 | * testsuite/ld-msp430-elf/main-text-upper.d: New. | |
266 | * testsuite/ld-msp430-elf/main-var-lower.d: New. | |
267 | * testsuite/ld-msp430-elf/main-var-upper.d: New. | |
268 | * testsuite/ld-msp430-elf/main-with-data-bss-unique-sec.s: New. | |
269 | * testsuite/ld-msp430-elf/main-with-data-bss.s: New. | |
270 | * testsuite/ld-msp430-elf/main-with-text-rodata-unique-sec.s: New. | |
271 | * testsuite/ld-msp430-elf/main-with-text-rodata.s: New. | |
272 | * testsuite/ld-msp430-elf/msp430-elf.exp: New. | |
273 | * testsuite/ld-msp430-elf/msp430-no-lower.ld: New. | |
274 | * testsuite/ld-msp430-elf/msp430.ld: New. | |
275 | * emultempl/msp430.em (data_statement_size): New. | |
276 | (eval_upper_either_sections): New. | |
277 | (eval_lower_either_sections): New. | |
278 | (intermediate_relax_sections): New. | |
279 | (msp430_elf_after_allocation): New. | |
280 | * emultempl/msp430.em (gld${EMULATION_NAME}_place_orphan): Always | |
281 | place sections in the lower region. | |
282 | ||
a5b4ee94 L |
283 | 2017-08-26 H.J. Lu <hongjiu.lu@intel.com> |
284 | ||
285 | PR ld/21997 | |
286 | * testsuite/ld-i386/i386.exp: Run PR ld/21997 tests. | |
287 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
288 | * testsuite/ld-i386/pr21997-1a.S: New file. | |
289 | * testsuite/ld-i386/pr21997-1b.c: Likewise. | |
290 | * testsuite/ld-i386/pr21997-1c.S: Likewise. | |
291 | * testsuite/ld-x86-64/pr21997-1a.S: Likewise. | |
292 | * testsuite/ld-x86-64/pr21997-1a.err: Likewise. | |
293 | * testsuite/ld-x86-64/pr21997-1b.c: Likewise. | |
294 | * testsuite/ld-x86-64/pr21997-1b.err: Likewise. | |
295 | * testsuite/ld-x86-64/pr21997-1c.c: Likewise. | |
296 | ||
176047c9 L |
297 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
298 | ||
299 | * testsuite/ld-elf/pr21903c.d: Remove '\' before --. | |
300 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
301 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
302 | * testsuite/lib/ld-lib.exp (run_dump_test): Add "--" after | |
303 | regexp. | |
304 | ||
074f6066 L |
305 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
306 | ||
307 | * testsuite/ld-i386/i386.exp (undefined_weak): Replace regexp | |
308 | with string match. | |
309 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise. | |
310 | ||
28e6a46b L |
311 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
312 | ||
313 | * testsuite/ld-x86-64/x86-64.exp: Run pr22001-1b on x32. | |
314 | ||
7073b5b9 L |
315 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
316 | ||
317 | PR ld/22001 | |
318 | * testsuite/ld-i386/i386.exp: Run -z nocopyreloc tests. | |
319 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
28e6a46b L |
320 | * testsuite/ld-i386/pr22001-1a.c: New file. |
321 | * testsuite/ld-i386/pr22001-1b.c: Likewise. | |
322 | * testsuite/ld-i386/pr22001-1c.S: Likewise. | |
323 | * testsuite/ld-x86-64/pr22001-1a.c: Likewise. | |
324 | * testsuite/ld-x86-64/pr22001-1a.err: Likewise. | |
325 | * testsuite/ld-x86-64/pr22001-1b.c: Likewise. | |
326 | * testsuite/ld-x86-64/pr22001-1b.err: Likewise. | |
327 | * testsuite/ld-x86-64/pr22001-1c.c: Likewise. | |
7073b5b9 | 328 | |
5b5f4e6f AB |
329 | 2017-08-17 Andrew Burgess <andrew.burgess@embecosm.com> |
330 | ||
331 | PR 21961 | |
332 | * ldlang.c (lang_discard_section_p): New function. | |
333 | (lang_add_section): Checks moved out into new function, which is | |
334 | now called. | |
335 | (lang_place_orphans): Call lang_discard_section_p instead of | |
336 | duplicating some of the checks from lang_add_section. | |
337 | * testsuite/ld-elf/orphan-11.d: New file. | |
338 | * testsuite/ld-elf/orphan-11.ld: New file. | |
339 | * testsuite/ld-elf/orphan-11.s: New file. | |
340 | * testsuite/ld-elf/orphan-12.d: New file. | |
341 | * testsuite/ld-elf/orphan-12.s: New file. | |
342 | ||
647d4de9 AM |
343 | 2017-08-24 Alan Modra <amodra@gmail.com> |
344 | ||
345 | * testsuite/ld-undefined/fundef.s: New test. | |
346 | * testsuite/ld-undefined/undefined.exp: Test that undefined | |
347 | symbols in shared libraries are made dynamic. | |
348 | ||
49263c56 L |
349 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
350 | ||
351 | * testsuite/ld-elf/pr21903c.d: Add '\' before --. | |
352 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
353 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
354 | ||
aab921ad L |
355 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
356 | ||
357 | * testsuite/ld-x86-64/pie2.d: Updated. | |
358 | * testsuite/ld-x86-64/pr19719.d: Likewise. | |
359 | * testsuite/ld-x86-64/pr19807-2a.d: Likewise. | |
360 | * testsuite/ld-x86-64/pr19969.d: Likewise. | |
361 | ||
73784fa5 L |
362 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
363 | ||
364 | * testsuite/ld-i386/i386.exp: Run protected7. | |
365 | * testsuite/ld-i386/protected7.d: New file. | |
366 | * testsuite/ld-i386/protected7.s: Likewise. | |
367 | * testsuite/ld-x86-64/protected8.d: Likewise. | |
368 | * testsuite/ld-x86-64/protected8.s: Likewise. | |
369 | * testsuite/ld-x86-64/x86-64.exp: Run protected8. | |
370 | ||
9d3420f5 AM |
371 | 2017-08-23 Alan Modra <amodra@gmail.com> |
372 | ||
373 | * testsuite/ld-gc/pr19161.d: Don't xfail hppa. | |
374 | ||
8dfb7cbf L |
375 | 2017-08-22 H.J. Lu <hongjiu.lu@intel.com> |
376 | Alan Modra <amodra@gmail.com> | |
377 | ||
378 | * testsuite/ld-elf/pr21964-1a.c (foo): Renamed to ... | |
379 | (foo1): This. | |
380 | * testsuite/ld-elf/pr21964-1b.c: Rewrite. | |
381 | * testsuite/ld-elf/pr21964-1c.c: New file. | |
382 | * testsuite/ld-elf/pr21964-2c.c: Likewise. | |
383 | * testsuite/ld-elf/pr21964-2a.c (foo): Renamed to ... | |
384 | (foo1): This. | |
385 | * testsuite/ld-elf/pr21964-2b.c: Rewrite. | |
386 | * testsuite/ld-elf/shared.exp: Update PR ld/21964 tests. | |
387 | ||
487b6440 AM |
388 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
389 | Alan Modra <amodra@gmail.com> | |
390 | ||
391 | PR ld/21964 | |
392 | * testsuite/ld-elf/pr21562a.d: Update for changed start/stop symbols. | |
393 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
394 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
395 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
396 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
397 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
398 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
399 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
400 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
401 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
402 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
403 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
404 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
405 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
406 | * testsuite/ld-elf/sizeofa.d: Likewise. | |
407 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
408 | * testsuite/ld-elf/startofa.d: Likewise. | |
409 | * testsuite/ld-elf/startofb.d: Likewise. | |
410 | * testsuite/ld-gc/pr20022.d: Likewise. | |
411 | * testsuite/ld-gc/start.d: Likewise. | |
412 | * testsuite/ld-elf/pr21964-1a.c: New file. | |
413 | * testsuite/ld-elf/pr21964-1b.c: New file. | |
414 | * testsuite/ld-elf/pr21964-2a.c: New file. | |
415 | * testsuite/ld-elf/pr21964-2b.c: New file. | |
416 | * testsuite/ld-elf/shared.exp: Run PR ld/21964 tests. | |
417 | ||
284d826d HPN |
418 | 2017-08-21 Hans-Peter Nilsson <hp@bitrange.com> |
419 | ||
420 | PR ld/20125 | |
421 | * testsuite/ld-mmix/pr20125.d, testsuite/ld-mmix/pr20125.s: New | |
422 | test. | |
423 | ||
7f3d21db L |
424 | 2017-08-20 A. Wilcox <awilfox@adelielinux.org> |
425 | ||
426 | PR ld/21976 | |
427 | * testsuite/ld-x86-64/plt-main-bnd.dd: Accept '_' in symbol | |
428 | name. | |
429 | ||
12601963 NC |
430 | 2017-08-17 Nick Clifton <nickc@redhat.com> |
431 | ||
432 | * po/pt_BR.po: New Brazilian Portuguese translation. | |
433 | * configure.ac (ALL_LINGUAS): Add pt_BR. | |
434 | * configure: Regenerate. | |
435 | ||
79a94a2a AM |
436 | 2017-08-14 Alan Modra <amodra@gmail.com> |
437 | ||
438 | PR 21441 | |
439 | * testsuite/ld-x86-64/pr21038a.d: Adjust. | |
440 | * testsuite/ld-x86-64/pr21038a-now.d: Adjust. | |
441 | ||
34c4758c L |
442 | 2017-08-13 H.J. Lu <hongjiu.lu@intel.com> |
443 | ||
444 | * testsuite/ld-i386/i386.exp: Run pr21884-nacl. | |
445 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
446 | * testsuite/ld-i386/pr21884.d: Don't run on nacl targets. | |
447 | * testsuite/ld-x86-64/pr21884.d: Likewise. | |
448 | * testsuite/ld-i386/pr21884.t: Revert the last change. | |
449 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
450 | * testsuite/ld-i386/pr21884-nacl.d: New file. | |
451 | * testsuite/ld-i386/pr21884-nacl.t: Likewise. | |
452 | * testsuite/ld-x86-64/pr21884-nacl.d: Likewise. | |
453 | * testsuite/ld-x86-64/pr21884-nacl.t: Likewise. | |
454 | ||
6d545e31 AM |
455 | 2017-08-13 Alan Modra <amodra@gmail.com> |
456 | ||
457 | * testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry. | |
458 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
459 | ||
93ab9c0d NC |
460 | 2017-08-11 Nick Clifton <nickc@redhat.com> |
461 | ||
462 | * emultempl/elf32.em (handle_option): Accept the -z globalaudit | |
463 | command line option. | |
464 | * lexsup.c (elf_static_list_options): Add -z globalaudit. | |
465 | * ld.texinfo: Document the support for the new command line | |
466 | option. | |
467 | * NEWS: Mention the new feature. | |
468 | * testsuite/ld-elf/audit.exp: Add a test of the -z globalaudit | |
469 | command line option. | |
470 | * testsuite/ld-elf/globalaudit.rd: New file: Expected output from | |
471 | readelf. | |
472 | ||
9593aade L |
473 | 2017-08-11 H.J. Lu <hongjiu.lu@intel.com> |
474 | ||
475 | PR ld/21884 | |
476 | * testsuite/ld-i386/i386.exp: Run pr21884. | |
477 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
478 | * testsuite/ld-i386/pr21884.d: New file. | |
479 | * testsuite/ld-i386/pr21884.t: Likewise. | |
480 | * testsuite/ld-x86-64/pr21884.d: Likewise. | |
481 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
482 | ||
ca6f2be7 NC |
483 | 2017-08-10 Nick Clifton <nickc@redhat.com> |
484 | ||
485 | * scripttempl/pep.sc: Enclose __CTOR_LIST__, ___CTOR_LIST__, | |
486 | __DTOR_LIST__ and ___DTOR_LIST__ in PROVIDE statements so that | |
487 | they can be overrridden by crt input files. | |
488 | * scripttempl/pe.sc: Likewise. | |
489 | ||
7ed1dab9 L |
490 | 2017-08-09 H.J. Lu <hongjiu.lu@intel.com> |
491 | ||
492 | * testsuite/config/default.exp (LD_CLASS): Check .libs/ld-new | |
493 | for linker first. | |
494 | ||
978c0540 L |
495 | 2017-08-09 H.J. Lu <hongjiu.lu@intel.com> |
496 | ||
497 | * testsuite/config/default.exp (LD_CLASS): New. Set to "64bit" | |
498 | for 64-bit ELF linker. | |
499 | * testsuite/ld-x86-64/pr17618.d (#notarget): Removed. | |
500 | * testsuite/ld-x86-64/x86-64.exp: Run pr17618 only for 64-bit | |
501 | linker. | |
502 | ||
25d28c91 L |
503 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
504 | ||
505 | PR ld/21924 | |
506 | * testsuite/ld-i386/i386.exp: Require GCC 5 or above for | |
507 | "weakundef1 with PIE" test. | |
508 | * testsuite/ld-x86-64/tls.exp: Require GCC 5 or above for | |
509 | "tlsdesc1" and "tlsdesc1 with PIE" tests. | |
510 | ||
9165f454 L |
511 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
512 | ||
513 | * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath. | |
514 | * configure: Regenerated. | |
515 | ||
fe22cbc4 L |
516 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
517 | ||
518 | PR ld/21923 | |
519 | * configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath | |
520 | for --disable-static. | |
521 | * configure: Regenerated. | |
522 | ||
2760f24c RG |
523 | 2017-08-08 Romain Geissler <romain.geissler@gmail.com> |
524 | Alan Modra <amodra@gmail.com> | |
525 | ||
526 | * configure.ac: Add --enable-default-hash-style option. | |
527 | * ldmain.c (main): Set link_info.emit_hash to DEFAULT_EMIT_SYSV_HASH. | |
528 | Set link_info.emit_gnu_hash to DEFAULT_EMIT_GNU_HASH. | |
529 | * configure: Regenerate. | |
530 | * config.in: Regenerate. | |
531 | ||
8f5e83fb AM |
532 | 2017-08-08 Alan Modra <amodra@gmail.com> |
533 | ||
534 | * testsuite/ld-aarch64/ifunc-1-local.d: Run ld with --hash-style=sysv. | |
535 | * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. | |
536 | * testsuite/ld-aarch64/ifunc-3a.d: Likewise. | |
537 | * testsuite/ld-frv/fdpic-pie-1.d: Likewise. | |
538 | * testsuite/ld-frv/fdpic-pie-2.d: Likewise. | |
539 | * testsuite/ld-frv/fdpic-pie-7.d: Likewise. | |
540 | * testsuite/ld-frv/fdpic-pie-8.d: Likewise. | |
541 | * testsuite/ld-arm/arm-elf.exp: Add --hash-style=sysv to "Using | |
542 | Thumb lib by another lib" test's ld options. | |
543 | * testsuite/ld-elf/note-3.l: Match .gnu.hash. | |
544 | * testsuite/ld-elf/note-3.t: Add .gnu.hash output section. | |
545 | ||
2980ccad L |
546 | 2017-08-07 H.J. Lu <hongjiu.lu@intel.com> |
547 | ||
548 | * testsuite/ld-elf/pr21903.s (start): Removed. | |
549 | (_start): Likewise. | |
550 | (__start): Likewise. | |
551 | (main): Likewise. | |
552 | (bar): New. | |
553 | ||
bab55c05 AM |
554 | 2017-08-07 Alan Modra <amodra@gmail.com> |
555 | ||
556 | * testsuite/ld-alpha/alpha.exp: Add --hash-style=sysv to various | |
557 | test's ld options. | |
558 | * testsuite/ld-arm/arm-elf.exp: Likewise. | |
559 | * testsuite/ld-elf/elf.exp: Likewise. | |
560 | * testsuite/ld-elf/readelf.exp: Likewise. | |
561 | * testsuite/ld-elfvsb/elfvsb.exp: Likewise. | |
562 | * testsuite/ld-i386/i386.exp: Likewise. | |
563 | * testsuite/ld-ia64/ia64.exp: Likewise. | |
564 | * testsuite/ld-m68k/m68k.exp: Likewise. | |
565 | * testsuite/ld-metag/metag.exp: Likewise. | |
566 | * testsuite/ld-powerpc/powerpc.exp: Likewise. | |
567 | * testsuite/ld-s390/s390.exp: Likewise. | |
568 | * testsuite/ld-sh/sh-vxworks.exp: Likewise. | |
569 | * testsuite/ld-shared/shared.exp: Likewise. | |
570 | * testsuite/ld-sparc/sparc.exp: Likewise. | |
571 | * testsuite/ld-tic6x/tic6x.exp: Likewise. | |
572 | * testsuite/ld-vax-elf/vax-elf.exp: Likewise. | |
573 | * testsuite/ld-x86-64/mpx.exp: Likewise. | |
574 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
575 | * testsuite/ld-xtensa/xtensa.exp: Likewise. | |
576 | ||
577 | * testsuite/ld-elf/comm-data2.ld: Add .gnu.hash output section. | |
578 | * testsuite/ld-elf/pr20828-v.ld: Likewise. | |
579 | * testsuite/ld-elf/pr20828.ld: Likewise. | |
580 | * testsuite/ld-elf/pr21233.ld: Likewise. | |
581 | * testsuite/ld-elf/pr21384.ld: Likewise. | |
582 | * testsuite/ld-elf/provide-hidden-1.ld: Likewise. | |
583 | * testsuite/ld-elf/provide-hidden-2.ld: Likewise. | |
584 | * testsuite/ld-elf/provide-hidden-s.ld: Likewise. | |
585 | * testsuite/ld-scripts/cross1.t: Likewise. | |
586 | ||
587 | * testsuite/ld-elf/stab.d: Adjust allowed section indices. | |
588 | ||
589 | * testsuite/ld-i386/pie1.d: Don't match addresses. | |
590 | * testsuite/ld-i386/plt-pic2.dd: Likewise. | |
591 | * testsuite/ld-i386/pr19636-1d.d: Likewise. | |
592 | * testsuite/ld-i386/pr19636-2c.d: Likewise. | |
593 | * testsuite/ld-powerpc/elfv2so.d: Likewise. | |
594 | * testsuite/ld-powerpc/tlsopt5.d: Likewise. | |
595 | * testsuite/ld-powerpc/tlsopt5.wf: Likewise. | |
596 | * testsuite/ld-powerpc/tlsopt5_32.d: Likewise. | |
597 | ||
598 | * testsuite/ld-i386/pr19636-2b.d: Don't match _start. | |
599 | ||
600 | * testsuite/ld-powerpc/ambiguousv1.d: Relax symbol count, index | |
601 | and address match. | |
602 | * testsuite/ld-powerpc/ambiguousv1b.d: Likewise. | |
603 | * testsuite/ld-powerpc/ambiguousv2.d: Likewise. | |
604 | * testsuite/ld-powerpc/ambiguousv2b.d: Likewise. | |
605 | ||
606 | * testsuite/ld-aarch64/gc-plt-relocs.d: Run ld with --hash-style=sysv. | |
607 | * testsuite/ld-aarch64/ifunc-1.d: Likewise. | |
608 | * testsuite/ld-aarch64/ifunc-2.d: Likewise. | |
609 | * testsuite/ld-aarch64/ifunc-21.d: Likewise. | |
610 | * testsuite/ld-aarch64/relasz.d: Likewise. | |
611 | * testsuite/ld-aarch64/tls-small-ld.d: Likewise. | |
612 | * testsuite/ld-aarch64/tls-tiny-ld.d: Likewise. | |
613 | * testsuite/ld-arc/tls_gd-01.d: Likewise. | |
614 | * testsuite/ld-cris/libdso-10.d: Likewise. | |
615 | * testsuite/ld-cris/libdso-2.d: Likewise. | |
616 | * testsuite/ld-cris/pic-gc-72.d: Likewise. | |
617 | * testsuite/ld-cris/pic-gc-73.d: Likewise. | |
618 | * testsuite/ld-cris/tls-gd-1.d: Likewise. | |
619 | * testsuite/ld-cris/tls-gd-1h.d: Likewise. | |
620 | * testsuite/ld-cris/tls-gd-2.d: Likewise. | |
621 | * testsuite/ld-cris/tls-gd-2h.d: Likewise. | |
622 | * testsuite/ld-cris/tls-ie-10.d: Likewise. | |
623 | * testsuite/ld-cris/tls-ie-11.d: Likewise. | |
624 | * testsuite/ld-cris/tls-ie-8.d: Likewise. | |
625 | * testsuite/ld-cris/tls-ie-9.d: Likewise. | |
626 | * testsuite/ld-cris/tls-ld-4.d: Likewise. | |
627 | * testsuite/ld-cris/tls-ld-5.d: Likewise. | |
628 | * testsuite/ld-cris/tls-ld-6.d: Likewise. | |
629 | * testsuite/ld-cris/tls-ld-7.d: Likewise. | |
630 | * testsuite/ld-cris/tls-ldgd-14.d: Likewise. | |
631 | * testsuite/ld-cris/tls-ldgd-15.d: Likewise. | |
632 | * testsuite/ld-cris/tls-ldgdx-14.d: Likewise. | |
633 | * testsuite/ld-cris/tls-ldgdx-15.d: Likewise. | |
634 | * testsuite/ld-cris/tls-local-54.d: Likewise. | |
635 | * testsuite/ld-cris/tls-local-60.d: Likewise. | |
636 | * testsuite/ld-cris/tls-local-61.d: Likewise. | |
637 | * testsuite/ld-cris/weakhiddso.d: Likewise. | |
638 | * testsuite/ld-elf/linkinfo1a.d: Likewise. | |
639 | * testsuite/ld-elf/linkinfo1b.d: Likewise. | |
640 | * testsuite/ld-elf/pr19617a.d: Likewise. | |
641 | * testsuite/ld-elfvsb/hidden2.d: Likewise. | |
642 | * testsuite/ld-frv/fdpic-pie-6.d: Likewise. | |
643 | * testsuite/ld-frv/fdpic-shared-2.d: Likewise. | |
644 | * testsuite/ld-frv/fdpic-shared-5.d: Likewise. | |
645 | * testsuite/ld-frv/fdpic-shared-6.d: Likewise. | |
646 | * testsuite/ld-frv/fdpic-shared-8.d: Likewise. | |
647 | * testsuite/ld-frv/fdpic-shared-local-2.d: Likewise. | |
648 | * testsuite/ld-frv/fdpic-shared-local-8.d: Likewise. | |
649 | * testsuite/ld-frv/tls-dynamic-2.d: Likewise. | |
650 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. | |
651 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
652 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
653 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
654 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
655 | * testsuite/ld-i386/pr20830.d: Likewise. | |
656 | * testsuite/ld-ia64/merge1.d: Likewise. | |
657 | * testsuite/ld-ia64/merge2.d: Likewise. | |
658 | * testsuite/ld-ia64/merge3.d: Likewise. | |
659 | * testsuite/ld-ia64/merge4.d: Likewise. | |
660 | * testsuite/ld-ia64/merge5.d: Likewise. | |
661 | * testsuite/ld-ifunc/ifunc-1-local-x86.d: Likewise. | |
662 | * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. | |
663 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. | |
664 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. | |
665 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. | |
666 | * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. | |
667 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. | |
668 | * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. | |
669 | * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. | |
670 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
671 | * testsuite/ld-ifunc/pr17154-i386.d: Likewise. | |
672 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
673 | * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. | |
674 | * testsuite/ld-m68k/got-1.d: Likewise. | |
675 | * testsuite/ld-m68k/got-multigot-12-13-14-34-35-ok.d: Likewise. | |
676 | * testsuite/ld-m68k/got-multigot-14-ok.d: Likewise. | |
677 | * testsuite/ld-m68k/got-multigot-15-er.d: Likewise. | |
678 | * testsuite/ld-m68k/got-negative-12-13-14-34-ok.d: Likewise. | |
679 | * testsuite/ld-m68k/got-negative-12-13-14-35-er.d: Likewise. | |
680 | * testsuite/ld-m68k/got-negative-14-ok.d: Likewise. | |
681 | * testsuite/ld-m68k/got-negative-15-er.d: Likewise. | |
682 | * testsuite/ld-m68k/got-single-12-ok.d: Likewise. | |
683 | * testsuite/ld-m68k/got-single-13-er.d: Likewise. | |
684 | * testsuite/ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise. | |
685 | * testsuite/ld-m68k/got-xgot-15-ok.d: Likewise. | |
686 | * testsuite/ld-m68k/tls-gd-1.d: Likewise. | |
687 | * testsuite/ld-m68k/tls-gd-2.d: Likewise. | |
688 | * testsuite/ld-m68k/tls-gd-ie-1.d: Likewise. | |
689 | * testsuite/ld-m68k/tls-ie-1.d: Likewise. | |
690 | * testsuite/ld-m68k/tls-ld-1.d: Likewise. | |
691 | * testsuite/ld-m68k/tls-ld-2.d: Likewise. | |
692 | * testsuite/ld-sh/shared-2.d: Likewise. | |
693 | * testsuite/ld-sh/tlsbin-2.d: Likewise. | |
694 | * testsuite/ld-sh/tlspic-2.d: Likewise. | |
695 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
696 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
697 | * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise. | |
698 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
699 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. | |
700 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
701 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. | |
702 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
703 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. | |
704 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
705 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. | |
706 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
707 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. | |
708 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
709 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. | |
710 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
711 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. | |
712 | * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise. | |
713 | * testsuite/ld-x86-64/ilp32-4.d: Likewise. | |
714 | * testsuite/ld-x86-64/load1c-nacl.d: Likewise. | |
715 | * testsuite/ld-x86-64/load1c.d: Likewise. | |
716 | * testsuite/ld-x86-64/load1d-nacl.d: Likewise. | |
717 | * testsuite/ld-x86-64/load1d.d: Likewise. | |
718 | * testsuite/ld-x86-64/pie3-nacl.d: Likewise. | |
719 | * testsuite/ld-x86-64/pie3.d: Likewise. | |
720 | * testsuite/ld-x86-64/pr14207.d: Likewise. | |
721 | * testsuite/ld-x86-64/pr19162.d: Likewise. | |
722 | * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise. | |
723 | * testsuite/ld-x86-64/pr19636-2d.d: Likewise. | |
724 | * testsuite/ld-x86-64/pr20253-1d.d: Likewise. | |
725 | * testsuite/ld-x86-64/pr20253-1f.d: Likewise. | |
726 | * testsuite/ld-x86-64/pr20253-1j.d: Likewise. | |
727 | * testsuite/ld-x86-64/pr20253-1l.d: Likewise. | |
728 | * testsuite/ld-x86-64/pr20830a-now.d: Likewise. | |
729 | * testsuite/ld-x86-64/pr20830a.d: Likewise. | |
730 | * testsuite/ld-x86-64/pr20830b-now.d: Likewise. | |
731 | * testsuite/ld-x86-64/pr20830b.d: Likewise. | |
732 | * testsuite/ld-x86-64/pr21038a-now.d: Likewise. | |
733 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
734 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
735 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
736 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
737 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
738 | ||
a4819f54 L |
739 | 2017-08-06 H.J. Lu <hongjiu.lu@intel.com> |
740 | ||
741 | PR ld/21903: | |
742 | * ld.h (command_line): Remove inhibit_common_definition. | |
743 | * ldgram.y: Replace command_line.inhibit_common_definition with | |
744 | link_info.inhibit_common_definition. | |
745 | * ldlang.c (lang_common): Likewise. | |
746 | * lexsup.c (parse_args): Likewise. | |
747 | * ldmain.c (main): Only allow --no-define-common with -shared. | |
748 | * testsuite/ld-elf/pr21903.s: New file. | |
749 | * testsuite/ld-elf/pr21903a.d: Likewise. | |
750 | * testsuite/ld-elf/pr21903b.d: Likewise. | |
751 | * testsuite/ld-elf/pr21903c.d: Likewise. | |
752 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
753 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
754 | ||
55ef6584 AM |
755 | 2017-08-05 Alan Modra <amodra@gmail.com> |
756 | ||
757 | * testsuite/ld-unique/pr21529.d: Don't xfail hppa. | |
758 | ||
9f06dab1 L |
759 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
760 | ||
761 | PR ld/21904 | |
762 | * testsuite/ld-elf/pr21904.d: New file. | |
763 | * testsuite/ld-elf/pr21904.s: Likewise. | |
764 | ||
fd9770d8 NC |
765 | 2017-08-03 Nick Clifton <nickc@redhat.com> |
766 | ||
767 | PR ld/21884 | |
768 | * testsuite/ld-elf/pr21884.d: Add AVR, HPPA, IA64, M68HC1x and | |
769 | SCORE to list of targets not supporting file format changes during | |
770 | linking. | |
771 | * testsuite/ld-unique/pr21529.d: Likewise. | |
772 | * emultempl/avrelf.em (_before_allocation): Skip for non-ELF | |
773 | output formats. | |
774 | (avr_elf_create_output_section_statements): Fail if the output | |
775 | format is not ELF. | |
776 | (avr_finish): Do not access the ELF header in non-ELF format | |
777 | output bfds. | |
778 | * emultempl/m68hc1xelf.em (_before_allocation): Skip for non-ELF | |
779 | output formats. | |
780 | (m68hc11elf_create_output_section_statements): Fail if the putput | |
781 | format is not ELF. | |
782 | (m68hc11elf_after_allocation): Skip for non-ELF output formats. | |
783 | ||
2e9246e0 AM |
784 | 2017-08-03 Alan Modra <amodra@gmail.com> |
785 | ||
786 | PR ld/21884 | |
787 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Revert | |
788 | last change. Rename iself to elfinput. Expand comments. Condition | |
789 | ELF checks on having both input and output ELF files. Extract.. | |
790 | (elf_orphan_compatible): ..this new function. | |
791 | ||
db99ecc0 L |
792 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
793 | ||
794 | PR ld/21884 | |
795 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check | |
796 | ELF section header only for ELF output. | |
797 | * testsuite/ld-elf/pr21884.d: New test. | |
798 | * testsuite/ld-elf/pr21884.t: Likewise. | |
799 | * testsuite/ld-elf/pr21884a.s: Likewise. | |
800 | * testsuite/ld-elf/pr21884b.s: Likewise. | |
801 | ||
b8f4abd3 L |
802 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
803 | ||
804 | * emultempl/elf32.em (_place_orphan): Revert the last change. | |
805 | ||
73d5923e MF |
806 | 2017-08-02 Max Filippov <jcmvbkbc@gmail.com> |
807 | ||
808 | * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): | |
809 | Only check for by_name sorting. | |
810 | ||
ddff3d84 NC |
811 | 2017-08-02 Nick Clifton <nickc@redhat.com> |
812 | ||
813 | PR 21884 | |
814 | * emultempl/elf32.em (_place_orphan): Skip non-ELF binaries when | |
815 | looking for sections to merge. | |
816 | ||
d44c746a AM |
817 | 2017-07-31 Alan Modra <amodra@gmail.com> |
818 | ||
819 | * ld.texinfo (plt-localentry): Revise. | |
820 | ||
8b5f1ed8 AM |
821 | 2017-07-29 Alan Modra <amodra@gmail.com> |
822 | ||
823 | * ld.texinfo (plt-localentry): Document. | |
824 | ||
2b94abd4 AB |
825 | 2017-07-28 Andrew Burgess <andrew.burgess@embecosm.com> |
826 | ||
827 | * ldgram.y (ldgram_had_keep): Make static. | |
828 | (ldgram_vers_current_lang): Likewise. | |
829 | (filename_spec): New rule. | |
830 | (input_section_spec_no_keep): Use filename_spec. | |
831 | (wildcard_maybe_exclude): New rule. | |
832 | (wildcard_spec): Rename to... | |
833 | (section_name_spec): ...this. | |
834 | (section_NAME_list): Rename to... | |
835 | (section_name_list): ...this. | |
836 | (section_name_spec): Simplifiy and use wildcard_maybe_exclude. | |
837 | * ldlang.c (placed_commons): Delete. | |
838 | (lang_add_wild): No longer set placed_commons. | |
839 | (print_wild_statement): Use full names for SORT specifiers. | |
840 | * testsuite/ld-scripts/align.exp: Run new tests. | |
841 | * testsuite/ld-scripts/align3.d: New file. | |
842 | * testsuite/ld-scripts/align3.t: New file. | |
843 | * testsuite/ld-scripts/align4.d: New file. | |
844 | * testsuite/ld-scripts/align4.t: New file. | |
845 | * testsuite/ld-scripts/align5.d: New file. | |
846 | * testsuite/ld-scripts/align5.t: New file. | |
847 | * testsuite/ld-scripts/exclude-file-5.d: New file. | |
848 | * testsuite/ld-scripts/exclude-file-5.map: New file. | |
849 | * testsuite/ld-scripts/exclude-file-5.t: New file. | |
850 | * testsuite/ld-scripts/exclude-file-6.d: New file. | |
851 | * testsuite/ld-scripts/exclude-file-6.map: New file. | |
852 | * testsuite/ld-scripts/exclude-file-6.t: New file. | |
853 | * NEWS: Mention the changes. | |
854 | ||
f726cc1c GJL |
855 | 2017-07-27 Georg-Johann Lay <gjl@gcc.gnu.org> |
856 | ||
857 | PR ld/21849 | |
858 | * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate | |
859 | former at a higher address. | |
860 | ||
d4aaa2a0 AM |
861 | 2017-07-25 Alan Modra <amodra@gmail.com> |
862 | ||
863 | * testsuite/ld-powerpc/tlsopt5.s: Add cfi. | |
864 | * testsuite/ld-powerpc/tlsopt5.d: Update. | |
865 | * testsuite/ld-powerpc/tlsopt5.wf: New file. | |
866 | * testsuite/ld-powerpc/powerpc.exp: Perform new tlsopt5 test. | |
867 | ||
645b2800 | 868 | 2017-07-24 Claudiu Zissulescu <claziss@synopsys.com> |
869 | ||
870 | * testsuite/ld-arc/jli-overflow.d: Force testing for little | |
871 | endian. | |
872 | * testsuite/ld-arc/tls_gd-01.d: Fix string to match bigendian | |
873 | systems. | |
874 | * testsuite/ld-arc/tls_ie-01.d: Fix test for bigendian systems. | |
875 | ||
62a5222f MR |
876 | 2017-07-19 Maciej W. Rozycki <macro@imgtec.com> |
877 | ||
878 | * testsuite/ld-scripts/fill.d: Adjust `xfail' entries. Add | |
879 | `notarget' entries. Update comments. | |
880 | * testsuite/ld-scripts/fill16.d: New test. | |
881 | * testsuite/ld-scripts/fill16_0.s: New test source. | |
882 | * testsuite/ld-scripts/fill16_1.s: New test source. | |
883 | * testsuite/ld-scripts/fill16_2.s: New test source. | |
884 | * testsuite/ld-scripts/data.exp: Run the new test. | |
885 | ||
684d5a10 JEM |
886 | 2017-07-19 Claudiu Zissulescu <claziss@synopsys.com> |
887 | John Eric Martin <John.Martin@emmicro-us.com> | |
888 | ||
889 | * emulparams/arcelf.sh (JLI_START_TABLE): Define. | |
890 | * scripttempl/elfarc.sc: Handle jlitab section. | |
891 | * scripttempl/elfarcv2.sc: Likewise. | |
892 | * testsuite/ld-arc/arc.exp: Add JLI test. | |
893 | * testsuite/ld-arc/jli-script.ld: New file. | |
894 | * testsuite/ld-arc/jli-simple.dd: Likewise. | |
895 | * testsuite/ld-arc/jli-simple.rd: Likewise. | |
896 | * testsuite/ld-arc/jli-simple.s: Likewise. | |
897 | * testsuite/ld-arc/jli-overflow.s: Likewise. | |
898 | * testsuite/ld-arc/jli-overflow.d: Likewise. | |
899 | * testsuite/ld-arc/jli-overflow.err: Likewise. | |
900 | ||
e4943f2c TG |
901 | 2017-07-19 Tristan Gingold <gingold@adacore.com> |
902 | ||
903 | * ldmain.c (main): Remove display of data size. | |
904 | ||
927960f0 MR |
905 | 2017-07-18 Maciej W. Rozycki <macro@imgtec.com> |
906 | ||
2018ef80 | 907 | PR ld/16656 |
927960f0 MR |
908 | * testsuite/ld-elf/binutils.exp (binutils_test): Make the |
909 | expectation for `.got' in GNU_RELRO segment target-specific. | |
910 | Handle `.got.plt' separately. | |
911 | ||
9a0f1d50 MR |
912 | 2017-07-18 Maciej W. Rozycki <macro@imgtec.com> |
913 | ||
2018ef80 | 914 | PR ld/16656 |
9a0f1d50 MR |
915 | * testsuite/ld-elf/binutils.exp (binutils_test): Make the |
916 | expectation for `.dynamic' in GNU_RELRO segment target-specific. | |
917 | ||
de194d85 YC |
918 | 2017-07-18 Nick Clifton <nickc@redhat.com> |
919 | ||
920 | PR 21775 | |
921 | * ld.texinfo: Fix spelling typos. | |
922 | * testsuite/ld-elfcomm/elfcomm.exp: Likewise. | |
923 | ||
89d249d2 L |
924 | 2017-07-17 H.J. Lu <hongjiu.lu@intel.com> |
925 | ||
926 | * testsuite/ld-i386/i386.exp: Run pie1 and pie1-nacl. | |
927 | * testsuite/ld-i386/pie1-nacl.d: New file. | |
928 | * testsuite/ld-i386/pie1.d: Likewise. | |
929 | * testsuite/ld-i386/pie1.s: Likewise. | |
930 | ||
8e85f840 L |
931 | 2017-07-17 H.J. Lu <hongjiu.lu@intel.com> |
932 | ||
933 | PR ld/21782 | |
934 | * testsuite/ld-x86-64/pie3-nacl.d: New file. | |
935 | * testsuite/ld-x86-64/pie3.d: Likewise. | |
936 | * testsuite/ld-x86-64/pie3.s: Likewise. | |
937 | * testsuite/ld-x86-64/x86-64.exp: Run pie3 and pie3-nacl. | |
938 | ||
86038de0 AM |
939 | 2017-07-14 Alan Modra <amodra@gmail.com> |
940 | ||
941 | * testsuite/ld-powerpc/powerpc.exp: Add -shared to tlsop5 tests. | |
942 | * testsuite/ld-powerpc/tlsopt5.d: Adjust. | |
943 | * testsuite/ld-powerpc/tlsopt1_32.s: Use r30 as GOT pointer. | |
944 | * testsuite/ld-powerpc/tlsopt2_32.s: Likewise. | |
945 | * testsuite/ld-powerpc/tlsopt3_32.s: Likewise. | |
946 | * testsuite/ld-powerpc/tlsopt4_32.s: Likewise. | |
947 | * testsuite/ld-powerpc/tlsopt5_32.s: Rewrite. | |
948 | * testsuite/ld-powerpc/tlsopt1_32.d: Adjust. | |
949 | * testsuite/ld-powerpc/tlsopt2_32.d: Adjust. | |
950 | * testsuite/ld-powerpc/tlsopt3_32.d: Adjust. | |
951 | * testsuite/ld-powerpc/tlsopt5_32.d: Adjust. | |
952 | ||
211b0bed MR |
953 | 2016-07-14 Maciej W. Rozycki <macro@imgtec.com> |
954 | ||
955 | * testsuite/ld-unique/pr21529.ld: New test linker script. | |
956 | * testsuite/ld-unique/pr21529.d: Use it. | |
957 | ||
429d795d AM |
958 | 2017-07-12 Alan Modra <amodra@gmail.com> |
959 | ||
960 | * po/bg.po: Update from translationproject.org/latest/ld/. | |
961 | * po/da.po: Likewise. | |
962 | * po/es.po: Likewise. | |
963 | * po/fi.po: Likewise. | |
964 | * po/fr.po: Likewise. | |
965 | * po/id.po: Likewise. | |
966 | * po/it.po: Likewise. | |
967 | * po/ja.po: Likewise. | |
968 | * po/tr.po: Likewise. | |
969 | * po/uk.po: Likewise. | |
970 | * po/vi.po: Likewise. | |
971 | * po/zh_CN.po: Likewise. | |
972 | * po/zh_TW.po: Likewise. | |
973 | * po/de.po: New file from translationproject.org. | |
974 | * po/ru.po: Likewise. | |
975 | * configure.ac (ALL_LINGUAS): Add de, ru. Sort. | |
976 | * configure: Regenerate. | |
977 | ||
2fe40b67 AM |
978 | 2017-07-12 Alan Modra <amodra@gmail.com> |
979 | ||
980 | * testsuite/ld-scripts/align.exp: Exclude powerpc*-*-aix*. | |
981 | * testsuite/ld-scripts/assign-loc.d: Likewise. | |
982 | * testsuite/ld-scripts/defined3.d: Likewise. | |
983 | * testsuite/ld-scripts/defined4.d: Likewise. | |
984 | * testsuite/ld-scripts/defined5.d: Likewise. | |
985 | * testsuite/ld-scripts/expr2.d: Likewise. | |
986 | * testsuite/ld-scripts/provide.exp: Likewise. | |
987 | * testsuite/ld-scripts/sane1.d: Likewise. | |
988 | * testsuite/ld-scripts/size.exp: Likewise. | |
989 | * testsuite/ld-scripts/defined2.d: Don't xfail rs6000-*-aix*. | |
990 | ||
d42c267e AM |
991 | 2017-07-12 Alan Modra <amodra@gmail.com> |
992 | ||
993 | * testsuite/ld-arc/nps-1b.err: Update. | |
994 | * testsuite/ld-x86-64/ilp32-11.d: Update. | |
995 | ||
61a0857c L |
996 | 2017-07-11 H.J. Lu <hongjiu.lu@intel.com> |
997 | ||
998 | * testsuite/ld-selective/selective.exp: Support single digit | |
999 | GCC version. | |
1000 | ||
70391b29 JW |
1001 | 2017-07-11 Jiong Wang <jiong.wang@arm.com> |
1002 | ||
1003 | * testsuite/ld-aarch64/dt_textrel.d: Use "#pass" instead of ".*" to | |
1004 | filter out remaining lines. | |
1005 | ||
e54cb31a MR |
1006 | 2017-07-07 Maciej W. Rozycki <macro@imgtec.com> |
1007 | ||
1008 | * emultempl/mipself.em (mips_before_allocation): Avoid ELF | |
1009 | processing if not MIPS ELF. | |
1010 | * testsuite/ld-mips-elf/binary.d: New test. | |
1011 | * testsuite/ld-mips-elf/binary.ld: New test linker script. | |
1012 | * testsuite/ld-mips-elf/binary.s: New test source. | |
1013 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
1014 | ||
c620a2b5 AM |
1015 | 2017-07-07 Alan Modra <amodra@gmail.com> |
1016 | ||
1017 | * testsuite/ld-powerpc/ppc476-shared.lnk: Align .bss. | |
1018 | * testsuite/ld-powerpc/ppc476-shared.d: Adjust. | |
1019 | * testsuite/ld-powerpc/ppc476-shared2.d: Adjust. | |
1020 | ||
aff6079b AM |
1021 | 2017-07-07 Alan Modra <amodra@gmail.com> |
1022 | ||
1023 | * Makefile.am (eelf64_s390.c): Depend on emultempl/s390.em. | |
1024 | ||
0d702cfe TG |
1025 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
1026 | ||
1027 | * configure: Regenerate. | |
1028 | ||
55a09eb6 TG |
1029 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
1030 | ||
1031 | * NEWS: Add marker for 2.29. | |
1032 | ||
15e6ed8c TG |
1033 | 2017-07-03 Tristan Gingold <gingold@adacore.com> |
1034 | ||
1035 | * po/ld.pot: Regenerate. | |
1036 | ||
9f00292e MR |
1037 | 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> |
1038 | ||
1039 | * testsuite/ld-mips-elf/relax-offset.dd: New test. | |
1040 | * testsuite/ld-mips-elf/relax-offset.gd: New test. | |
1041 | * testsuite/ld-mips-elf/relax-offset-umips.dd: New test. | |
1042 | * testsuite/ld-mips-elf/relax-offset-umips.gd: New test. | |
1043 | * testsuite/ld-mips-elf/relax-offset.ld: New test linker script. | |
1044 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1045 | (prune_warnings): New temporary procedure. | |
1046 | ||
819e1f86 MR |
1047 | 2017-06-28 Maciej W. Rozycki <macro@imgtec.com> |
1048 | ||
1049 | * testsuite/ld-mips-elf/mips-elf-flags.exp: Add interAptiv MR2 | |
1050 | tests. | |
1051 | ||
68063779 SKS |
1052 | 2017-06-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
1053 | ||
1054 | PR ld/13402 | |
1055 | * testsuite/ld-avr/pr13402.d: New test. | |
1056 | * testsuite/ld-avr/pr13402.s: New test. | |
1057 | ||
7575e6a7 MR |
1058 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1059 | ||
1060 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1061 | Add an `args' final argument and examination code for `readelf | |
1062 | -A' output. Update procedure description accordingly. | |
1063 | ||
1284e99a MR |
1064 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1065 | ||
1066 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1067 | Use `remote_exec' to call `readelf'. Log the command issued. | |
1068 | ||
b1a2d7a0 MR |
1069 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1070 | ||
1071 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1072 | Use `readelf -h' rather than `readelf --headers'. | |
1073 | ||
b417536f MR |
1074 | 2017-06-26 Maciej W. Rozycki <macro@imgtec.com> |
1075 | ||
1076 | * testsuite/ld-mips-elf/lsi-4010-isa.d: New test. | |
1077 | * ld/testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
1078 | ||
515a4464 MR |
1079 | 2017-06-26 Maciej W. Rozycki <macro@imgtec.com> |
1080 | ||
1081 | * testsuite/ld-elf/sizeofa.d: Also accept the OBJECT type for | |
1082 | the symbols examined. | |
1083 | * testsuite/ld-elf/sizeofc.d: Likewise. | |
1084 | * testsuite/ld-elf/startofa.d: Likewise. | |
1085 | * testsuite/ld-elf/startofc.d: Likewise. | |
1086 | ||
57963c05 AM |
1087 | 2017-06-26 Alan Modra <amodra@gmail.com> |
1088 | ||
1089 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Skip | |
1090 | --just-syms bfds when looking for a place to attach .note.gnu.build-id | |
1091 | and .eh_frame_hdr sections. Delete dead code. | |
1092 | ||
bff0500d TP |
1093 | 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com> |
1094 | ||
1095 | * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 11): New test. | |
1096 | (EABI attribute merging 12): Likewise. | |
1097 | * testsuite/ld-arm/attr-merge-11a.s: New file. | |
1098 | * testsuite/ld-arm/attr-merge-11b.s: New file. | |
1099 | * testsuite/ld-arm/attr-merge-11.attr: New file. | |
1100 | * testsuite/ld-arm/attr-merge-12a.s: New file. | |
1101 | * testsuite/ld-arm/attr-merge-12b.s: New file. | |
1102 | * testsuite/ld-arm/attr-merge-12.attr: New file. | |
1103 | ||
00564418 L |
1104 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1105 | ||
1106 | * testsuite/ld-i386/i386.exp: Run weakundef1 tests. | |
1107 | * testsuite/ld-i386/weakundef1.c: New file. | |
1108 | ||
922109c7 L |
1109 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1110 | ||
1111 | PR ld/21090 | |
1112 | * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Pass | |
1113 | $NOPIE_CFLAGS if non-PIE is required. | |
1114 | ||
9d1c54ed L |
1115 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1116 | ||
1117 | PR ld/21090 | |
329b5ba1 L |
1118 | * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and |
1119 | $NOPIE_LDFLAGS to "Run pr19031". | |
1120 | ||
1121 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> | |
1122 | ||
1123 | PR ld/21090 | |
1124 | * testsuite/ld-gc/gc.exp: Compile tmpdir/pr14265.o with | |
9d1c54ed L |
1125 | $NOPIE_CFLAGS. |
1126 | * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and | |
1127 | $NOPIE_LDFLAGS if non-PIE is required. | |
1128 | * testsuite/ld-i386/no-plt.exp (NOPIE_CFLAGS): New. | |
1129 | (NOPIE_LDFLAGS): Likewise. | |
1130 | Pass $NOPIE_LDFLAGS if non-PIE is required. | |
1131 | * testsuite/ld-shared/shared.exp: Compile tmpdir/sh1np.o with | |
1132 | $NOPIE_CFLAGS. | |
1133 | ||
48580982 L |
1134 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1135 | ||
1136 | * NEWS: Mention -z shstk and GNU_PROPERTY_X86_FEATURE_1_SHSTK. | |
1137 | * emulparams/cet.sh (PARSE_AND_LIST_OPTIONS_CET): Add "-z shstk". | |
1138 | (PARSE_AND_LIST_ARGS_CASE_Z_CET): Support "-z shstk". | |
1139 | * ld.texinfo: Document -z shstk. | |
1140 | * testsuite/ld-i386/i386.exp: Run SHSTK tests. | |
1141 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1142 | * testsuite/ld-i386/property-x86-shstk.s: New file. | |
1143 | * testsuite/ld-i386/property-x86-shstk1a.d: Likewise. | |
1144 | * testsuite/ld-i386/property-x86-shstk1b.d: Likewise. | |
1145 | * testsuite/ld-i386/property-x86-shstk2.d: Likewise. | |
1146 | * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. | |
1147 | * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. | |
1148 | * testsuite/ld-i386/property-x86-shstk4.d: Likewise. | |
1149 | * testsuite/ld-i386/property-x86-shstk5.d: Likewise. | |
1150 | * testsuite/ld-x86-64/property-x86-shstk.s: Likewise. | |
1151 | * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise. | |
1152 | * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise. | |
1153 | * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise. | |
1154 | * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise. | |
1155 | * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise. | |
1156 | * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise. | |
1157 | * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. | |
1158 | * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. | |
1159 | * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. | |
1160 | * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. | |
1161 | * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise. | |
1162 | * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise. | |
1163 | * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise. | |
1164 | * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise. | |
1165 | ||
ee2fdd6f L |
1166 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1167 | ||
1168 | * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emulparams/cet.sh. | |
1169 | * Makefile.in: Regenerated. | |
1170 | * NEWS: Mention GNU_PROPERTY_X86_FEATURE_1_IBT, -z ibtplt | |
1171 | and -z ibt. | |
1172 | * emulparams/cet.sh: New file. | |
1173 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. | |
1174 | * testsuite/ld-i386/ibt-plt-1.s: Likewise. | |
1175 | * testsuite/ld-i386/ibt-plt-2.s: Likewise. | |
1176 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
1177 | * testsuite/ld-i386/ibt-plt-2b.d: Likewise. | |
1178 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
1179 | * testsuite/ld-i386/ibt-plt-2d.d: Likewise. | |
1180 | * testsuite/ld-i386/ibt-plt-3.s: Likewise. | |
1181 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
1182 | * testsuite/ld-i386/ibt-plt-3b.d: Likewise. | |
1183 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
1184 | * testsuite/ld-i386/ibt-plt-3d.d: Likewise. | |
1185 | * testsuite/ld-i386/plt-main-ibt.dd: Likewise. | |
1186 | * testsuite/ld-i386/plt-pie-ibt.dd: Likewise. | |
1187 | * testsuite/ld-i386/property-x86-empty.s: Likewise. | |
1188 | * testsuite/ld-i386/property-x86-ibt.s: Likewise. | |
1189 | * testsuite/ld-i386/property-x86-ibt1a.d: Likewise. | |
1190 | * testsuite/ld-i386/property-x86-ibt1b.d: Likewise. | |
1191 | * testsuite/ld-i386/property-x86-ibt2.d: Likewise. | |
1192 | * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. | |
1193 | * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. | |
1194 | * testsuite/ld-i386/property-x86-ibt4.d: Likewise. | |
1195 | * testsuite/ld-i386/property-x86-ibt5.d: Likewise. | |
1196 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
1197 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. | |
1198 | * testsuite/ld-x86-64/ibt-plt-1.s: Likewise. | |
1199 | * testsuite/ld-x86-64/ibt-plt-2.s: Likewise. | |
1200 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
1201 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. | |
1202 | * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. | |
1203 | * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. | |
1204 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
1205 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. | |
1206 | * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. | |
1207 | * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. | |
1208 | * testsuite/ld-x86-64/ibt-plt-3.s: Likewise. | |
1209 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
1210 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. | |
1211 | * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. | |
1212 | * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. | |
1213 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
1214 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. | |
1215 | * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. | |
1216 | * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. | |
1217 | * testsuite/ld-x86-64/plt-main-ibt-now.rd: Likewise. | |
1218 | * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Likewise. | |
1219 | * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise. | |
1220 | * testsuite/ld-x86-64/property-x86-empty.s: Likewise. | |
1221 | * testsuite/ld-x86-64/property-x86-ibt.s: Likewise. | |
1222 | * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise. | |
1223 | * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. | |
1224 | * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise. | |
1225 | * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise. | |
1226 | * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise. | |
1227 | * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise. | |
1228 | * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. | |
1229 | * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. | |
1230 | * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. | |
1231 | * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. | |
1232 | * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise. | |
1233 | * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise. | |
1234 | * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise. | |
1235 | * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise. | |
1236 | * emulparams/elf32_x86_64.sh: Source emulparams/cet.sh. | |
1237 | (TINY_READONLY_SECTION): Add .plt.sec. | |
1238 | * emulparams/elf_i386.sh: Likewise. | |
1239 | * emulparams/elf_x86_64.sh: Source emulparams/cet.sh. | |
1240 | * ld.texinfo: Document -z ibtplt and -z ibt. | |
1241 | * testsuite/ld-i386/i386.exp: Run IBT and IBT PLT tests. | |
1242 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1243 | * testsuite/ld-x86-64/pr21481b.S (check): Updated for x32. | |
1244 | ||
6b737370 L |
1245 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1246 | ||
1247 | PR ld/21090 | |
1248 | * testsuite/ld-elf/shared.exp: Pass $NOPIE_CFLAGS and | |
1249 | $NOPIE_LDFLAGS if non-PIE is required. | |
1250 | ||
e5c89b09 L |
1251 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1252 | ||
1253 | PR ld/21090 | |
1254 | * testsuite/ld-scripts/crossref.exp: Also pass $NOPIE_CFLAGS | |
1255 | to CC. | |
1256 | ||
68193357 L |
1257 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1258 | ||
1259 | PR ld/21090 | |
1260 | * testsuite/ld-size/size.exp: Pass $NOPIE_LDFLAGS to size-4a, | |
1261 | size-4b, size-5a, size-5b, size-6 and size-8 tests. | |
127d08c0 L |
1262 | * testsuite/ld-srec/srec.exp (NOPIE_CFLAGS): New. |
1263 | (NOPIE_LDFLAGS): Likewise. | |
1264 | (CC): Add $NOPIE_CFLAGS $NOPIE_LDFLAGS. | |
1265 | (CXX): Likewise. | |
1266 | * testsuite/ld-x86-64/no-plt.exp (NOPIE_CFLAGS): New. | |
1267 | (NOPIE_LDFLAGS): Likewise. | |
1268 | Pass $NOPIE_LDFLAGS to "No PLT (dynamic 1a)", | |
1269 | "No PLT (dynamic 1c)" and "Run pr20253-2f". | |
1270 | * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to | |
1271 | "Build gotpcrel1" and "Run pr19031". | |
68193357 | 1272 | |
81209eff AM |
1273 | 2017-06-21 Alan Modra <amodra@gmail.com> |
1274 | ||
1275 | * testsuite/ld-powerpc/powerpc.exp: Run TOCSAVE tests. | |
1276 | * testsuite/ld-powerpc/tocsave1.s, | |
1277 | * testsuite/ld-powerpc/tocsave1a.d, | |
1278 | * testsuite/ld-powerpc/tocsave1s.d, | |
1279 | * testsuite/ld-powerpc/tocsave2.s, | |
1280 | * testsuite/ld-powerpc/tocsave2a.d, | |
1281 | * testsuite/ld-powerpc/tocsave2s.d, | |
1282 | * testsuite/ld-powerpc/tocsavelib.s: New files. | |
1283 | ||
fd52715c AK |
1284 | 2017-06-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com> |
1285 | ||
1286 | * Makefile.in: Add s390.em as build dependency. | |
1287 | * emulparams/elf64_s390.sh (EXTRA_EM_FILE): Add s390.em. | |
1288 | * emultempl/s390.em: New file. | |
1289 | * gen-doc.texi: Add documentation for --s390-pgste option. | |
1290 | * ld.texinfo: Likewise. | |
1291 | ||
abfa390d L |
1292 | 2017-06-19 H.J. Lu <hongjiu.lu@intel.com> |
1293 | ||
1294 | PR ld/21626 | |
1295 | * testsuite/ld-i386/i386.exp: Run ld/21626 tests. | |
1296 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1297 | ||
bdd32e03 AM |
1298 | 2017-06-18 Alan Modra <amodra@gmail.com> |
1299 | ||
1300 | * testsuite/lib/ld-lib.exp (is_underscore_target): New. | |
1301 | * testsuite/ld-elf/elf.exp (ASFLAGS): Define UNDERSCORE. | |
1302 | * testsuite/ld-elf/pr21562a.s: If UNDERSCORE defined, | |
1303 | reference sym with prefix. | |
1304 | * testsuite/ld-elf/pr21562b.s: Likewise. | |
1305 | * testsuite/ld-elf/sizeof.s: Likewise. | |
1306 | * testsuite/ld-elf/startof.s: Likewise. | |
1307 | * testsuite/ld-elf/pr14156a.d: Adjust for extra symbols. | |
1308 | * testsuite/ld-elf/pr21562a.d: Remove underscore target from | |
1309 | xfails, and match prefixed symbol. | |
1310 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1311 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1312 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1313 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1314 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1315 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1316 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1317 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1318 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1319 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1320 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1321 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1322 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1323 | * testsuite/ld-elf/sizeofa.d: Likewise. | |
1324 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
1325 | * testsuite/ld-elf/sizeofc.d: Likewise. | |
1326 | * testsuite/ld-elf/startofa.d: Likewise. | |
1327 | * testsuite/ld-elf/startofb.d: Likewise. | |
1328 | * testsuite/ld-elf/startofc.d: Likewise. | |
1329 | ||
7dba9362 AM |
1330 | 2017-06-16 Alan Modra <amodra@gmail.com> |
1331 | ||
1332 | PR ld/20022 | |
1333 | PR ld/21557 | |
1334 | PR ld/21562 | |
1335 | PR ld/21571 | |
1336 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't set | |
1337 | __start/__stop syms here. | |
1338 | * ldlang.c (lang_set_startof): Delete. | |
1339 | (start_stop_syms, start_stop_count, start_stop_alloc): New vars. | |
1340 | (lang_define_start_stop, lang_init_start_stop, foreach_start_stop, | |
1341 | undef_start_stop, lang_undef_start_stop, lang_init_startof_sizeof, | |
1342 | set_start_stop, lang_finalize_start_stop): New functions. | |
1343 | (lang_process): Call _start_stop functions. | |
1344 | * testsuite/ld-elf/pr21562a.d: Use xfail rather than notarget. | |
1345 | Correct typos and list of xfail targets. | |
1346 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1347 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1348 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1349 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1350 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1351 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1352 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1353 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1354 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1355 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1356 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1357 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1358 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1359 | * testsuite/ld-elf/sizeofa.d: Likewise. Adjust to pass for generic ELF. | |
1360 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
1361 | * testsuite/ld-elf/startofa.d: Likewise. | |
1362 | * testsuite/ld-elf/startofb.d: Likewise. | |
1363 | ||
d68f1976 JW |
1364 | 2017-06-16 Jiong Wang <jiong.wang@arm.com> |
1365 | ||
1366 | * testsuite/ld-aarch64/aarch64-elf.exp: Update test name | |
1367 | * testsuite/ld-aarch64/pcrel.s: Add new testcases. | |
1368 | * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected | |
1369 | warnings. | |
1370 | * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ... | |
1371 | * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this. | |
1372 | Update expected warnings. | |
1373 | ||
75e06f97 L |
1374 | 2017-06-15 H.J. Lu <hongjiu.lu@intel.com> |
1375 | ||
1376 | * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE" | |
1377 | instead of "-z stacksize=SIZE". | |
1378 | ||
6353d82b JW |
1379 | 2017-06-15 Jiong Wang <jiong.wang@arm.com> |
1380 | ||
1381 | * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file. | |
1382 | * testsuite/ld-aarch64/copy-reloc-2.d: New test. | |
1383 | * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file. | |
1384 | * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test. | |
1385 | * testsuite/ld-aarch64/copy-reloc-so.s: Define new global objects. | |
1386 | * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests. | |
1387 | ||
ae87f7e7 NC |
1388 | 2017-06-14 Nick Clifton <nickc@redhat.com> |
1389 | ||
1390 | PR binutils/21580 | |
1391 | * testsuite/ld-nds32/diff.d: Adjust expected output. | |
1392 | ||
99031baf L |
1393 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
1394 | ||
1395 | PR ld/20022 | |
1396 | * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic | |
1397 | relocations in .text section. | |
1398 | ||
8eca1095 L |
1399 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
1400 | ||
1401 | * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char | |
1402 | in in symbol name or without --gc-sections. | |
1403 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1404 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1405 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1406 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1407 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1408 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1409 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1410 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1411 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1412 | * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char | |
1413 | in symbol name. | |
1414 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1415 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1416 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1417 | ||
f78d1b3a L |
1418 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
1419 | ||
1420 | * testsuite/ld-gc/pr20022a.s: Add size to bar. | |
1421 | ||
b6947a7f L |
1422 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
1423 | ||
1424 | * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char | |
1425 | in symbol name. | |
1426 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
1427 | * testsuite/ld-elf/startofa.d: Likewise. | |
1428 | * testsuite/ld-elf/startofb.d: Likewise. | |
1429 | ||
4c0b797e GJL |
1430 | 2017-06-14 Georg-Johann Lay <gjl@gcc.gnu.org> |
1431 | ||
1432 | PR ld/21583 | |
1433 | * scripttempl/avr.sc (.jumptables): Move down in text section. | |
1434 | (.hightext): New in text. | |
1435 | ||
319c2dbe SH |
1436 | 2017-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de> |
1437 | ||
1438 | * configure.tgt (epiphany-*-elf): Accept epiphany-*-*. | |
1439 | ||
b27685f2 L |
1440 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
1441 | ||
1442 | * ldlang.c (lang_set_startof): Skip if config.build_constructors | |
1443 | is FALSE. | |
1444 | * testsuite/ld-elf/sizeofc.d: New file. | |
1445 | * testsuite/ld-elf/startofc.d: Likewise. | |
1446 | ||
da614360 L |
1447 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
1448 | ||
1449 | * testsuite/ld-elf/sizeof.d: Renamed to ... | |
1450 | * testsuite/ld-elf/sizeofa.d: This. Updated. | |
1451 | * testsuite/ld-elf/startof.d: Renamed to ... | |
1452 | * testsuite/ld-elf/startofa.d: This. Updated. | |
1453 | * testsuite/ld-elf/sizeofb.d: New file. | |
1454 | * testsuite/ld-elf/startofb.d: Likewise. | |
1455 | ||
cbd0eecf L |
1456 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
1457 | ||
1458 | PR ld/20022 | |
1459 | PR ld/21557 | |
1460 | PR ld/21562 | |
1461 | PR ld/21571 | |
1462 | * ld.texinfo: Update __start_SECNAME/__stop_SECNAME symbols. | |
1463 | * ldlang.c (lang_insert_orphan): Move handling of __start_SECNAME | |
1464 | and __stop_SECNAME symbols to ... | |
1465 | (lang_set_startof): Here. Also define __start_SECNAME and | |
1466 | __stop_SECNAME for -Ur. | |
1467 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Mark | |
1468 | referenced __start_SECNAME and __stop_SECNAME symbols as hidden | |
1469 | and set start_stop for garbage collection. | |
1470 | * testsuite/ld-elf/pr21562a.d: New file. | |
1471 | * testsuite/ld-elf/pr21562a.s: Likewise. | |
1472 | * testsuite/ld-elf/pr21562a.t: Likewise. | |
1473 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1474 | * testsuite/ld-elf/pr21562b.s: Likewise. | |
1475 | * testsuite/ld-elf/pr21562b.t: Likewise. | |
1476 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1477 | * testsuite/ld-elf/pr21562c.t: Likewise. | |
1478 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1479 | * testsuite/ld-elf/pr21562d.t: Likewise. | |
1480 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1481 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1482 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1483 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1484 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1485 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1486 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1487 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1488 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1489 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1490 | * testsuite/ld-gc/pr20022.d: Likewise. | |
1491 | * testsuite/ld-gc/pr20022a.s: Likewise. | |
1492 | * testsuite/ld-gc/pr20022b.s: Likewise. | |
1493 | * testsuite/ld-gc/gc.exp: Run PR ld/20022 tests. | |
1494 | * testsuite/ld-gc/pr19161.d: Also accept local __start_SECNAME | |
1495 | symbol. | |
1496 | * testsuite/ld-gc/start.d: Likewise. | |
1497 | * testsuite/ld-x86-64/lea1a.d: Updated. | |
1498 | * testsuite/ld-x86-64/lea1b.d: Updated. | |
1499 | * testsuite/ld-x86-64/lea1d.d: Updated. | |
1500 | * testsuite/ld-x86-64/lea1e.d: Likewise. | |
1501 | ||
dc74becf L |
1502 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
1503 | ||
1504 | * testsuite/ld-elf/sizeof.d: New file. | |
1505 | * testsuite/ld-elf/sizeof.s: Likewise. | |
1506 | * testsuite/ld-elf/startof.d: Likewise. | |
1507 | * testsuite/ld-elf/startof.s: Likewise. | |
1508 | ||
8569cfa7 RL |
1509 | 2017-06-13 Renlin Li <renlin.li@arm.com> |
1510 | ||
1511 | * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker | |
1512 | option to rdynamic-1 and dynamic-1 tests. | |
1513 | ||
654f3b6a L |
1514 | 2017-06-09 H.J. Lu <hongjiu.lu@intel.com> |
1515 | ||
1516 | * testsuite/ld-x86-64/property-x86-3-x32.d: New file. | |
1517 | * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. | |
1518 | * testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise. | |
1519 | * testsuite/ld-x86-64/property-x86-3.d: Also pass | |
1520 | -defsym __64_bit__=1 to asssembler. | |
1521 | * testsuite/ld-x86-64/property-x86-4a.d: Likewise. | |
1522 | * testsuite/ld-x86-64/property-x86-4b.d: Likewise. | |
1523 | * testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if | |
1524 | __64_bit__ isn't defined. | |
1525 | * testsuite/ld-x86-64/property-x86-4a.s: Likewise. | |
1526 | * testsuite/ld-x86-64/property-x86-4b.s: Likewise. | |
1527 | * testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32, | |
1528 | property-x86-4a-x32 and property-x86-4b-x32. | |
1529 | ||
a0abe743 CM |
1530 | 2017-06-08 Cupertino Miranda <cmiranda@synopsys.com> |
1531 | ||
1532 | * testsuite/ld-arc/tls_ie-01.d: Changed expected result. | |
1533 | ||
51fa2693 L |
1534 | 2017-06-08 H.J. Lu <hongjiu.lu@intel.com> |
1535 | ||
1536 | * testsuite/ld-ifunc/ifunc-1-local-x86.d: Pass | |
1537 | "-Map tmpdir/ifunc-1-local-x86.map" to ld and check | |
1538 | ifunc-1-local-x86.map. | |
1539 | * testsuite/ld-ifunc/ifunc-1-x86.d: Pass | |
1540 | "-Map tmpdir/ifunc-1-x86.map" to ld and check ifunc-1-x86.map. | |
1541 | * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file. | |
1542 | * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise. | |
1543 | ||
4936f235 AM |
1544 | 2017-06-07 Alan Modra <amodra@gmail.com> |
1545 | ||
1546 | * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64, | |
1547 | nds32, and score. Match any output. | |
1548 | ||
670b1a13 AB |
1549 | 2017-06-06 Andrew Burgess <andrew.burgess@embecosm.com> |
1550 | ||
1551 | * ld.h (struct args_type): Fix typo in comment. | |
1552 | ||
7bdf4127 AB |
1553 | 2017-06-06 Andrew Burgess <andrew.burgess@embecosm.com> |
1554 | ||
1555 | * ld.h (struct args_type): Add force_group_allocation field. | |
1556 | * ldgram.y: Add support for FORCE_GROUP_ALLOCATION. | |
1557 | * ldlex.h: Likewise. | |
1558 | * ldlex.l: Likewise. | |
1559 | * lexsup.c: Likewise. | |
1560 | * ldlang.c (unique_section_p): Check resolve_section_groups flag | |
1561 | not the relaxable link flag. | |
1562 | (lang_add_section): Discard section groups when we're resolving | |
1563 | groups. Clear the SEC_LINK_ONCE flag if we're resolving section | |
1564 | groups. | |
1565 | * ldmain.c (main): Initialise resolve_section_groups flag in | |
1566 | link_info based on command line flags. | |
1567 | * testsuite/ld-elf/group11.d: New file. | |
1568 | * testsuite/ld-elf/group12.d: New file. | |
1569 | * testsuite/ld-elf/group12.ld: New file. | |
1570 | * NEWS: Mention new features. | |
1571 | * ld.texinfo (Options): Document --force-group-allocation. | |
1572 | (Miscellaneous Commands): Document FORCE_GROUP_ALLOCATION. | |
1573 | ||
d9409498 L |
1574 | 2017-06-05 H.J. Lu <hongjiu.lu@intel.com> |
1575 | ||
1576 | PR ld/21529 | |
1577 | * testsuite/ld-unique/pr21529.d: New file. | |
1578 | * testsuite/ld-unique/pr21529.s: Likewise. | |
1579 | * testsuite/ld-unique/unique.exp: Run *.d. | |
1580 | ||
91001320 AM |
1581 | 2017-06-05 Alan Modra <amodra@gmail.com> |
1582 | ||
1583 | * ldmain.c (main): Correct setting of link_indo.new_dtags. | |
1584 | * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld | |
1585 | * testsuite/ld-elf/now-4.d: Likewise. | |
1586 | * testsuite/ld-elf/rpath-1.d: Likewise. | |
1587 | * testsuite/ld-elf/rpath-2.d: Likewise. | |
1588 | ||
6734f10a SB |
1589 | 2017-06-05 Slava Barinov <v.barinov@samsung.com> |
1590 | ||
1591 | * configure.ac: Add --enable-new-dtags option. | |
91001320 AM |
1592 | * ldmain.c (main): Set link_info.new_dtags to 1 if when |
1593 | --enable-new-dtags is switched on. | |
6734f10a SB |
1594 | * configure: Regenerate. |
1595 | * config.in: Regenerate. | |
1596 | ||
4a4a4a27 L |
1597 | 2017-06-02 H.J. Lu <hongjiu.lu@intel.com> |
1598 | ||
1599 | * emulparams/call_nop.sh: Remove -z prefix-nop. | |
1600 | * ld.texinfo: Likewise. | |
1601 | * testsuite/ld-i386/call3c.d: Check for linker error. | |
1602 | * testsuite/ld-x86-64/call1c.d: Likewise. | |
1603 | ||
f378ab09 AM |
1604 | 2017-06-01 Alan Modra <amodra@gmail.com> |
1605 | ||
1606 | * emultempl/ppc64elf.em (params): Init plt_localentry0 field. | |
1607 | (enum ppc64_opt): New, replacing OPTION_* defines. Add | |
1608 | OPTION_PLT_LOCALENTRY, and OPTION_NO_PLT_LOCALENTRY. | |
1609 | (PARSE_AND_LIST_*): Support --plt-localentry and --no-plt-localentry. | |
1610 | * testsuite/ld-powerpc/elfv2so.d: Update. | |
1611 | * testsuite/ld-powerpc/powerpc.exp (TLS opt 5): Use --no-plt-localentry. | |
1612 | * testsuite/ld-powerpc/tlsopt5.d: Update. | |
1613 | ||
ab12fca3 AM |
1614 | 2017-05-31 Alan Modra <amodra@gmail.com> |
1615 | ||
1616 | * emultempl/ppc64elf.em (plt-static-chain help): Fix quoting. | |
1617 | ||
9a6465c2 JW |
1618 | 2017-05-22 Jiong Wang <jiong.wang@arm.com> |
1619 | ||
1620 | * configure.tgt: Set "targ_emul" to "aarch64linux32b" for | |
1621 | aarch64_be-*-linux-gnu_ilp32. Set "targ_emul" to "aarch64linux32" for | |
1622 | aarch64-*-linux-gnu_ilp32. | |
1623 | ||
92f7d783 L |
1624 | 2017-05-19 H.J. Lu <hongjiu.lu@intel.com> |
1625 | ||
1626 | * testsuite/ld-i386/i386.exp: Run property-x86-4a and | |
1627 | property-x86-4b. | |
1628 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1629 | * testsuite/ld-i386/property-x86-4a.d: New file. | |
1630 | * testsuite/ld-i386/property-x86-4a.s: Likewise. | |
1631 | * testsuite/ld-i386/property-x86-4b.d: Likewise. | |
1632 | * testsuite/ld-i386/property-x86-4b.s: Likewise. | |
1633 | * testsuite/ld-x86-64/property-x86-4a.d: Likewise. | |
1634 | * testsuite/ld-x86-64/property-x86-4a.s: Likewise. | |
1635 | * testsuite/ld-x86-64/property-x86-4b.d: Likewise. | |
1636 | * testsuite/ld-x86-64/property-x86-4b.s: Likewise. | |
1637 | ||
f4203b2b JL |
1638 | 2017-05-19 Georg-Johann Lay <avr@gjlay.de> |
1639 | ||
1640 | PR ld/21472 | |
1641 | * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000. | |
1642 | * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]: | |
1643 | Use RODATA_PM_OFFSET as default if not already defined. | |
1644 | (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends. | |
1645 | (.rodata) [RODATA_PM_OFFSET]: Put at an offset of | |
1646 | __RODATA_PM_OFFSET__. | |
1647 | ||
3aa2d05a NC |
1648 | 2017-05-18 Nick Clifton <nickc@redhat.com> |
1649 | ||
1650 | PR ld/21251 | |
1651 | * ldfile.c (ldfile_add_library_path): If the path starts with | |
1652 | $SYSROOT then use the sysroot as the real prefix. | |
1653 | * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same | |
1654 | way as =. | |
1655 | * ldlex.l: Add $SYSROOT as allow prefix for a filename. | |
1656 | * ld.texinfo (-L): Document that $SYSROOT acts like = when | |
1657 | prefixing a library search path. | |
1658 | (INPUT): Likewise. | |
1659 | * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix | |
1660 | tests. | |
1661 | ||
535b785f AM |
1662 | 2017-05-18 Alan Modra <amodra@gmail.com> |
1663 | ||
1664 | * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE. | |
1665 | * emultempl/pe.em: Likewise. | |
1666 | * emultempl/pep.em: Likewise. | |
9d43118e AM |
1667 | * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): |
1668 | Don't compare enum against TRUE. | |
535b785f | 1669 | |
087ea222 AM |
1670 | 2017-05-18 Alan Modra <amodra@gmail.com> |
1671 | ||
1672 | PR ld/20882 | |
1673 | * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas. | |
1674 | Allow for 16-bit address targets and match expected data fully. | |
1675 | * testsuite/ld-gc/pr20882a.s: Delete .debug_line section. | |
1676 | * testsuite/ld-gc/pr20882b.s: Likewise. | |
1677 | * testsuite/ld-gc/pr20882c.s: Likewise. | |
1678 | ||
b7c871ed L |
1679 | 2017-05-17 H.J. Lu <hongjiu.lu@intel.com> |
1680 | ||
1681 | PR ld/20882 | |
1682 | * testsuite/ld-gc/gc.exp: Run pr20882. | |
1683 | * testsuite/ld-gc/pr20882.d: New file. | |
1684 | * testsuite/ld-gc/pr20882a.s: Likewise. | |
1685 | * testsuite/ld-gc/pr20882b.s: Likewise. | |
1686 | * testsuite/ld-gc/pr20882c.s: Likewise. | |
1687 | ||
0a7d3889 L |
1688 | 2017-05-16 H.J. Lu <hongjiu.lu@intel.com> |
1689 | ||
1690 | PR ld/21481 | |
1691 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only | |
1692 | if IFUNC is supported by run-time. | |
1693 | ||
bc4e12de AM |
1694 | 2017-05-16 Alan Modra <amodra@gmail.com> |
1695 | ||
1696 | * plugin.c: Rename occurrences of non_ir_ref. | |
1697 | ||
4070765b AM |
1698 | 2017-05-16 Alan Modra <amodra@gmail.com> |
1699 | ||
1700 | * plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic. | |
1701 | (plugin_notice): Set non_ir_ref for references from regular | |
1702 | objects, non_ir_ref_dynamic for references from dynamic objects. | |
1703 | ||
b32465c9 MR |
1704 | 2017-05-15 Maciej W. Rozycki <macro@imgtec.com> |
1705 | ||
1706 | * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: New test. | |
1707 | * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: New test. | |
1708 | * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: New test. | |
1709 | * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: New test. | |
1710 | * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: New test. | |
1711 | * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: New test. | |
1712 | * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: New test. | |
1713 | * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: New test. | |
1714 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1715 | ||
786e3eba NC |
1716 | 2017-05-15 Nick Clifton <nickc@redhat.com> |
1717 | ||
1718 | PR ld/21459 | |
1719 | * scripttempl/pe.sc: Add .debug_gdb_scripts section. | |
1720 | * scripttempl/pep.sc: Likewise. | |
1721 | ||
73caa85d L |
1722 | 2017-05-12 H.J. Lu <hongjiu.lu@intel.com> |
1723 | ||
1724 | * testsuite/ld-i386/i386.exp: Run property-x86-3. | |
1725 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1726 | * testsuite/ld-i386/property-x86-3.d: New file. | |
1727 | * testsuite/ld-i386/property-x86-3.s: Likewise. | |
1728 | * testsuite/ld-x86-64/property-x86-3.d: Likewise. | |
1729 | * testsuite/ld-x86-64/property-x86-3.s: Likewise. | |
1730 | ||
f2c29a16 L |
1731 | 2017-05-11 H.J. Lu <hongjiu.lu@intel.com> |
1732 | ||
1733 | * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Replace | |
1734 | .plt.bnd with .plt.sec. | |
1735 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
1736 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
1737 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. | |
1738 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
1739 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. | |
1740 | * testsuite/ld-x86-64/mpx3.dd: Likewise. | |
1741 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. | |
1742 | * testsuite/ld-x86-64/mpx4.dd: Likewise. | |
1743 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. | |
1744 | * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise. | |
1745 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
1746 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
1747 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
1748 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
1749 | ||
dc2be3d2 L |
1750 | 2017-05-11 H.J. Lu <hongjiu.lu@intel.com> |
1751 | ||
1752 | * testsuite/ld-i386/plt-pic2.dd: Updated. | |
1753 | * testsuite/ld-i386/plt2.dd: Likewise. | |
1754 | * testsuite/ld-i386/plt2.rd: Likewise. | |
1755 | * testsuite/ld-i386/pr17689now.rd: Likewise. | |
1756 | * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. | |
1757 | * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise. | |
1758 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
1759 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
1760 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
1761 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
1762 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
1763 | * testsuite/ld-x86-64/plt2.dd: Likewise. | |
1764 | * testsuite/ld-x86-64/plt2.rd: Likewise. | |
1765 | * testsuite/ld-x86-64/pr17689now.rd: Likewise. | |
1766 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
1767 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
1768 | ||
5d69120b L |
1769 | 2017-05-10 H.J. Lu <hongjiu.lu@intel.com> |
1770 | ||
1771 | * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set | |
1772 | to yes. | |
1773 | * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
1774 | Likewise. | |
1775 | * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise. | |
1776 | ||
aab82f4c L |
1777 | 2017-05-10 H.J. Lu <hongjiu.lu@intel.com> |
1778 | ||
1779 | PR ld/21481 | |
1780 | * testsuite/ld-x86-64/pr21481a.c: New file. | |
1781 | * testsuite/ld-x86-64/pr21481b.S: Likewise. | |
1782 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests. | |
1783 | ||
53a346d8 CZ |
1784 | 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com> |
1785 | ||
1786 | * testsuite/ld-arc/attr-merge-0.d: New file. | |
1787 | * testsuite/ld-arc/attr-merge-0.s: Likewise. | |
1788 | * testsuite/ld-arc/attr-merge-0e.s: Likewise. | |
1789 | * testsuite/ld-arc/attr-merge-1.d: Likewise. | |
1790 | * testsuite/ld-arc/attr-merge-1.s: Likewise. | |
1791 | * testsuite/ld-arc/attr-merge-1e.s: Likewise. | |
1792 | * testsuite/ld-arc/attr-merge-2.d: Likewise. | |
1793 | * testsuite/ld-arc/attr-merge-2.s: Likewise. | |
1794 | * testsuite/ld-arc/attr-merge-3.d: Likewise. | |
1795 | * testsuite/ld-arc/attr-merge-3.s: Likewise. | |
1796 | * testsuite/ld-arc/attr-merge-3e.s: Likewise. | |
1797 | * testsuite/ld-arc/attr-merge-4.s: Likewise. | |
1798 | * testsuite/ld-arc/attr-merge-5.d: Likewise. | |
1799 | * testsuite/ld-arc/attr-merge-5a.s: Likewise. | |
1800 | * testsuite/ld-arc/attr-merge-5b.s: Likewise. | |
1801 | * testsuite/ld-arc/attr-merge-conflict-isa.d: Likewise. | |
1802 | * testsuite/ld-arc/attr-merge-err-isa.d: Likewise. | |
1803 | * testsuite/ld-arc/attr-merge-incompatible-cpu.d: Likewise. | |
1804 | * testsuite/ld-arc/got-01.d: Update test. | |
1805 | * testsuite/ld-arc/attr-merge-err-quarkse.d: New file. | |
1806 | * testsuite/ld-arc/attr-quarkse.s: Likewise. | |
1807 | * testsuite/ld-arc/attr-quarkse2.s: Likewise. | |
1808 | ||
a6da4630 A |
1809 | 2017-05-09 Awson <kyrab@mail.ru> |
1810 | ||
1811 | PR ld/21471 | |
1812 | * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64. | |
1813 | ||
d2732b69 AM |
1814 | 2017-05-09 Benjamin Peterson <bp@benjamin.pe> |
1815 | ||
1816 | * ld.texinfo (orphan sections): Grammar fix. | |
1817 | ||
38b12349 L |
1818 | 2017-05-08 H.J. Lu <hongjiu.lu@intel.com> |
1819 | ||
1820 | * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: New file. | |
1821 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. | |
1822 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. | |
1823 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
1824 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
1825 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
1826 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
1827 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
1828 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. | |
1829 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. | |
1830 | * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise. | |
1831 | * testsuite/ld-x86-64/plt2.dd: Likewise. | |
1832 | * testsuite/ld-x86-64/plt2.rd: Likewise. | |
1833 | * testsuite/ld-x86-64/plt2.s: Likewise. | |
1834 | * testsuite/ld-x86-64/pr20830a-now.d: Likewise. | |
1835 | * testsuite/ld-x86-64/pr20830b-now.d: Likewise. | |
1836 | * testsuite/ld-x86-64/pr21038a-now.d: Likewise. | |
1837 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
1838 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
1839 | * testsuite/ld-x86-64/load1b-nacl.d: Updated. | |
1840 | * testsuite/ld-x86-64/load1b.d: Likewise. | |
1841 | * testsuite/ld-x86-64/plt-main-bnd.dd: Likewise. | |
1842 | * testsuite/ld-x86-64/pr20253-1h.d: Likewise. | |
1843 | * testsuite/ld-x86-64/pr20830a.d: Update the .plt.got section | |
1844 | with func@plt. | |
1845 | * testsuite/ld-x86-64/pr20830b.d: Likewise. | |
1846 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
1847 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
1848 | * testsuite/ld-x86-64/mpx.exp: Add some -z now tests. | |
1849 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1850 | ||
f604c2a2 L |
1851 | 2017-05-08 H.J. Lu <hongjiu.lu@intel.com> |
1852 | ||
1853 | * testsuite/ld-i386/i386.exp: Add some -z now tests. | |
1854 | * testsuite/ld-i386/plt-pic2.dd: New file. | |
1855 | * testsuite/ld-i386/plt2.dd: Likewise. | |
1856 | * testsuite/ld-i386/plt2.rd: Likewise. | |
1857 | * testsuite/ld-i386/plt2.s: Likewise. | |
1858 | * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. | |
1859 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. | |
1860 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. | |
1861 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
1862 | * testsuite/ld-i386/pr20830.d: Update the .plt.got section | |
1863 | with func@plt. | |
1864 | ||
046734ff TP |
1865 | 2017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com> |
1866 | ||
1867 | * testsuite/ld-arm/arm-elf.exp | |
1868 | (Secure gateway import library generation): Check e_type field | |
1869 | of import library and executable produced. | |
1870 | * testsuite/ld-arm/cmse-implib.type: Expectations for e_type field. | |
1871 | ||
b660e9eb SKS |
1872 | 2017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
1873 | ||
1874 | PR ld/21404 | |
1875 | * testsuite/ld-avr/pr21404-1.d: New test. | |
1876 | * testsuite/ld-avr/pr21404-1.s: New test. | |
1877 | * testsuite/ld-avr/pr21404-2.d: New test. | |
1878 | * testsuite/ld-avr/pr21404-2.s: New test. | |
1879 | * testsuite/ld-avr/pr21404-3.d: New test. | |
1880 | * testsuite/ld-avr/pr21404-3.s: New test. | |
1881 | * testsuite/ld-avr/pr21404-4.d: New test. | |
1882 | * testsuite/ld-avr/pr21404-4.s: New test. | |
1883 | * testsuite/ld-avr/pr21404-5.d: New test. | |
1884 | * testsuite/ld-avr/pr21404-5.s: New test. | |
1885 | * testsuite/ld-avr/pr21404-6.d: New test. | |
1886 | * testsuite/ld-avr/pr21404-6.s: New test. | |
1887 | * testsuite/ld-avr/pr21404-7.d: New test. | |
1888 | * testsuite/ld-avr/pr21404-7.s: New test. | |
1889 | * testsuite/ld-avr/pr21404-8.d: New test. | |
1890 | * testsuite/ld-avr/pr21404-8.s: New test. | |
1891 | ||
8507b6e7 MR |
1892 | 2017-05-03 Maciej W. Rozycki <macro@imgtec.com> |
1893 | ||
1894 | * testsuite/ld-mips-elf/mips16-pcrel-0.d: New test. | |
1895 | * testsuite/ld-mips-elf/mips16-pcrel-1.d: New test. | |
1896 | * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: New test. | |
1897 | * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: New test. | |
1898 | * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: New test. | |
1899 | * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: New test. | |
1900 | * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: New test. | |
1901 | * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: New test. | |
1902 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1903 | ||
b2290821 L |
1904 | 2017-05-03 H.J. Lu <hongjiu.lu@intel.com> |
1905 | ||
1906 | * testsuite/ld-elf/pr21384.d: Adjusted to accommodate | |
1907 | additional dynamic symbols on some targets. | |
1908 | ||
82d808ed MR |
1909 | 2017-05-02 Maciej W. Rozycki <macro@imgtec.com> |
1910 | ||
1911 | * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: New test. | |
1912 | * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: New test. | |
1913 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: New | |
1914 | test. | |
1915 | * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: New | |
1916 | test. | |
1917 | * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: New | |
1918 | test. | |
1919 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d: | |
1920 | New test. | |
1921 | * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: New | |
1922 | test. | |
1923 | * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: New | |
1924 | test. | |
1925 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d: | |
1926 | New test. | |
1927 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1928 | ||
3d850592 L |
1929 | 2017-05-02 H.J. Lu <hongjiu.lu@intel.com> |
1930 | ||
1931 | * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to | |
1932 | "TLS without PLT (1)" and "TLS without PLT (3)". | |
1933 | * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to | |
1934 | to "TLS without PLT (3)". | |
1935 | ||
640226f0 L |
1936 | 2017-05-02 H.J. Lu <hongjiu.lu@intel.com> |
1937 | ||
1938 | PR ld/21384 | |
1939 | * testsuite/ld-elf/pr21384.d: New file. | |
1940 | * testsuite/ld-elf/pr21384.dl: Likewise. | |
1941 | * testsuite/ld-elf/pr21384.ld: Likewise. | |
1942 | * testsuite/ld-elf/pr21384.s: Likewise. | |
1943 | ||
0aae7e72 L |
1944 | 2017-05-01 H.J. Lu <hongjiu.lu@intel.com> |
1945 | ||
1946 | * testsuite/ld-i386/tls.exp: Run GNU2 TLS tests only if there | |
1947 | is working GNU2 TLS support. | |
1948 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
1949 | * testsuite/lib/ld-lib.exp (check_gnu2_tls_available): New proc. | |
1950 | ||
1670f9c1 L |
1951 | 2017-04-28 H.J. Lu <hongjiu.lu@intel.com> |
1952 | ||
1953 | * testsuite/config/default.exp (GNU2_CFLAGS): New. Set | |
1954 | to -mtls-dialect=gnu2 if target compiler supports it. | |
1955 | * testsuite/ld-i386/tls.exp: Run -mtls-dialect=gnu2 tests. | |
1956 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
1957 | * testsuite/ld-i386/tlsdesc1a.c: New file. | |
1958 | * testsuite/ld-i386/tlsdesc1b.c: Likewise. | |
1959 | * testsuite/ld-x86-64/tlsdesc1a.c: Likewise. | |
1960 | * testsuite/ld-x86-64/tlsdesc1b.c: Likewise. | |
1961 | ||
d6f48aed L |
1962 | 2017-04-28 H.J. Lu <hongjiu.lu@intel.com> |
1963 | ||
1964 | * testsuite/ld-elf/shared.exp: Add run-time tests for -z now. | |
1965 | * testsuite/ld-i386/tls.exp: Likewise. | |
1966 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
1967 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
1968 | ||
de9a3c42 L |
1969 | 2017-04-27 H.J. Lu <hongjiu.lu@intel.com> |
1970 | ||
1971 | * testsuite/ld-x86-64/pr21038a.d: Update DW_CFA_nop paddings | |
1972 | in .eh_frame section. | |
1973 | * testsuite/ld-x86-64/pr21038c.d: Update .eh_frame order. | |
1974 | ||
97d343d4 L |
1975 | 2017-04-26 H.J. Lu <hongjiu.lu@intel.com> |
1976 | ||
1977 | * testsuite/ld-i386/tlsdesc2.d: New test. | |
1978 | * testsuite/ld-x86-64/tlsdesc2.d: Likewise. | |
1979 | ||
23ec1e32 MR |
1980 | 2017-04-26 Maciej W. Rozycki <macro@imgtec.com> |
1981 | ||
1982 | PR ld/21334 | |
1983 | * testsuite/ld-mips-elf/pr21334.dd: New test. | |
1984 | * testsuite/ld-mips-elf/pr21334.gd: New test. | |
1985 | * testsuite/ld-mips-elf/pr21334.ld: New test linker script. | |
1986 | * testsuite/ld-mips-elf/pr21334.s: New test source. | |
1987 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1988 | ||
9e9821dd L |
1989 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
1990 | ||
1991 | * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd. | |
1992 | * testsuite/ld-x86-64/no-plt-1e.nd: New file. | |
1993 | ||
e662f84f L |
1994 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
1995 | ||
1996 | * testsuite/ld-i386/pr12570a.d: Skip for nacl targets. | |
1997 | * testsuite/ld-i386/pr12570b.d: Likewise. | |
1998 | ||
1587442d L |
1999 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
2000 | ||
2001 | PR ld/20815 | |
2002 | * testsuite/ld-i386/vxworks2.sd: Add space for program headers. | |
2003 | ||
8b353c47 JM |
2004 | 2017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com> |
2005 | ||
2006 | * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions | |
2007 | instead of `rett' in V9. | |
2008 | * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. | |
2009 | * testsuite/ld-sparc/tlssunpic64.dd: Likewise. | |
2010 | ||
e133d005 L |
2011 | 2017-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2012 | ||
2013 | PR ld/21402 | |
2014 | * testsuite/ld-elf/indirect.exp: Don't skip PIE indirect5 and | |
2015 | indirect6 tests on i386. | |
2016 | ||
3c5fce9b L |
2017 | 2017-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2018 | ||
2019 | PR ld/19617 | |
2020 | PR ld/21086 | |
2021 | * testsuite/ld-elf/pr19617a.d: Pass --no-dynamic-linker to ld. | |
2022 | * testsuite/ld-elf/pr19617b.d: Likewise. | |
2023 | * testsuite/ld-elf/pr19617c.d: Likewise. | |
2024 | *testsuite/ld-i386/pr19636-4d.d: Likewise. | |
2025 | * testsuite/ld-elf/readelf.exp: Pass --no-dynamic-linker to ld | |
2026 | with --export-dynamic. | |
2027 | * testsuite/ld-elf/shared.exp: Pass --no-dynamic-linker to ld | |
2028 | with -E. | |
2029 | ||
afe9edbf L |
2030 | 2017-04-20 H.J. Lu <hongjiu.lu@intel.com> |
2031 | ||
2032 | PR ld/21402 | |
2033 | * testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and | |
2034 | $NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests. Skip | |
2035 | PIE indirect5 and indirect6 tests on i386. | |
2036 | ||
31321c80 MR |
2037 | 2017-04-20 Maciej W. Rozycki <macro@imgtec.com> |
2038 | ||
2039 | * testsuite/ld-mips-elf/mips-elf.exp: Join `__ehdr_start' tests. | |
2040 | ||
59fa66c5 L |
2041 | 2017-04-20 H.J. Lu <hongjiu.lu@intel.com> |
2042 | ||
2043 | PR ld/21382 | |
2044 | * plugin.c (is_visible_from_outside): Symbol may be visible | |
2045 | from outside if dynamic_ref_after_ir_def is set. | |
2046 | (plugin_notice): Set dynamic_ref_after_ir_def if the symbol is | |
2047 | defined in an IR object and referenced in a dynamic object. | |
2048 | * testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests. | |
2049 | * testsuite/ld-plugin/pr21382a.c: New file. | |
2050 | * testsuite/ld-plugin/pr21382b.c: Likewise. | |
2051 | ||
e492d2f8 L |
2052 | 2017-04-19 H.J. Lu <hongjiu.lu@intel.com> |
2053 | ||
2054 | PR ld/21401 | |
2055 | * testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with | |
2056 | -z now. | |
2057 | ||
954b63d4 AM |
2058 | 2017-04-19 Alan Modra <amodra@gmail.com> |
2059 | ||
2060 | * ld.texinfo (dynamic-undefined-weak): Document. | |
2061 | (nodynamic-undefined-weak): Document that this option now can | |
2062 | be used with shared libs. | |
2063 | * emulparams/dynamic_undefined_weak.sh: Support -z | |
2064 | dynamic-undefined-weak. | |
2065 | * emulparams/elf32ppccommon.sh: Include dynamic_undefined_weak.sh. | |
2066 | * testsuite/ld-undefined/weak-undef.exp (undef_weak_so), | |
2067 | (undef_weak_exe): New. Use them. Add -z dynamic-undefined-weak | |
2068 | and -z nodynamic-undefined-weak tests. | |
2069 | * Makefile.am: Update powerpc dependencies. | |
2070 | * Makefile.in: Regenerate. | |
2071 | ||
e6699019 L |
2072 | 2017-04-17 H.J. Lu <hongjiu.lu@intel.com> |
2073 | ||
2074 | PR ld/21389 | |
2075 | * testsuite/ld-elf/pr21389.map: New file. | |
2076 | * testsuite/ld-elf/pr21389.s: Likewise. | |
2077 | * testsuite/ld-elf/pr21389a.d: Likewise. | |
2078 | * testsuite/ld-elf/pr21389b.d: Likewise. | |
2079 | * testsuite/ld-elf/pr21389c.d: Likewise. | |
2080 | ||
c5d37467 AM |
2081 | 2017-04-17 Alan Modra <amodra@gmail.com> |
2082 | ||
2083 | * testsuite/ld-elf/indirect5a.c, | |
2084 | * testsuite/ld-elf/indirect5b.c, | |
2085 | * testsuite/ld-elf/indirect5.map, | |
2086 | * testsuite/ld-elf/indirect5.out: New test. | |
2087 | * testsuite/ld-elf/indirect6a.c: Likewise. | |
2088 | * testsuite/ld-elf/indirect.exp (check_dynamic_syms): New proc. | |
2089 | Run new tests and check dynsyms. | |
2090 | ||
fbea1508 AM |
2091 | 2017-04-11 Alan Modra <amodra@gmail.com> |
2092 | ||
2093 | PR 21274 | |
2094 | PR 18466 | |
2095 | * emultempl/pe.em (pe_find_data_imports): Don't use fixed size | |
2096 | symbol buffer. Instead, xmalloc max size needed with space for | |
2097 | prefix. Wrap overlong lines. Formatting. Pass symbol buffer | |
2098 | copy of name to pe_walk_relocs_of_symbol. | |
2099 | (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup. | |
2100 | * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports. | |
2101 | (make_import_fixup): Add "name" param, pass to pep_create_import_fixup. | |
2102 | Use bfd_get_signed_* and remove unnecessary casts. Formatting. | |
2103 | * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to | |
2104 | callback. | |
2105 | (make_import_fixup_mark): Add "name" param. Make use of prefix | |
2106 | space rather than xmalloc here. | |
2107 | (pe_create_import_fixup): Likewise. | |
2108 | * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype. | |
2109 | (pe_create_import_fixup): Likewise. | |
2110 | * pep-dll.h (pep_walk_relocs_of_symbol): Likewise. | |
2111 | (pep_create_import_fixup): Likewise. | |
2112 | ||
a70f34c0 NC |
2113 | 2017-04-10 Nick Clifton <nickc@redhat.com> |
2114 | ||
2115 | * ld.texinfo (--strip-discarded): Document. | |
2116 | (--embedded-relocs): Document. | |
2117 | (--spare-dynamic-tags): Document. | |
2118 | (--task-link): Document. | |
2119 | ||
6f9dbcd4 AM |
2120 | 2017-04-10 Alan Modra <amodra@gmail.com> |
2121 | ||
2122 | PR 21287 | |
2123 | * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY. | |
2124 | * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array | |
2125 | section types. | |
2126 | * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler | |
2127 | warnings about "ignoring incorrect section type". | |
2128 | (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment. | |
2129 | ||
37095d07 AM |
2130 | 2017-04-10 Alan Modra <amodra@gmail.com> |
2131 | ||
2132 | * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete | |
2133 | sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use | |
2134 | remote_file host exists rather than file exists. | |
2135 | ||
a7eaf017 L |
2136 | 2017-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2137 | ||
2138 | PR ld/21090 | |
2139 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use | |
2140 | NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie | |
2141 | version of the test. | |
2142 | ||
8170f769 L |
2143 | 2017-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2144 | ||
2145 | PR ld/19579 | |
2146 | PR ld/21306 | |
2147 | * testsuite/ld-elf/pr19579a.c (main): Updated. | |
2148 | ||
ae3f8c28 NC |
2149 | 2017-04-07 Nick Clifton <nickc@redhat.com> |
2150 | ||
2151 | PR 21090 | |
2152 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly | |
2153 | disable PIE for the non-pie version of the test. | |
2154 | ||
5c1f54ce AM |
2155 | 2017-04-07 Alan Modra <amodra@gmail.com> |
2156 | ||
2157 | * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char. | |
2158 | ||
1fd6d111 TG |
2159 | 2017-04-07 gingold <gingold@gingold-Precision-7510> |
2160 | ||
2161 | * testsuite/ld-pe/pe.exp: New test. | |
2162 | * testsuite/ld-pe/weakdef-1.s: New test source. | |
2163 | * testsuite/ld-pe/weakdef-1.d: New test. | |
2164 | ||
3944e22b AM |
2165 | 2017-04-07 Alan Modra <amodra@gmail.com> |
2166 | ||
2167 | * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments. | |
2168 | * testsuite/ld-elf/mbind1b.d: Likewise. | |
2169 | * testsuite/ld-elf/mbind1c.d: Likewise. | |
2170 | ||
6ca30fa5 HPN |
2171 | 2017-04-05 Hans-Peter Nilsson <hp@axis.com> |
2172 | ||
2173 | PR ld/21233 | |
2174 | * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix | |
2175 | indentation issue introduced with last commit. | |
2176 | ||
4d5efb85 HPN |
2177 | 2017-04-05 Hans-Peter Nilsson <hp@axis.com> |
2178 | ||
2179 | PR ld/21233 | |
2180 | * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the | |
2181 | first test for cris*-*-*. | |
2182 | ||
80070c0d MR |
2183 | 2017-04-04 Maciej W. Rozycki <macro@imgtec.com> |
2184 | ||
2185 | PR ld/21233 | |
2186 | * ldlang.c (insert_undefined): Set `mark' for ELF symbols. | |
2187 | * testsuite/ld-elf/pr21233.sd: New test. | |
2188 | * testsuite/ld-elf/pr21233-l.sd: New test. | |
2189 | * testsuite/ld-elf/pr21233.ld: New test linker script. | |
2190 | * testsuite/ld-elf/pr21233-e.ld: New test linker script. | |
2191 | * testsuite/ld-elf/pr21233.s: New test source. | |
2192 | * testsuite/ld-elf/pr21233-l.s: New test source. | |
2193 | * testsuite/ld-elf/shared.exp: Run the new tests. | |
2194 | ||
a91e1603 L |
2195 | 2017-04-04 H.J. Lu <hongjiu.lu@intel.com> |
2196 | ||
2197 | * NEWS: Mention support for ELF SHF_GNU_MBIND and | |
2198 | PT_GNU_MBIND_XXX. | |
2199 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place | |
2200 | input GNU_MBIND sections with the same type, attributes and | |
2201 | sh_info field into a single output GNU_MBIND section. | |
2202 | * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b. | |
2203 | * testsuite/ld-elf/mbind1.s: New file. | |
2204 | * testsuite/ld-elf/mbind1a.d: Likewise. | |
2205 | * testsuite/ld-elf/mbind1b.d: Likewise. | |
2206 | * testsuite/ld-elf/mbind1c.d: Likewise. | |
2207 | * testsuite/ld-elf/mbind2a.s: Likewise. | |
2208 | * testsuite/ld-elf/mbind2b.c: Likewise. | |
2209 | ||
46bed679 L |
2210 | 2017-04-03 H.J. Lu <hongjiu.lu@intel.com> |
2211 | ||
2514e33e | 2212 | * NEWS: Mention support for ELF GNU program properties. |
46bed679 L |
2213 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call |
2214 | ELF setup_gnu_properties. | |
2215 | * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386. | |
2216 | * testsuite/ld-i386/pass.c: New file. | |
2217 | * testsuite/ld-i386/property-1.r: Likewise. | |
2218 | * testsuite/ld-i386/property-2.r: Likewise. | |
2219 | * testsuite/ld-i386/property-3.r: Likewise. | |
2220 | * testsuite/ld-i386/property-4.r: Likewise. | |
2221 | * testsuite/ld-i386/property-5.r: Likewise. | |
2222 | * testsuite/ld-i386/property-6.r: Likewise. | |
2223 | * testsuite/ld-i386/property-6a.c: Likewise. | |
2224 | * testsuite/ld-i386/property-6b.c: Likewise. | |
2225 | * testsuite/ld-i386/property-6c.S: Likewise. | |
2226 | * testsuite/ld-i386/property-7.r: Likewise. | |
2227 | * testsuite/ld-i386/property-no-copy.S: Likewise. | |
2228 | * testsuite/ld-i386/property-stack.S: Likewise. | |
2229 | * testsuite/ld-i386/property-unsorted-1.S: Likewise. | |
2230 | * testsuite/ld-i386/property-unsorted-2.S: Likewise. | |
2231 | * testsuite/ld-i386/property-x86-1.S: Likewise. | |
2232 | * testsuite/ld-i386/property-x86-2.S: Likewise. | |
2233 | * testsuite/ld-x86-64/pass.c: Likewise. | |
2234 | * testsuite/ld-x86-64/property-1.r: Likewise. | |
2235 | * testsuite/ld-x86-64/property-2.r: Likewise. | |
2236 | * testsuite/ld-x86-64/property-3.r: Likewise. | |
2237 | * testsuite/ld-x86-64/property-4.r: Likewise. | |
2238 | * testsuite/ld-x86-64/property-5.r: Likewise. | |
2239 | * testsuite/ld-x86-64/property-6.r: Likewise. | |
2240 | * testsuite/ld-x86-64/property-6a.c: Likewise. | |
2241 | * testsuite/ld-x86-64/property-6b.c: Likewise. | |
2242 | * testsuite/ld-x86-64/property-6c.S: Likewise. | |
2243 | * testsuite/ld-x86-64/property-7.r: Likewise. | |
2244 | * testsuite/ld-x86-64/property-no-copy.S: Likewise. | |
2245 | * testsuite/ld-x86-64/property-stack.S: Likewise. | |
2246 | * testsuite/ld-x86-64/property-unsorted-1.S: Likewise. | |
2247 | * testsuite/ld-x86-64/property-unsorted-2.S: Likewise. | |
2248 | * testsuite/ld-x86-64/property-x86-1.S: Likewise. | |
2249 | * testsuite/ld-x86-64/property-x86-2.S: Likewise. | |
2250 | * testsuite/ld-x86-64/x86-64.exp: Run property tests for | |
2251 | Linux/x86-64. | |
2252 | ||
086554e8 HPN |
2253 | 2017-03-28 Hans-Peter Nilsson <hp@axis.com> |
2254 | ||
2255 | PR ld/16044 | |
2256 | * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s, | |
2257 | testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test. | |
2258 | ||
4c8798c9 SL |
2259 | 2017-03-21 Sandra Loosemore <sandra@codesourcery.com> |
2260 | ||
2261 | * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return | |
2262 | false for nios2-*-elf. | |
2263 | ||
21701718 TG |
2264 | 2017-03-21 gingold <gingold@gingold-Precision-7510> |
2265 | ||
2266 | * ldlang.c (lang_check_section_addresses): Check only for | |
2267 | allocated sections. | |
2268 | ||
1d3fa25f AM |
2269 | 2017-03-17 Alan Modra <amodra@gmail.com> |
2270 | ||
2271 | * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k. | |
2272 | ||
9494d963 TG |
2273 | 2017-03-15 Tristan Gingold <gingold@adacore.com> |
2274 | ||
2275 | * testsuite/ld-checks/checks.exp (overflow_check): Disable for | |
2276 | non-elf targets. | |
2277 | ||
9216a6f3 L |
2278 | 2017-03-14 H.J. Lu <hongjiu.lu@intel.com> |
2279 | ||
2280 | * ldlang.c (lang_check_section_addresses): Use addr_mask to | |
2281 | check VMA and LMA. | |
2282 | ||
f955cccf NC |
2283 | 2017-03-13 Nick Clifton <nickc@redhat.com> |
2284 | ||
2285 | PR binutils/21202 | |
2286 | * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp. | |
2287 | ||
d40e34db TG |
2288 | 2017-03-13 Tristan Gingold <gingold@adacore.com> |
2289 | ||
2290 | * ldlang.c (lang_check_section_addresses): Check for address space | |
2291 | overflow. | |
2292 | * testsuite/ld-checks/checks.exp (overflow_check): New procedure | |
2293 | * testsuite/ld-checks/over.s: New test source. | |
2294 | * testsuite/ld-checks/over.d: New test. | |
2295 | * testsuite/ld-checks/over2.s: New test source. | |
2296 | * testsuite/ld-checks/over2.d: New test. | |
2297 | ||
4b5900d8 AN |
2298 | 2017-03-13 Alexey Neyman <stilor@att.net> |
2299 | ||
2300 | * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target | |
2301 | cpu, not host. | |
2302 | ||
118aa6cf AM |
2303 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2304 | ||
2305 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add | |
2306 | sysroot for -rpath search. | |
2307 | ||
316a1245 AM |
2308 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2309 | ||
2310 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite. | |
2311 | Only prefix absolute paths with sysroot. Handle DOS paths. | |
2312 | (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable. | |
2313 | (gld${EMULATION_NAME}_check_ld_so_conf): Likewise. | |
2314 | (gld${EMULATION_NAME}_after_open): Short-circuit NULL path | |
2315 | searches. Rename variable. Simplify get_runpath search. | |
2316 | ||
bb4287c5 AM |
2317 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2318 | ||
2319 | * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather | |
2320 | than -rdynamic. | |
2321 | ||
e299b355 AM |
2322 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2323 | ||
2324 | * ld.texinfo (Orphan Sections): Mention that not all targets | |
2325 | handle orphans well. | |
2326 | * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960. | |
2327 | * testsuite/ld-elf/orphan-10.d: Likewise. | |
2328 | ||
14ea2c1b AB |
2329 | 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2330 | ||
2331 | * ldlang.c (lang_size_sections_1): Shortcut loop only after | |
2332 | tracking changes to the default regions LMA. | |
2333 | * testsuite/ld-elf/orphan-9.ld: Extend header comment. | |
2334 | * testsuite/ld-elf/orphan-10.d: New file. | |
2335 | * testsuite/ld-elf/orphan-10.s: New file. | |
2336 | * NEWS: Mention change in behaviour. | |
2337 | ||
77f5e65e AB |
2338 | 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2339 | ||
2340 | * ldlang.c (lang_leave_output_section_statement): Move lma_region | |
2341 | logic to... | |
2342 | (lang_propagate_lma_regions): ...this new function. | |
2343 | (lang_process): Call new function. | |
2344 | * testsuite/ld-elf/orphan-9.d: New file. | |
2345 | * testsuite/ld-elf/orphan-9.ld: New file. | |
2346 | * testsuite/ld-elf/orphan-9.s: New file. | |
2347 | * NEWS: Mention change in behaviour. | |
2348 | ||
d933941d AM |
2349 | 2017-03-07 Alan Modra <amodra@gmail.com> |
2350 | ||
2351 | * ldlang.c (open_input_bfds): Check that lang_assignment_statement | |
2352 | is not an assert before referencing defsym. | |
2353 | ||
2e0ce1c8 AM |
2354 | 2017-03-05 Alan Modra <amodra@gmail.com> |
2355 | ||
2356 | * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change. | |
2357 | * testsuite/ld-elf/eh6.d: Likewise. | |
2358 | * testsuite/ld-alpha/tlsbin.dd: Likewise. | |
2359 | * testsuite/ld-alpha/tlsbin.td: Likewise. | |
2360 | * testsuite/ld-alpha/tlsbinr.dd: Likewise. | |
2361 | * testsuite/ld-alpha/tlspic.dd: Likewise. | |
2362 | * testsuite/ld-alpha/tlspic.rd: Likewise. | |
2363 | * testsuite/ld-alpha/tlspic.sd: Likewise. | |
2364 | * testsuite/ld-alpha/tlspic.td: Likewise. | |
2365 | * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise. | |
2366 | * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise. | |
2367 | * testsuite/ld-mips-elf/eh-frame3.d: Likewise. | |
2368 | * testsuite/ld-x86-64/pr20830a.d: Likewise. | |
2369 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
2370 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
2371 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
2372 | ||
611a3ca9 NC |
2373 | 2017-03-03 Max Bolingbroke <batterseapower@hotmail.com> |
2374 | ||
2375 | PR 12969 | |
2376 | * pe-dll.c (generate_edata): Fail if the input file(s) require too | |
2377 | many ordinals. | |
2378 | ||
199add01 AM |
2379 | 2017-03-02 Alan Modra <amodra@gmail.com> |
2380 | ||
2381 | * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc | |
2382 | and dl3.cc. | |
2383 | ||
4ef97a1b AM |
2384 | 2017-02-28 Alan Modra <amodra@gmail.com> |
2385 | ||
2386 | * testsuite/ld-elf/merge.d: xfail for nios. | |
2387 | ||
7ba71655 AM |
2388 | 2017-02-28 Alan Modra <amodra@gmail.com> |
2389 | ||
2390 | * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at | |
2391 | limits of addpcis range. | |
2392 | ||
0e392101 MR |
2393 | 2017-02-28 Maciej W. Rozycki <macro@imgtec.com> |
2394 | ||
2395 | * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25' | |
2396 | instructions. | |
2397 | * testsuite/ld-mips-elf/jalr4-r6.dd: New test. | |
2398 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
2399 | ||
fbf25dfd GJL |
2400 | 2017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org> |
2401 | ||
2402 | PR target/20849 | |
6734f10a SB |
2403 | * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define. |
2404 | (.rodata): New section. | |
2405 | (.data): Remove .rodata*. | |
fbf25dfd | 2406 | |
dd803a24 AM |
2407 | 2017-02-25 Alan Modra <amodra@gmail.com> |
2408 | ||
2409 | * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux. | |
2410 | Set up HPUX defsym. Run pr14170 tests and build symbol3 objects, | |
2411 | defining HPUX where necessary. Define HPUX for implib tests. | |
2412 | * testsuite/ld-elf/comm-data4.d: Run for hpux. | |
2413 | * testsuite/ld-elf/endsym.d: Likewise. | |
2414 | * testsuite/ld-elf/linkoncerdiff.d: Likewise. | |
2415 | * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX. | |
2416 | * testsuite/ld-elf/comm-data5.s: Likewise. | |
2417 | * testsuite/ld-elf/endsym.s: Likewise. | |
2418 | * testsuite/ld-elf/pr14170c.s: Likewise. | |
2419 | * testsuite/ld-elf/symbol3.s: Likewise. | |
2420 | * testsuite/ld-elf/implib.s: Likewise. Don't start directives | |
2421 | in first column. | |
2422 | * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels. | |
2423 | * testsuite/ld-elf/warn3.d: Run for hpux. | |
2424 | * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux. | |
2425 | * testsuite/ld-scripts/rgn-at11.d: Likewise. | |
2426 | * testsuite/ld-scripts/size-2.d: Remove xfail for hpux. | |
2427 | ||
c9f02c3e MR |
2428 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
2429 | ||
c72cea5a MR |
2430 | * testsuite/ld-elf/ver_def.vd: New test. |
2431 | * testsuite/ld-elf/ver_def-tic6x.vd: New test. | |
c9f02c3e MR |
2432 | * testsuite/ld-elf/ver_def.ld: New test linker script. |
2433 | * testsuite/ld-elf/ver_def.ver: New test version script. | |
2434 | * testsuite/ld-elf/ver_def.s: New test source. | |
2435 | * testsuite/ld-elf/readelf.exp: New test script. | |
2436 | ||
5d58c733 MR |
2437 | 2017-02-23 Maciej W. Rozycki <macro@imgtec.com> |
2438 | ||
2439 | * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax' | |
2440 | option. | |
2441 | * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise. | |
2442 | * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise. | |
2443 | * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise. | |
2444 | ||
c1556ecd MR |
2445 | 2017-02-23 Maciej W. Rozycki <macro@imgtec.com> |
2446 | ||
2447 | * testsuite/ld-mips-elf/jalr4.dd: New test. | |
2448 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
2449 | ||
5499c7c7 AM |
2450 | 2017-02-23 Alan Modra <amodra@gmail.com> |
2451 | ||
2452 | PR 20744 | |
2453 | * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of | |
2454 | each group. | |
2455 | * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change | |
2456 | and sdarel reloc fix. | |
2457 | ||
902e9fc7 MR |
2458 | 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> |
2459 | ||
2460 | PR ld/20828 | |
2461 | * testsuite/ld-elf/pr20828-d.sd: New test. | |
2462 | * testsuite/ld-elf/pr20828-e.sd: New test. | |
2463 | * testsuite/ld-elf/pr20828-v.od: New test. | |
2464 | * testsuite/ld-elf/pr20828-v.ver: New test version script. | |
2465 | * testsuite/ld-elf/pr20828-v.ld: New test linker script. | |
2466 | * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and | |
2467 | `.gnu.version_d'. | |
2468 | * testsuite/ld-elf/shared.exp: Run the new tests. | |
2469 | ||
46519784 NC |
2470 | 2017-02-21 Nick Clifton <nickc@redhat.com> |
2471 | ||
2472 | * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning | |
2473 | about non-void function returning without a result. | |
2474 | ||
c48cfedd AM |
2475 | 2017-02-17 Alan Modra <amodra@gmail.com> |
2476 | ||
2477 | PR 15041 | |
2478 | * scripttempl/pe.sc: Don't combine sections for ld -r. | |
2479 | * scripttempl/pep.sc: Likewise. | |
2480 | ||
74dc9032 AM |
2481 | 2017-02-17 Alan Modra <amodra@gmail.com> |
2482 | ||
246b9122 | 2483 | PR 21099 |
74dc9032 AM |
2484 | * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL |
2485 | rather than using OTHER_SECTIONS. | |
2486 | * emulparams/elf32mt.sh: Likewise. | |
2487 | * emulparams/elf32rx.sh: Likewise. | |
2488 | * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to | |
2489 | define __rl78_abs__. | |
2490 | * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL | |
2491 | rather than using OTHER_SECTIONS. | |
2492 | * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges. | |
2493 | * emulparams/shelf64.sh: Unset OTHER_SECTIONS. | |
2494 | * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS. | |
2495 | * emulparams/shelf_uclinux.sh: Likewise. | |
2496 | * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS | |
2497 | to define _stack, not OTHER_SECTIONS. | |
2498 | * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and | |
2499 | TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL. | |
2500 | * scripttempl/arclinux.sc: Likewise. | |
2501 | * scripttempl/elf64hppa.sc: Likewise. | |
2502 | * scripttempl/elfxtensa.sc: Likewise. | |
2503 | * scripttempl/nds32elf.sc: Likewise. | |
2504 | * scripttempl/armbpabi.sc: Move STACK before debug sections. | |
2505 | * scripttempl/elf_chaos.sc: Likewise. | |
2506 | * scripttempl/elfarc.sc: Delete STACK. | |
2507 | * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION, | |
2508 | TINY_BSS_SECTION, and .stack before debug sections. | |
2509 | ||
67cecaba NC |
2510 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
2511 | ||
2512 | PR ld/20825 | |
2513 | * ld.texinfo (Options): Add missing @item entry for --pop-state. | |
2514 | ||
262a40a5 AM |
2515 | 2017-02-17 Alan Modra <amodra@gmail.com> |
2516 | ||
2517 | * testsuite/ld-elf/dwarf2.err: Accept other errors between the | |
2518 | multiple definition errors. | |
2519 | ||
002a5d4e AM |
2520 | 2017-02-17 Alan Modra <amodra@gmail.com> |
2521 | ||
2522 | * testsuite/ld-elf/dwarf2.err: Add missing newline at end. | |
2523 | * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename. | |
2524 | ||
3239a423 AB |
2525 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
2526 | ||
2527 | * testsuite/ld-elf/shared.exp: Update expected results. | |
2528 | * testsuite/ld-elf/dwarf2.err: Likewise | |
2529 | ||
90ed9b8b AB |
2530 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
2531 | ||
2532 | * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests. | |
2533 | * testsuite/ld-elf/dwarf2.err: New file. | |
2534 | * testsuite/ld-elf/dwarf2a.c: New file. | |
2535 | * testsuite/ld-elf/dwarf2b.c: New file. | |
2536 | * testsuite/ld-elf/dwarf3.c: New file. | |
2537 | * testsuite/ld-elf/dwarf3.err: New file. | |
2538 | ||
2bd7f877 AB |
2539 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
2540 | ||
2541 | * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning, | |
2542 | error, warning_output, and error_output actions. Remove separate | |
2543 | warnings parameter. | |
2544 | * testsuite/ld-elf/shared.exp (build_tests): Updated to use | |
2545 | 'warning' action. | |
2546 | * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise. | |
2547 | ||
37d7d56c AM |
2548 | 2017-02-16 Alan Modra <amodra@gmail.com> |
2549 | ||
2550 | * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params | |
2551 | from void pointers to function pointers. | |
2552 | * testsuite/ld-elf/pr18718.c: Update to suit. | |
2553 | * testsuite/ld-elf/pr18720a.c: Update to suit. | |
2554 | ||
a8c75b76 AM |
2555 | 2017-02-16 Alan Modra <amodra@gmail.com> |
2556 | ||
2557 | PR 21000 | |
2558 | * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets. | |
2559 | * testsuite/ld-elf/loadaddr2.d: Likewise. | |
2560 | * testsuite/ld-elf/loadaddr3a.d: Likewise. | |
2561 | * testsuite/ld-scripts/rgn-at5.d: Likewise. | |
2562 | ||
a48cda7f AM |
2563 | 2017-02-16 Alan Modra <amodra@gmail.com> |
2564 | ||
2565 | * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic. | |
2566 | * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit. | |
2567 | ||
2a568401 L |
2568 | 2017-02-15 H.J. Lu <hongjiu.lu@intel.com> |
2569 | ||
2570 | PR ld/21168 | |
2571 | * testsuite/ld-i386/i386.exp: Run pr21168. | |
2572 | * testsuite/ld-i386/pr21168a.c: New file. | |
2573 | * testsuite/ld-i386/pr21168b.S: Likewise. | |
2574 | ||
a5def14f L |
2575 | 2017-02-15 H.J. Lu <hongjiu.lu@intel.com> |
2576 | ||
2577 | PR ld/20244 | |
2578 | * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and | |
2579 | pr20244-4c. | |
2580 | * testsuite/ld-i386/pr20244-4.s: New file. | |
2581 | * testsuite/ld-i386/pr20244-4a.d: Likewise. | |
2582 | * testsuite/ld-i386/pr20244-4b.d: Likewise. | |
2583 | * testsuite/ld-i386/pr20244-4c.d: Likewise. | |
2584 | ||
ebf0b03c MR |
2585 | 2017-02-15 Maciej W. Rozycki <macro@imgtec.com> |
2586 | ||
2587 | * ldmisc.c (vfinfo): Don't print the function name again either | |
2588 | if no source file name has been found both now and previously. | |
2589 | * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly. | |
2590 | * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise. | |
2591 | * testsuite/ld-mips-elf/unaligned-branch.d: Likewise. | |
2592 | * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise. | |
2593 | * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise. | |
2594 | * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise. | |
2595 | * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise. | |
2596 | * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise. | |
2597 | * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise. | |
2598 | * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d: | |
2599 | Likewise. | |
2600 | * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d: | |
2601 | Likewise. | |
2602 | * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d: | |
2603 | Likewise. | |
2604 | * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise. | |
2605 | * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: | |
2606 | Likewise. | |
2607 | * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: | |
2608 | Likewise. | |
2609 | * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise. | |
2610 | * testsuite/ld-mips-elf/unaligned-jump.d: Likewise. | |
2611 | * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise. | |
2612 | * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise. | |
2613 | * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. | |
2614 | * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. | |
2615 | * testsuite/ld-powerpc/tocopt.out: Likewise. | |
2616 | * testsuite/ld-powerpc/tocopt7.out: Likewise. | |
2617 | ||
befe814d MR |
2618 | 2017-02-15 Maciej W. Rozycki <macro@imgtec.com> |
2619 | ||
2620 | * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers. | |
2621 | ||
defe6f56 IK |
2622 | 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com> |
2623 | ||
2624 | * testsuite/ld-scripts/sysroot-prefix.exp | |
2625 | (get_base_dir_for_scripts): New function. | |
2626 | (run_sysroot_prefix_test): Use get_base_dir_for_scripts. | |
2627 | ||
10ddfe62 PD |
2628 | 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com> |
2629 | ||
2630 | * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change | |
2631 | _gp to __global_pointer$ | |
2632 | ||
d7488716 AB |
2633 | 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
2634 | ||
2635 | * configure.tgt (arc*-*-linux*): Change the default linker | |
2636 | emulation based on --with-cpu selection. | |
2637 | * NEWS: Mention new configuration option. | |
2638 | ||
65f90e82 JW |
2639 | 2017-02-06 Jiong Wang <jiong.wang@arm.com> |
2640 | ||
2641 | * testsuite/ld-elf/compress.exp: Don't print to stdout for all | |
2642 | "readelf -w". | |
2643 | ||
fa93e3d3 MR |
2644 | 2017-02-02 Maciej W. Rozycki <macro@imgtec.com> |
2645 | ||
2646 | * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/. | |
2647 | ||
2e9af2d0 MR |
2648 | 2017-02-02 Maciej W. Rozycki <macro@imgtec.com> |
2649 | ||
2650 | * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo, | |
2651 | s/regexp/regex/. | |
2652 | ||
fd121c5c JW |
2653 | 2017-02-02 Jiong Wang <jiong.wang@arm.com> |
2654 | ||
2655 | * testsuite/lib/ld-lib.exp (check_libdl_available): New function. | |
2656 | * testsuite/ld-elf/shared.exp (run_tests): Split tests which require | |
2657 | dlopen support into "dlopen_run_tests". These tests include dl1*main | |
2658 | and dl6*main. | |
2659 | (dlopen_run_tests): New and only run it when check_libdl_available | |
2660 | returns true. XFAIL on *-*-netbsdelf*. | |
2661 | ||
c0c237fc MR |
2662 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
2663 | ||
2664 | * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the | |
2665 | presentation of relocation addends. | |
2666 | * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise. | |
2667 | * testsuite/ld-mips-elf/vxworks1.dd: Likewise. | |
2668 | * testsuite/ld-mips-elf/vxworks1.rd: Likewise. | |
2669 | ||
5139cfdb MR |
2670 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
2671 | ||
2672 | * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld' | |
2673 | in `.tdata' section. | |
2674 | * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly. | |
2675 | * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise. | |
2676 | ||
ce790370 JW |
2677 | 2017-02-01 Jiong Wang <jiong.wang@arm.com> |
2678 | ||
2679 | * testsuite/ld-unique/unique.exp (Could not link a dynamic executable): | |
2680 | Append $board_cflags to link commands. | |
2681 | ||
067869b6 SKS |
2682 | 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com> |
2683 | ||
2684 | * testsuite/ld-scripts/print-memory-usage-1.l: Relax | |
2685 | check for digit in second decimal place. | |
2686 | ||
15a00b13 MR |
2687 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
2688 | ||
2689 | PR ld/20828 | |
2690 | * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test | |
2691 | indentation. | |
2692 | ||
1273da04 NC |
2693 | 2017-01-31 Nick Clifton <nickc@redhat.com> |
2694 | ||
2695 | * ldmain.c (add_archive_element): Eliminate string buffer. | |
2696 | * ldlang.c (lang_print_asneeded): Likewise. | |
2697 | ||
8b10b0b3 MR |
2698 | 2017-01-30 Maciej W. Rozycki <macro@imgtec.com> |
2699 | ||
2700 | * emultempl/mipself.em (ignore_branch_isa): New variable. | |
2701 | (mips_create_output_section_statements): Rename | |
2702 | `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags', | |
2703 | add `ignore_branch_isa' argument. | |
2704 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and | |
2705 | OPTION_NO_IGNORE_BRANCH_ISA enum values. | |
2706 | (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and | |
2707 | "no-ignore-branch-isa" options. | |
2708 | (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and | |
2709 | `--no-ignore-branch-isa'. | |
2710 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and | |
2711 | OPTION_NO_IGNORE_BRANCH_ISA. | |
2712 | ||
2713 | * ld.texinfo (Options specific to MIPS targets): Add | |
2714 | `--ignore-branch-isa' and `--no-ignore-branch-isa' options. | |
2715 | (ld and the MIPS family): Likewise. | |
2716 | ||
2717 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test. | |
2718 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test. | |
2719 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test. | |
2720 | * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test. | |
2721 | * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test. | |
2722 | * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New | |
2723 | test. | |
2724 | * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New | |
2725 | test. | |
2726 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
2727 | ||
bf382b30 HPN |
2728 | 2017-01-29 Hans-Peter Nilsson <hp@axis.com> |
2729 | ||
c1d45238 | 2730 | PR binutils/19935 |
bf382b30 HPN |
2731 | Fix long-standing buglet and fallout from now-default initfini-array. |
2732 | * emulparams/criself.sh (USER_LABEL_PREFIX): Define. | |
ce6366f9 | 2733 | (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines. |
bf382b30 | 2734 | |
4471a46f JW |
2735 | 2017-01-27 Jiong Wang <jiong.wang@arm.com> |
2736 | ||
2737 | * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on | |
2738 | arm*-*-eabi*. | |
2739 | ||
387dd777 DP |
2740 | 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> |
2741 | Nick Clifton <nickc@redhat.com> | |
2742 | ||
2743 | PR 20343 | |
2744 | * ld.texinfo (Options): Extend documentation of the --plugin | |
2745 | option. Include a description of where the plugins should be | |
2746 | located. | |
2747 | ||
0348d4be NC |
2748 | 2017-01-27 Nick Clifton <nickc@redhat.com> |
2749 | ||
2750 | * po/sr.po: New Serbian translation. | |
2751 | * configure.ac (ALL_LINGUAS): Add sr. | |
2752 | * configure: Regenerate. | |
2753 | ||
c75b4ebd SH |
2754 | 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de> |
2755 | ||
2756 | * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*). | |
2757 | (bfin-*-rtems*): Move to (bfin*-*-elf*). | |
2758 | (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*). | |
2759 | (m68*-*-rtems*): Move to (m68*-*-elf*). | |
2760 | (mips*-*-rtems*): Move to (mips*-*-elf*). | |
2761 | (or1k*-*-rtems*): Move to (or1k*-*-elf*). | |
2762 | (powerpc*-*-rtems*): Move to (powerpc*-*-elf*). | |
2763 | (sparc*-*-rtems*): Move to (sparc*-*-elf*). | |
2764 | (sparc64*-*-rtems*): Move to (sparc64*-*-elf*). | |
2765 | ||
850d84f6 SH |
2766 | 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de> |
2767 | ||
2768 | * configure.tgt (h8300-*-rtemscoff*): Remove. | |
2769 | (i960-*-rtems*): Likewise. | |
2770 | (m68*-*-rtemscoff*): Likewise. | |
2771 | (sh-*-rtemscoff*): Likewise. | |
2772 | ||
1a792e1c MR |
2773 | 2017-01-24 Maciej W. Rozycki <macro@imgtec.com> |
2774 | ||
2775 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not | |
2776 | add implicit version nodes if an anonymous version tag is being | |
2777 | used. | |
2778 | ||
077c11e8 JW |
2779 | 2017-01-24 Jiong Wang <jiong.wang@arm.com> |
2780 | ||
2781 | * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7", | |
2782 | "Compile 8a", "Compile 8b"... | |
2783 | (lto_compile_elf_tests): ...to here. Always run these tests. | |
2784 | (lto_run_elf_tests): Move "LTO 7"... | |
2785 | (lto_run_elf_shared_tests): ...to here. Restrict these tests on | |
2786 | environment where share library is supported. | |
2787 | ||
f0158f44 AM |
2788 | 2017-01-24 Alan Modra <amodra@gmail.com> |
2789 | ||
2790 | * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs | |
2791 | and symbols. | |
2792 | * testsuite/ld-powerpc/tlsexe.d: Likewise. | |
2793 | * testsuite/ld-powerpc/tlsexe.g: Likewise. | |
2794 | ||
2d0ca824 YN |
2795 | 2017-01-23 Yury Norov <ynorov@caviumnetworks.com> |
2796 | ||
2797 | * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests. | |
2798 | * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test. | |
2799 | * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test. | |
2800 | * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test. | |
2801 | * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test. | |
2802 | * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test. | |
2803 | * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test. | |
2804 | * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test. | |
2805 | * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test. | |
2806 | * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test. | |
2807 | * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test. | |
2808 | * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test. | |
2809 | * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test. | |
2810 | ||
8069955e NC |
2811 | 2017-01-23 Nick Clifton <nickc@redhat.com> |
2812 | ||
2813 | * po/ga.po: Updated Irish translation. | |
2814 | ||
1e5f45bb MR |
2815 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
2816 | ||
2817 | PR ld/20828 | |
2818 | * testsuite/ld-elf/pr20828.ld: Add `.plt'. | |
2819 | ||
fda46c41 MR |
2820 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
2821 | ||
2822 | PR ld/20828 | |
2823 | * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to | |
2824 | `fdata' and `edata' respectively. | |
2825 | * testsuite/ld-elf/pr20828.ver: Adjust accordingly. | |
2826 | * testsuite/ld-elf/pr20828-a.sd: Likewise. | |
2827 | * testsuite/ld-elf/pr20828-b.sd: Likewise. | |
2828 | * testsuite/ld-elf/pr20828-c.sd: Likewise. | |
2829 | ||
adcbdc63 MR |
2830 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
2831 | ||
2832 | PR ld/20828 | |
2833 | * testsuite/ld-elf/pr20828-1.sd: Remove test. | |
2834 | * testsuite/ld-elf/pr20828-a.sd: New test. | |
2835 | * testsuite/ld-elf/pr20828-2a.sd: Rename test to... | |
2836 | * testsuite/ld-elf/pr20828-b.sd: ... this. | |
2837 | * testsuite/ld-elf/pr20828-2b.sd: Rename test to... | |
2838 | * testsuite/ld-elf/pr20828-c.sd: ... this. | |
2839 | * testsuite/ld-elf/shared.exp: Adjust accordingly. | |
2840 | ||
9966f7ee JW |
2841 | 2017-01-23 Jiong Wang <jiong.wang@arm.com> |
2842 | ||
2843 | * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append | |
2844 | board_cflags as gcc is used as linker driver. | |
2845 | * testsuite/ld-unique/unique.exp: Likewise | |
2846 | ||
7f784814 JW |
2847 | 2017-01-20 Jiong Wang <jiong.wang@arm.com> |
2848 | ||
2849 | * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests. | |
2850 | * testsuite/ld-aarch64/func-in-so.s: New test source file. | |
2851 | * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise. | |
2852 | * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result. | |
2853 | ||
1737c640 AB |
2854 | 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
2855 | ||
2856 | * testsuite/ld-elf/eh-frame-hdr.d: Update expected results. | |
2857 | ||
6984613a MR |
2858 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
2859 | ||
2860 | PR ld/20995 | |
2861 | * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the | |
2862 | `mips*-*-*' target and `pr20995' and `pr20995-2' tests. | |
2863 | ||
81ff47b3 MR |
2864 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
2865 | ||
2866 | PR ld/20828 | |
2867 | * testsuite/ld-elf/pr20828-1.sd: New test. | |
2868 | * testsuite/ld-elf/pr20828-2a.sd: New test. | |
2869 | * testsuite/ld-elf/pr20828-2b.sd: New test. | |
2870 | * testsuite/ld-elf/pr20828.ld: New test linker script. | |
2871 | * testsuite/ld-elf/pr20828.ver: New test version script. | |
2872 | * testsuite/ld-elf/pr20828.s: New test source. | |
2873 | * testsuite/ld-elf/shared.exp: Run the new test. | |
2874 | ||
9e009953 MR |
2875 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
2876 | ||
2877 | PR gas/20649 | |
2878 | * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16 | |
2879 | relocation pairing link test. | |
2880 | ||
319b82e4 DD |
2881 | 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu> |
2882 | ||
2883 | * testsuite/ld-unique/unique.exp: Filter shared lib cases in | |
2884 | uniqeue.exp, as not all targets have such support. | |
2885 | ||
6aa1df2d NC |
2886 | 2017-01-16 Nick Clifton <nickc@redhat.com> |
2887 | ||
2888 | * po/sv.po: Updated Swedish translation. | |
2889 | ||
8361ed4d L |
2890 | 2017-01-12 H.J. Lu <hongjiu.lu@intel.com> |
2891 | ||
2892 | PR ld/21038 | |
2893 | * testsuite/ld-x86-64/pr21038b.d: Updated. | |
2894 | * testsuite/ld-x86-64/pr21038c.d: New file. | |
2895 | * testsuite/ld-x86-64/pr21038c.s: Likewise. | |
2896 | * testsuite/ld-x86-64/x86-64.exp: Run pr21038c. | |
2897 | ||
9e659176 L |
2898 | 2017-01-11 H.J. Lu <hongjiu.lu@intel.com> |
2899 | ||
2900 | PR ld/21038 | |
2901 | * testsuite/ld-x86-64/pr21038a.d: New file. | |
2902 | * testsuite/ld-x86-64/pr21038a.s: Likewise. | |
2903 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
2904 | * testsuite/ld-x86-64/pr21038b.s: Likewise. | |
2905 | * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b. | |
2906 | ||
f2e2d2f5 JS |
2907 | 2017-01-11 Jeremy Soller <jackpot51@gmail.com> |
2908 | ||
2909 | * configure.tgt: Add entries for x86-redox and x86_64-redox. | |
2910 | ||
52b232b3 L |
2911 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
2912 | ||
2913 | * testsuite/ld-x86-64/pr20830b.d: Updated. | |
2914 | ||
59a1e29d L |
2915 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
2916 | ||
2917 | * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New. | |
2918 | * testsuite/ld-x86-64/pr20830.d: Renamed to ... | |
2919 | * testsuite/ld-x86-64/pr20830a.d: This. Updated. | |
2920 | * testsuite/ld-x86-64/pr20830b.d: New file. | |
2921 | * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a. | |
2922 | Run pr20830b. | |
2923 | ||
fff53dae L |
2924 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
2925 | ||
2926 | PR ld/20830 | |
2927 | * testsuite/ld-i386/i386.exp: Run pr20830. | |
2928 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
2929 | * testsuite/ld-i386/pr20830.d: New file. | |
2930 | * testsuite/ld-i386/pr20830.s: Likewise. | |
2931 | * testsuite/ld-x86-64/pr20830.d: Likewise. | |
2932 | * testsuite/ld-x86-64/pr20830.s: Likewise. | |
2933 | ||
e9237227 L |
2934 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
2935 | ||
2936 | * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and | |
2937 | -Wl,--as-needed to $CC. | |
2938 | * testsuite/ld-i386/tls.exp: Likewise. | |
2939 | ||
07e8e623 NC |
2940 | 2017-01-10 Nick Clifton <nickc@redhat.com> |
2941 | ||
2942 | * po/sv.po: Updated Swedish translation. | |
2943 | ||
07ccf83c GM |
2944 | 2016-12-09 Graham Markall <graham.markall@embecosm.com> |
2945 | Andrew Burgess <andrew.burgess@embecosm.com> | |
2946 | ||
2947 | * Makefile.am: Add earclinux_nps.c target and add to | |
2948 | ALL_EMULATION_SOURCES. | |
2949 | * Makefile.in: Likewise, regenerated. | |
2950 | * configure.tgt: Add arclinux_nps as an extra emulation for | |
2951 | arc*-*-elf* and arc*-*-linux*. | |
2952 | * emulparams/arc-nps.sh: New file. | |
2953 | * emulparams/arclinux_nps.sh: New file. | |
2954 | * testsuite/ld-arc/arclinux-nps.d, | |
2955 | * testsuite/ld-arc/arclinux-nps.s: New test. | |
2956 | ||
b0556316 DP |
2957 | 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org> |
2958 | ||
2959 | PR 20958 | |
2960 | * ldlex.l (option): Add noyywrap | |
2961 | (yywrap): Delete. | |
2962 | * ldlex.h (yywrap): Delete prototype. | |
2963 | ||
47523653 AM |
2964 | 2017-01-04 Alan Modra <amodra@gmail.com> |
2965 | ||
2966 | * testsuite/ld-elf/audit.exp: Check for shared lib support. | |
2967 | * testsuite/ld-elf/compress.exp: Likewise. | |
2968 | * testsuite/ld-elf/dwarf.exp: Likewise. | |
2969 | * testsuite/ld-elf/shared.exp: Likewise. | |
2970 | * testsuite/ld-elf/wrap.exp: Likewise. | |
2971 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
2972 | * testsuite/ld-plugin/lto.exp: Check $CXX exists. | |
2973 | ||
a44d0bd7 AM |
2974 | 2017-01-03 Alan Modra <amodra@gmail.com> |
2975 | ||
2976 | * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not | |
2977 | allow test to continue after compilation errors. | |
2978 | (run_cc_link_tests): Likewise. | |
2979 | ||
27c3ce29 DD |
2980 | 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu> |
2981 | ||
2982 | * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c. | |
2983 | (epruelf.c): Remove unneeded dependencies. | |
2984 | * Makefile.in: Regenerate | |
2985 | ||
8cfc7cf8 AM |
2986 | 2017-01-03 Alan Modra <amodra@gmail.com> |
2987 | ||
2988 | * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed | |
2989 | to various tests. | |
2990 | * testsuite/ld-elfweak/elfweak.exp: Likewise. | |
2991 | * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option. | |
2992 | ||
4ce6ca2c AM |
2993 | 2017-01-03 Alan Modra <amodra@gmail.com> |
2994 | ||
2995 | * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests. | |
2996 | * testsuite/ld-pie/pie.exp: Likewise. | |
2997 | * testsuite/ld-plugin/lto.exp: Likewise. | |
2998 | ||
d9816402 AM |
2999 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3000 | ||
3001 | * Makefile.am (bootstrap): Delete rule. | |
3002 | (ld-partial, ld1, ld1-full, ld2, ld3): Likewise. | |
3003 | (HOSTING_CRT0, HOSTING_SCRT0): Don't define. | |
3004 | (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise. | |
3005 | * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define. | |
3006 | (HOSTING_LIBS, HOSTING_SLIBS): Likewise. | |
3007 | * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define. | |
3008 | * Makefile.in: Regenerate. | |
3009 | * configure: Regenerate. | |
3010 | * testsuite/config/default.exp (get_link_files): Delete. | |
3011 | (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't | |
3012 | define. | |
3013 | (ld_simple_link): Delete. | |
3014 | * testsuite/lib/ld-lib.exp (default_ld_link): Delete | |
3015 | (default_ld_simple_link): Rename to default_ld_link. | |
3016 | (ld_simple_link_defsyms): Rename to ld_link_defsyms. | |
3017 | (run_ld_link_tests): Use ld_link, not ld_simple_link. | |
3018 | (run_cc_link_tests): Likewise. | |
3019 | (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld. | |
3020 | Don't run exe when not native, and return unsupported. | |
3021 | * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs. | |
3022 | Link ld1 etc. using $CC. | |
3023 | * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC. | |
3024 | * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link. | |
3025 | * testsuite/ld-cygwin/exe-export.exp: Likewise. | |
3026 | * testsuite/ld-elf/binutils.exp: Likewise. | |
3027 | * testsuite/ld-elf/eh-group.exp: Likewise. | |
3028 | * testsuite/ld-elf/exclude.exp: Likewise. | |
3029 | * testsuite/ld-elf/frame.exp: Likewise. | |
3030 | * testsuite/ld-elf/sec-to-seg.exp: Likewise. | |
3031 | * testsuite/ld-elf/tls_common.exp: Likewise. | |
3032 | * testsuite/ld-elfcomm/elfcomm.exp: Likewise. | |
3033 | * testsuite/ld-fastcall/fastcall.exp: Likewise. | |
3034 | * testsuite/ld-gc/gc.exp: Likewise. | |
3035 | * testsuite/ld-ifunc/binutils.exp: Likewise. | |
3036 | * testsuite/ld-mep/mep.exp: Likewise. | |
3037 | * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise. | |
3038 | * testsuite/ld-mn10300/mn10300.exp: Likewise. | |
3039 | * testsuite/ld-nios2/nios2.exp: Likewise. | |
3040 | * testsuite/ld-pe/pe-compile.exp: Likewise. | |
3041 | * testsuite/ld-pe/pe-run.exp: Likewise. | |
3042 | * testsuite/ld-pe/pe-run2.exp: Likewise. | |
3043 | * testsuite/ld-plugin/plugin.exp: Likewise. | |
3044 | * testsuite/ld-scripts/align.exp: Likewise. | |
3045 | * testsuite/ld-scripts/alignof.exp: Likewise. | |
3046 | * testsuite/ld-scripts/assert.exp: Likewise. | |
3047 | * testsuite/ld-scripts/defined.exp: Likewise. | |
3048 | * testsuite/ld-scripts/extern.exp: Likewise. | |
3049 | * testsuite/ld-scripts/log2.exp: Likewise. | |
3050 | * testsuite/ld-scripts/map-address.exp: Likewise. | |
3051 | * testsuite/ld-scripts/phdrs.exp: Likewise. | |
3052 | * testsuite/ld-scripts/phdrs2.exp: Likewise. | |
3053 | * testsuite/ld-scripts/script.exp: Likewise. | |
3054 | * testsuite/ld-scripts/section-flags.exp: Likewise. | |
3055 | * testsuite/ld-scripts/sizeof.exp: Likewise. | |
3056 | * testsuite/ld-scripts/sysroot-prefix.exp: Likewise. | |
3057 | * testsuite/ld-scripts/weak.exp: Likewise. | |
3058 | * testsuite/ld-selective/selective.exp: Likewise. | |
3059 | * testsuite/ld-sh/sh.exp: Likewise. | |
3060 | * testsuite/ld-sh/sh64/relax.exp: Likewise. | |
3061 | * testsuite/ld-sh/sh64/relfail.exp: Likewise. | |
3062 | * testsuite/ld-srec/srec.exp: Likewise. | |
3063 | * testsuite/ld-tic6x/tic6x.exp: Likewise. | |
3064 | * testsuite/ld-undefined/weak-undef.exp: Likewise. | |
3065 | * testsuite/ld-versados/versados.exp: Likewise. | |
3066 | * testsuite/ld-x86-64/dwarfreloc.exp: Likewise. | |
3067 | * testsuite/ld-xtensa/coalesce.exp: Likewise. | |
3068 | * testsuite/ld-xtensa/diff_overflow.exp: Likewise. | |
3069 | * testsuite/ld-xtensa/lcall.exp: Likewise. | |
3070 | * testsuite/ld-elf/audit.exp: Run non-native too. | |
3071 | * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with | |
3072 | gcc -Wl, options. | |
3073 | * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link, | |
3074 | not ld_simple_link. Add -Wl,--no-as-needed to some tests. | |
3075 | * testsuite/ld-elf/elf.exp: Run non-native too. Formatting. | |
3076 | * testsuite/ld-elf/indirect.exp: Run non-native too. Add | |
3077 | -Wl,--no-as-needed to most tests. | |
3078 | * testsuite/ld-elf/shared.exp: Run non-native too. Use braces | |
3079 | to simplify quoting. Set run_tests using [list] rather than | |
3080 | brace assignment to expand $extralibs. Add -Wl,--no-as-needed | |
3081 | to many test. Prefix ld options with -Wl,. | |
3082 | (mix_pic_and_non_pic): Don't run exe if not native. | |
3083 | * testsuite/ld-elf/wrap.exp: Run non-native too. Add | |
3084 | -Wl,--no-as-needed and prefix ld options with -Wl,. | |
3085 | * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link, | |
3086 | not ld_simple_link. | |
3087 | * testsuite/ld-elfvsb/elfvsb.exp: Likewise. | |
3088 | (visibility_test): Don't run exe if not native. | |
3089 | * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link, | |
3090 | not ld_simple_link. | |
3091 | (build_exec): Don't run exe if not native. | |
3092 | * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link, | |
3093 | not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed | |
3094 | to some tests and prefix ld options with -Wl,. Expect GNU | |
3095 | for hppa-linux even when no ifuncs. Delete cleanup. | |
3096 | * testsuite/ld-pie/pie.exp: Run non-native too. | |
3097 | * testsuite/ld-plugin/lto.exp: Likewise. | |
3098 | * testsuite/ld-shared/shared.exp: Likewise. Use ld_link, | |
3099 | not ld_simple_link. | |
3100 | (shared_test): Don't run exe if not native. | |
3101 | * testsuite/ld-size/size.exp: Run non-native too. Add | |
3102 | -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,. | |
3103 | * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link, | |
3104 | not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed | |
3105 | to some tests and prefix ld options with -Wl,. Expect GNU | |
3106 | for hppa-linux even when no unique syms. Delete cleanup. | |
3107 | * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some | |
3108 | tests and prefix ld options with -Wl,. | |
3109 | * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link. | |
3110 | Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,. | |
3111 | ||
64859e14 AM |
3112 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3113 | ||
3114 | * emulparams/elf32metag.sh (COMMONPAGESIZE): Define. | |
3115 | ||
f5657270 AM |
3116 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3117 | ||
3118 | PR ld/21000 | |
3119 | * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define. | |
3120 | (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define. | |
3121 | * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN | |
3122 | is already defined. | |
3123 | ||
2571583a AM |
3124 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3125 | ||
3126 | Update year range in copyright notice of all files. | |
3127 | ||
5c1ad6b5 | 3128 | For older changes see ChangeLog-2016 |
3499769a | 3129 | \f |
5c1ad6b5 | 3130 | Copyright (C) 2017 Free Software Foundation, Inc. |
3499769a AM |
3131 | |
3132 | Copying and distribution of this file, with or without modification, | |
3133 | are permitted in any medium without royalty provided the copyright | |
3134 | notice and this notice are preserved. | |
3135 | ||
3136 | Local Variables: | |
3137 | mode: change-log | |
3138 | left-margin: 8 | |
3139 | fill-column: 74 | |
3140 | version-control: never | |
3141 | End: |