summaryrefslogtreecommitdiff
path: root/ld/ChangeLog
blob: d9db80e5b4a97d0db22ba1b47a15017fc942eac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
2017-09-27  Alan Modra  <amodra@gmail.com>

	Apply from master
	2017-05-16  Alan Modra  <amodra@gmail.com>
	* plugin.c: Rename occurrences of non_ir_ref.

	2017-05-16  Alan Modra  <amodra@gmail.com>
	* plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic.
	(plugin_notice): Set non_ir_ref for references from regular
	objects, non_ir_ref_dynamic for references from dynamic objects.

	2017-04-20  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/21382
	* plugin.c (is_visible_from_outside): Symbol may be visible
	from outside if dynamic_ref_after_ir_def is set.
	(plugin_notice): Set dynamic_ref_after_ir_def if the symbol is
	defined in an IR object and referenced in a dynamic object.
	* testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests.
	* testsuite/ld-plugin/pr21382a.c: New file.
	* testsuite/ld-plugin/pr21382b.c: Likewise.

	2017-01-24  Jiong Wang  <jiong.wang@arm.com>
	* testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
	"Compile 8a", "Compile 8b"...
	(lto_compile_elf_tests): ...to here.  Always run these tests.
	(lto_run_elf_tests): Move "LTO 7"...
	(lto_run_elf_shared_tests): ...to here.  Restrict these tests on
	environment where share library is supported.

2017-08-30  Maciej W. Rozycki  <macro@imgtec.com>

	* testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.

2017-07-25  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

2017-07-25  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

2017-06-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	Backport from mainline
	2017-05-08  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* testsuite/ld-arm/arm-elf.exp
	(Secure gateway import library generation): Check e_type field
	of import library and executable produced.
	* testsuite/ld-arm/cmse-implib.type: Expectations for e_type field.

2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>

	* emulparams/call_nop.sh: Remove -z prefix-nop.
	* ld.texinfo: Likewise.
	* testsuite/ld-i386/call3c.d: Check for linker error.
	* testsuite/ld-x86-64/call1c.d: Likewise.

2017-05-31  Alan Modra  <amodra@gmail.com>

	* emultempl/ppc64elf.em (plt-static-chain help): Fix quoting.

2017-05-18  Alan Modra  <amodra@gmail.com>

	Apply from master
	2017-03-13  Alexey Neyman  <stilor@att.net>
	* emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
	cpu, not host.

2017-04-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	PR ld/21404
	* testsuite/ld-avr/pr21404-1.d: New test.
	* testsuite/ld-avr/pr21404-1.s: New test.
	* testsuite/ld-avr/pr21404-2.d: New test.
	* testsuite/ld-avr/pr21404-2.s: New test.
	* testsuite/ld-avr/pr21404-3.d: New test.
	* testsuite/ld-avr/pr21404-3.s: New test.
	* testsuite/ld-avr/pr21404-4.d: New test.
	* testsuite/ld-avr/pr21404-4.s: New test.
	* testsuite/ld-avr/pr21404-5.d: New test.
	* testsuite/ld-avr/pr21404-5.s: New test.
	* testsuite/ld-avr/pr21404-6.d: New test.
	* testsuite/ld-avr/pr21404-6.s: New test.
	* testsuite/ld-avr/pr21404-7.d: New test.
	* testsuite/ld-avr/pr21404-7.s: New test.
	* testsuite/ld-avr/pr21404-8.d: New test.
	* testsuite/ld-avr/pr21404-8.s: New test.

2017-04-24  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/20815
	* testsuite/ld-i386/vxworks2.sd: Add space for program headers.

2017-03-28  Hans-Peter Nilsson  <hp@axis.com>

	PR ld/16044
	* testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
	testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.

2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/19579
	PR ld/21306
	* testsuite/ld-elf/pr19579a.c (main): Updated.

2017-04-05  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/21233
	* ldlang.c (insert_undefined): Set `mark' for ELF symbols.

2017-03-07  Alan Modra  <amodra@gmail.com>

	* ldlang.c (open_input_bfds): Check that lang_assignment_statement
	is not an assert before referencing defsym.

2017-03-02  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

2017-03-02  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

2017-02-28  Alan Modra  <amodra@gmail.com>

	* testsuite/ld-elf/merge.d: xfail for nios.

2017-02-28  Alan Modra  <amodra@gmail.com>

	* testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
	limits of addpcis range.

2017-02-23  Alan Modra  <amodra@gmail.com>

	PR 20744
	* testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
	each group.
	* testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
	and sdarel reloc fix.

2017-02-16  Alan Modra  <amodra@gmail.com>

	* testsuite/ld-unique/unique.exp: xfail two tests for hppa.

2017-02-16  Alan Modra  <amodra@gmail.com>

	* testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
	from void pointers to function pointers.
	* testsuite/ld-elf/pr18718.c: Update to suit.
	* testsuite/ld-elf/pr18720a.c: Update to suit.

2017-02-16  Alan Modra  <amodra@gmail.com>

	PR 21000
	* testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
	* testsuite/ld-elf/loadaddr2.d: Likewise.
	* testsuite/ld-elf/loadaddr3a.d: Likewise.
	* testsuite/ld-scripts/rgn-at5.d: Likewise.

2017-02-16  Alan Modra  <amodra@gmail.com>

	* testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
	* testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.

2017-02-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/21168
	* testsuite/ld-i386/i386.exp: Run pr21168.
	* testsuite/ld-i386/pr21168a.c: New file.
	* testsuite/ld-i386/pr21168b.S: Likewise.

2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>

	* emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
	_gp to __global_pointer$

2017-02-03  Alan Modra  <amodra@gmail.com>

	PR ld/21000
	* emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
	(DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
	* scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
	is already defined.

2017-02-02  Hans-Peter Nilsson  <hp@axis.com>

	PR binutils/19935
	Fix long-standing buglet and fallout from now-default initfini-array.
	* emulparams/criself.sh (USER_LABEL_PREFIX): Define.
	(OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.

2017-02-01  Maciej W. Rozycki  <macro@imgtec.com>

	* testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
	presentation of relocation addends.
	* testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
	* testsuite/ld-mips-elf/vxworks1.dd: Likewise.
	* testsuite/ld-mips-elf/vxworks1.rd: Likewise.

2017-02-01  Maciej W. Rozycki  <macro@imgtec.com>

	* testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
	in `.tdata' section.
	* testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
	* testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.

2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>

	* emultempl/mipself.em (ignore_branch_isa): New variable.
	(mips_create_output_section_statements): Rename
	`_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
	add `ignore_branch_isa' argument.
	(PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA enum values.
	(PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
	"no-ignore-branch-isa" options.
	(PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
	`--no-ignore-branch-isa'.
	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA.

	* ld.texinfo (Options specific to MIPS targets): Add
	`--ignore-branch-isa' and `--no-ignore-branch-isa' options.
	(ld and the MIPS family): Likewise.

	* testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
	test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
	test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.

2017-01-24  Maciej W. Rozycki  <macro@imgtec.com>

	* emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
	add implicit version nodes if an anonymous version tag is being
	used.

2017-01-23  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/20828
	* testsuite/ld-elf/pr20828.ld: Add `.plt'.

2017-01-23  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/20828
	* testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
	`fdata' and `edata' respectively.
	* testsuite/ld-elf/pr20828.ver: Adjust accordingly.
	* testsuite/ld-elf/pr20828-a.sd: Likewise.
	* testsuite/ld-elf/pr20828-b.sd: Likewise.
	* testsuite/ld-elf/pr20828-c.sd: Likewise.

2017-01-23  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/20828
	* testsuite/ld-elf/pr20828-1.sd: Remove test.
	* testsuite/ld-elf/pr20828-a.sd: New test.
	* testsuite/ld-elf/pr20828-2a.sd: Rename test to...
	* testsuite/ld-elf/pr20828-b.sd: ... this.
	* testsuite/ld-elf/pr20828-2b.sd: Rename test to...
	* testsuite/ld-elf/pr20828-c.sd: ... this.
	* testsuite/ld-elf/shared.exp: Adjust accordingly.

2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/20995
	* testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
	`mips*-*-*' target and `pr20995' and `pr20995-2' tests.

2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>

	PR ld/20828
	* testsuite/ld-elf/pr20828-1.sd: New test.
	* testsuite/ld-elf/pr20828-2a.sd: New test.
	* testsuite/ld-elf/pr20828-2b.sd: New test.
	* testsuite/ld-elf/pr20828.ld: New test linker script.
	* testsuite/ld-elf/pr20828.ver: New test version script.
	* testsuite/ld-elf/pr20828.s: New test source.
	* testsuite/ld-elf/shared.exp: Run the new test.

2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>

	PR gas/20649
	* testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
	relocation pairing link test.

2017-01-18  Bernhard Rosenkranzer  <bero@lindev.ch>

	PR 21059
	* ldlex.l: Support processing with flex 2.6.3.

2017-01-13  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from master
	2017-01-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/21038
	* testsuite/ld-x86-64/pr21038b.d: Updated.
	* testsuite/ld-x86-64/pr21038c.d: New file.
	* testsuite/ld-x86-64/pr21038c.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr21038c.

	2017-01-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/21038
	* testsuite/ld-x86-64/pr21038a.d: New file.
	* testsuite/ld-x86-64/pr21038a.s: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.

2017-01-13  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from master
	2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>

	* testsuite/ld-x86-64/pr20830b.d: Updated.

	2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>

	* emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
	* testsuite/ld-x86-64/pr20830.d: Renamed to ...
	* testsuite/ld-x86-64/pr20830a.d: This.  Updated.
	* testsuite/ld-x86-64/pr20830b.d: New file.
	* testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
	Run pr20830b.

	2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/20830
	* testsuite/ld-i386/i386.exp: Run pr20830.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr20830.d: New file.
	* testsuite/ld-i386/pr20830.s: Likewise.
	* testsuite/ld-x86-64/pr20830.d: Likewise.
	* testsuite/ld-x86-64/pr20830.s: Likewise.

2017-01-02  Alan Modra  <amodra@gmail.com>

	Update year range in copyright notice of all files.

For older changes see ChangeLog-2016

Copyright (C) 2017 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: