x86: Also check x86 linker_def for non-shared definition
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4e84a8f8
L
12019-04-17 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/24458
4 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
5 * testsuite/ld-x86-64/pr24458.s: New file.
6 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
7 * testsuite/ld-x86-64/pr24458a.d: Likewise.
8 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
9 * testsuite/ld-x86-64/pr24458b.d: Likewise.
10 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
11 * testsuite/ld-x86-64/pr24458c.d: Likewise.
12
e25de718
JL
132019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
14
15 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
16 symbol when .lower.bss or .either.bss sections exist.
17 Define __crt0_movedata when .lower.data or .either.data sections exist.
18 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
19 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
20 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
21 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
22 * testsuite/gas/msp430/msp430.exp: Run new tests.
23 Enable large code model when running -mdata-region={upper,either}
24 tests.
25
a0fb9615
AM
262019-04-16 Alan Modra <amodra@gmail.com>
27
28 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
29 * testsuite/ld-scripts/section-match-1.d: Likewise.
30 * testsuite/ld-undefined/require-defined.exp: Likewise.
31
86333705
FS
322019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
33
34 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
35 targets.
36
f6b2b12d
AV
372019-04-15 Sudakshina Das <sudi.das@arm.com>
38
39 * testsuite/ld-arm/bfcsel.s: New.
40 * testsuite/ld-arm/bfcsel.d: New.
41 * testsuite/ld-arm/arm-elf.exp: Add above test.
42
65d1bc05
AV
432019-04-15 Sudakshina Das <sudi.das@arm.com>
44
45 * testsuite/ld-arm/bfl.s: New.
46 * testsuite/ld-arm/bfl.d: New.
47 * testsuite/ld-arm/arm-elf.exp: Add above test.
48
4389b29a
AV
492019-04-15 Sudakshina Das <sudi.das@arm.com>
50
51 * testsuite/ld-arm/bf.s: New.
52 * testsuite/ld-arm/bf.d: New.
53 * testsuite/ld-arm/arm-elf.exp: Add above test.
54
031254f2
AV
552019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
56
57 * testsuite/ld-arm/attr-merge-13.attr: New test.
58 * testsuite/ld-arm/attr-merge-13a.s: New test.
59 * testsuite/ld-arm/attr-merge-13b.s: New test.
60
c40e31a1
AM
612019-04-13 Alan Modra <amodra@gmail.com>
62
63 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
64 DEPDIR parameter.
65 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
66 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
67 $GEN_DEPENDS.
68 (e*.c): Delete all dependencies, instead include dependencies
69 from $DEPDIR/*.Pc.
70 * Makefile.in: Regenerate.
71 * configure.ac (source_sh): Define and use function.
72 * configure: Regenerate.
73 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
74 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
75 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
76 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
77 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
78 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
79 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
80 * emulparams/armelf_linux_eabi.sh,
81 * emulparams/armelf_linux_fdpiceabi.sh,
82 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
83 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
84 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
85 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
86 * emulparams/armelfb_linux_fdpiceabi.sh,
87 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
88 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
89 * emulparams/elf32_sparc_sol2.sh,
90 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
91 * emulparams/elf32_tic6x_elf_be.sh,
92 * emulparams/elf32_tic6x_elf_le.sh,
93 * emulparams/elf32_tic6x_linux_be.sh,
94 * emulparams/elf32_tic6x_linux_le.sh,
95 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
96 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
97 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
98 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
99 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
100 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
101 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
102 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
103 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
104 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
105 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
106 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
107 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
108 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
109 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
110 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
111 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
112 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
113 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
114 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
115 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
116 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
117 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
118 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
119 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
120 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
121 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
122 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
123 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
124 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
125 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
126 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
127 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
128 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
129 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
130 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
131 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
132 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
133 * emulparams/elf_x86_64_cloudabi.sh,
134 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
135 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
136 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
137 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
138 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
139 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
140 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
141 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
142 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
143 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
144 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
145 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
146 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
147 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
148 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
149 * emulparams/shl.sh, * emulparams/shlelf.sh,
150 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
151 * emulparams/shlelf_vxworks.sh: Use source_sh.
152 * genscripts.sh: Adjust for changed parameters. Emit dependencies
153 for e*.c to .deps/*.Pc.
154 (source_sh): New function, use it throughout to source scripts.
155 * genscrba.sh (source_em): Use source_sh.
156
50ff67e6
AM
1572019-04-13 Alan Modra <amodra@gmail.com>
158
159 * configure.ac (TDIRS): Build up tdirs in this variable and
160 AC_SUBST, also using AM_SUBST_NOTMAKE.
161 * configure: Regenerate.
162 * Makefile.am (DISTCLEANFILES): Remove tdirs.
163 * Makefile.in: Regenerate.
164
3bbec4bd
NC
1652019-04-12 Nick Clifton <nickc@redhat.com>
166
167 PR 24450
168 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
169 example of section attributes.
170
035801ce
FS
1712019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
172
173 * NEWS: Mention new option --no-print-map-discarded.
174 * ld.h (ld_config_type) <print_map_discarded>: New field.
175 * ldlang.c (lang_map): Conditionally output discarded sections
176 in map files based on configuration option.
177 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
178 OPTION_NO_PRINT_MAP_DISCARDED>: New.
179 * ldmain.c (main): Enabled print_map_discarded by default.
180 * lexsup.c (ld_options): Add new command-line options.
181 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
182 OPTION_PRINT_MAP_DISCARDED>: New cases.
183 * ld.texi: Document new options.
184 * testsuite/ld-gc/gc.exp: Add new test.
185 * testsuite/ld-gc/skip-map-discarded.s: New file.
186 * testsuite/ld-gc/skip-map-discarded.d: New file.
187 * testsuite/ld-gc/skip-map-discarded.map: New file.
188
233a0083
L
1892019-04-11 H.J. Lu <hongjiu.lu@intel.com>
190
191 * ld.texi: Document -z cet-report=[none|warning|error].
192 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
193 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
194 tests.
195 * testsuite/ld-x86-64/x86-64.exp: Likewise.
196 * testsuite/ld-i386/property-x86-cet1.d: New file.
197 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
198 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
199 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
200 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
201 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
202 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
203 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
204 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
205 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
206 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
207 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
208 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
209 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
210 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
211 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
212 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
213 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
214 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
215 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
216 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
217 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
218 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
219 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
220 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
221 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
222 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
223 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
224 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
225 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
226 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
227
b3d7a867
L
2282019-04-11 H.J. Lu <hongjiu.lu@intel.com>
229
230 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
231 to "-static-pie" if target compiler supports it.
232 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
233 $STATIC_PIE_LDFLAGS isn't empty.
234 * testsuite/ld-ifunc/ifunc.exp: Likewise.
235
ce12121b
TC
2362019-04-11 Tamar Christina <tamar.christina@arm.com>
237
238 PR ld/24302
239 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
240 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
241
795e3bb7
L
2422019-04-10 H.J. Lu <hongjiu.lu@intel.com>
243
244 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
245 CREATE_PIE.
246 (__rel_iplt_start): Don't define for CREATE_PIC.
247 (__rel_iplt_end): Likewise.
248 (__rela_iplt_start): Likewise.
249 (__rela_iplt_end): Likewise.
250
e6aded7c
AM
2512019-04-10 Alan Modra <amodra@gmail.com>
252
253 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
254 powerpc-nto.
255
53b81c6d
AM
2562019-04-10 Alan Modra <amodra@gmail.com>
257
258 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
259 setting use_branch_stub false for linux.
260 (csky_elf_create_output_section_statements): Do emit this
261 function and all others in the file for linux, plus the branch
262 option control. Disable branch stubs when non-ELF.
263
c55b17b8
AM
2642019-04-10 Alan Modra <amodra@gmail.com>
265
266 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
267 (ecskyelf_linux.c): Depend on cskyelf.sh.
268 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
269 * Makefile.in: Regenerate.
270 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
271 (PAGE_SIZE): Don't define.
272 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
273 the differing variable defs/undefs.
274 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
275 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
276 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
277 (PAGE_SIZE): Don't define.
278 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
279 leaving just the differing OUTPUT_FORMAT.
280
6feda627
AM
2812019-04-10 Alan Modra <amodra@gmail.com>
282
283 * po/BLD-POTFILES.in: Regenerate.
284
c93c0e7f
L
2852019-04-08 H.J. Lu <hongjiu.lu@intel.com>
286
287 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
288 lynxos and nto targets.
289
3ae61bb6
L
2902019-04-08 H.J. Lu <hongjiu.lu@intel.com>
291
292 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
293 (eelf_i386_chaos.c): Removed.
294 * Makefile.in: Regenerated.
295 * configure.tgt: Remove i[3-7]86-*-kaos*.
296 * emulparams/elf_i386_chaos.sh: Removed.
297
da9b5f7b
L
2982019-04-08 H.J. Lu <hongjiu.lu@intel.com>
299
300 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
301 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
302
d970ee2b
AM
3032019-04-08 Alan Modra <amodra@gmail.com>
304
305 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
306 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
307 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
308
5b9c07b2
L
3092019-04-06 H.J. Lu <hongjiu.lu@intel.com>
310
311 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
312 (eelf_i386_sol2.c): Also depend on
313 $(srcdir)/emultempl/solaris2-x86.em.
314 (eelf_x86_64_sol2.c): Likewise.
315 * Makefile.in: Regenerated.
316 * emulparams/call_nop.sh: Set x86-specific linker options via
317 params.
318 * emulparams/cet.sh: Likewise.
319 * emulparams/reloc_overflow.sh: Likewise.
320 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
321 "elf-x86".
322 * emulparams/elf_i386.sh: Likewise.
323 * emulparams/elf_i386_be.sh: Likewise.
324 * emulparams/elf_i386_chaos.sh: Likewise.
325 * emulparams/elf_i386_ldso.sh: Likewise.
326 * emulparams/elf_i386_vxworks.sh: Likewise.
327 * emulparams/elf_iamcu.sh: Likewise.
328 * emulparams/elf_k1om.sh: Likewise.
329 * emulparams/elf_l1om.sh: Likewise.
330 * emulparams/elf_x86_64.sh: Likewise.
331 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
332 "solaris2-x86".
333 * emulparams/elf_x86_64_sol2.sh: Likewise.
334 * emultempl/elf-x86.em: New file.
335 * emultempl/solaris2-x86.em: Likewise.
336 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
337 set link_info.call_nop_byte.
338
c2b1c275
AM
3392019-04-05 Alan Modra <amodra@gmail.com>
340
341 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
342 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
343 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
344
1c6aafe8
AM
3452019-04-03 Alan Modra <amodra@gmail.com>
346
347 PR 24411
348 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
349 (<EXPRESSION>"/DISCARD/"): New.
350
092da96a
AM
3512019-04-03 Alan Modra <amodra@gmail.com>
352
353 * ldlex.l: Formatting.
354 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
355 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
356 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
357 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
358 (<INPUTLIST>"$SYSROOT"..): Delete rule.
359
2487ef07
MF
3602019-03-29 Max Filippov <jcmvbkbc@gmail.com>
361
362 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
363 test definition.
364 * testsuite/ld-xtensa/xtensa.exp
365 (relax-undef-weak-pie-export-dynamic): Add new test.
366
7ea79cb3 3672019-03-26 Martin Liska <mliska@suse.cz>
368
369 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
370 lto_visibility_str and use then to inform about plugin-symbols.
371 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
372
796d6298
TC
3732019-03-25 Tamar Christina <tamar.christina@arm.com>
374
375 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
376 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
377
4e539114
SD
3782019-03-21 Sudakshina Das <sudi.das@arm.com>
379
380 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
381 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
382 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
383 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
384 * testsuite/ld-aarch64/bti-warn.d: New test.
385
f84bd465
AM
3862019-03-21 Alan Modra <amodra@gmail.com>
387
388 * testsuite/ld-elf/fini2.s: Reduce alignment.
389 * testsuite/ld-elf/fini3.s: Likewise.
390 * testsuite/ld-elf/finin.s: Likewise.
391 * testsuite/ld-elf/init2.s: Likewise.
392 * testsuite/ld-elf/init3.s: Likewise.
393 * testsuite/ld-elf/initn.s: Likewise.
394 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
395 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
396
2d3181c7
AM
3972019-03-21 Alan Modra <amodra@gmail.com>
398
399 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
400 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
401 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
402 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
403 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
404 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
405 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
406 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
407 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
408 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
409 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
410 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
411 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
412 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
413 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
414 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
415 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
416 SORT_NONE to .init and .fini wildcards.
417 * scripttempl/elf32xc16x.sc,
418 * scripttempl/elf32xc16xl.sc,
419 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
420 * scripttempl/elf_chaos.sc: Add .init output section.
421 * scripttempl/elfd30v.sc: Remove duplicate .init.
422 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
423 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
424 duplicate .init, and add .fini wildcard.
425 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
426 * ldlang.c (update_wild_statements): Special case .init and
427 .fini in the wildcard, not the output section.
428
980a2e42
AM
4292019-03-21 Alan Modra <amodra@gmail.com>
430
431 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
432
3b6c1966
AM
4332019-03-21 Alan Modra <amodra@gmail.com>
434
435 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
436 create_object_symbols_section.
437 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
438
28a66f07
AM
4392019-03-18 Alan Modra <amodra@gmail.com>
440
441 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
442 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
443 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
444 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
445
1c82ed74
NC
4462019-03-15 Nick Clifton <nickc@redhat.com>
447
448 PR 24262
449 * ld.texi (-plugin): Correct the path used to locate linker
450 plugins.
451
1dbade74
SD
4522019-03-13 Sudakshina Das <sudi.das@arm.com>
453
454 * NEWS: Document --pac-plt.
455 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
456 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
457 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
458 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
459 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
460 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
461 * testsuite/ld-aarch64/pac-plt-1.d: New test.
462 * testsuite/ld-aarch64/pac-plt-2.d: New test.
463 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
464
37c18eed
SD
4652019-03-13 Sudakshina Das <sudi.das@arm.com>
466 Szabolcs Nagy <szabolcs.nagy@arm.com>
467
468 * NEWS: Document --force-bti.
469 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
470 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
471 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
472 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
473 * testsuite/ld-aarch64/bti-plt-1.d: New test.
474 * testsuite/ld-aarch64/bti-plt-1.s: New test.
475 * testsuite/ld-aarch64/bti-plt-2.d: New test.
476 * testsuite/ld-aarch64/bti-plt-3.d: New test.
477 * testsuite/ld-aarch64/bti-plt-4.d: New test.
478 * testsuite/ld-aarch64/bti-plt-5.d: New test.
479 * testsuite/ld-aarch64/bti-plt-6.d: New test.
480 * testsuite/ld-aarch64/bti-plt-7.d: New test.
481 * testsuite/ld-aarch64/bti-plt-so.s: New test.
482 * testsuite/ld-aarch64/bti-plt.ld: New test.
483
cd702818
SD
4842019-03-13 Sudakshina Das <sudi.das@arm.com>
485
486 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
487 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
488 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
489 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
490 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
491 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
492 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
493 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
494
44b27f95
L
4952019-03-13 H.J. Lu <hongjiu.lu@intel.com>
496
497 PR ld/24322
498 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
499 * testsuite/ld-x86-64/x86-64.exp: Likewise.
500 * testsuite/ld-i386/pr24322a.d: New file.
501 * testsuite/ld-i386/pr24322b.d: Likewise.
502 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
503 * testsuite/ld-x86-64/pr24322a.d: Likewise.
504 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
505 * testsuite/ld-x86-64/pr24322b.d: Likewise.
506 * testsuite/ld-x86-64/pr24322a.s: Likewise.
507 * testsuite/ld-x86-64/pr24322b.s: Likewise.
508 * testsuite/ld-x86-64/pr24322c.s: Likewise.
509
912ebfa0
NB
5102019-03-06 Nick Bowler <nbowler@draconx.ca>
511
512 PR 24289
513 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
514 attributes during the first phase.
515
24801b15
AK
5162019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
517
518 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
519 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
520
521 PR 20113
522 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
523 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
524 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
525 * testsuite/ld-s390/tlsbin.dd: Likewise.
526 * testsuite/ld-s390/tlsbin.rd: Likewise.
527 * testsuite/ld-s390/tlsbin.sd: Likewise.
528 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
529 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
530 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
531 * testsuite/ld-s390/tlspic.dd: Likewise.
532 * testsuite/ld-s390/tlspic.rd: Likewise.
533 * testsuite/ld-s390/tlspic.sd: Likewise.
534 * testsuite/ld-s390/tlspic_64.dd: Likewise.
535 * testsuite/ld-s390/tlspic_64.rd: Likewise.
536 * testsuite/ld-s390/tlspic_64.sd: Likewise.
537 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
538
5cfe428c
L
5392019-02-27 H.J. Lu <hongjiu.lu@intel.com>
540
541 PR ld/24276
542 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
543 * testsuite/ld-x86-64/x86-64.exp: Likewise.
544 * testsuite/ld-i386/pr24276.dso: New file.
545 * testsuite/ld-i386/pr24276.warn: Likewise.
546 * testsuite/ld-x86-64/pr24276.dso: Likewise.
547 * testsuite/ld-x86-64/pr24276.warn: Likewise.
548
eed62915
MF
5492019-02-20 Eric Tsai <erictsai@cadence.com>
550
551 * testsuite/ld-xtensa/call_overflow.d: New test definition.
552 * testsuite/ld-xtensa/call_overflow1.s: New test source.
553 * testsuite/ld-xtensa/call_overflow2.s: New test source.
554 * testsuite/ld-xtensa/call_overflow3.s: New test source.
555 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
556
abc163a4
TS
5572019-02-14 Thomas Schwinge <thomas@codesourcery.com>
558
559 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
560
e4865945
NC
5612019-02-12 Nick Clifton <nickc@redhat.com>
562
563 * po/fr.po: Updated French translation.
564
a0e90a73
CZ
5652019-02-09 Vineet Gupta <vgupta@synopsys.com>
566
567 * emultempl/arclinux.em: Delete special INIT/FINI handling.
568
5d3db3e2
NC
5692019-02-07 Nick Clifton <nickc@redhat.com>
570
571 PR 24175
572 * ld.texi (Options): Add missing word to the description of the
573 --start-group option.
574
4249a53c
AM
5752019-02-06 Alan Modra <amodra@gmail.com>
576
577 PR ld/24008
578 * testsuite/ld-scripts/pr24008.d: Pass with extra target
579 defined symbols.
580
83924b38
L
5812019-02-05 H.J. Lu <hongjiu.lu@intel.com>
582
583 PR ld/24151
584 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
585 * testsuite/ld-x86-64/pr24151a.d: Likewise.
586 * testsuite/ld-x86-64/pr24151a.s: Likewise.
587 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
588
4f4690cd
AM
5892019-01-31 Alan Modra <amodra@gmail.com>
590
591 * NEWS: Mention -t change.
592 * ld.texi (--trace/-t): Expand documentation a little.
593
ad0f979c
L
5942019-01-29 H.J. Lu <hongjiu.lu@intel.com>
595
596 PR ld/24008
597 * testsuite/ld-scripts/defined.exp: Run pr24008.
598 * testsuite/ld-scripts/pr24008.d: New file.
599 * testsuite/ld-scripts/pr24008.map: Likewise.
600 * testsuite/ld-scripts/pr24008.s: Likewise.
601 * testsuite/ld-scripts/pr24008.t: Likewise.
602
c49829c3
EB
6032019-01-29 Eric Botcazou <ebotcazou@adacore.com>
604
605 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
606
6a846243
AM
6072019-01-28 Alan Modra <amodra@gmail.com>
608
609 PR 24008
610 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
611 * ldexp.c (fold_name): Move expld.assign_name check later to
612 avoid an extra lookup.
613 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
614 values, and don't clear expld.assign_name.
615 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
616 (print_assignment): Resolve entire assignment expression.
617 Don't access symbol u.def unless symbol is defined.
618
9ed1348c
NC
6192019-01-25 Nick Clifton <nickc@redhat.com>
620
621 * po/bg.po: Updated Bulgarian translation.
622
6406a270
SH
6232019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
624
625 * ld.texi (--wrap): Add warning that LTO may make this feature
626 ineffective.
627
375cd423
NC
6282019-01-21 Nick Clifton <nickc@redhat.com>
629
630 * po/uk.po: Updated Ukranian translation.
a6c9b404 631 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 632
acef8081
YC
6332019-01-21 Nick Clifton <nickc@redhat.com>
634
635 PR 24108
636 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
637 expected error message.
638
f48dfe41
NC
6392019-01-19 Nick Clifton <nickc@redhat.com>
640
641 * configure: Regenerate.
642 * po/ld.pot: Regenerate.
643
f974f26c
NC
6442018-06-24 Nick Clifton <nickc@redhat.com>
645
646 2.32 branch created.
647
7d7a7d7c
JW
6482019-01-16 Kito Cheng <kito@andestech.com>
649
650 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
651 section.
652 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
653 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
654 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
655 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
656 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
657 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
658 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
659 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
660 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
661 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
662 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
663 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
664 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
665 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
666 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
667 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
668 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
669 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
670 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
671 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
672 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
673 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
674 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
675 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
676 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
677 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
678 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
679 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
680 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
681 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
682 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
683 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
684 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
685 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
686 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
687 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
688 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
689
5a12586d
MT
6902019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
691
f466c305 692 PR 20113
5a12586d
MT
693 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
694 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
695 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
696 * testsuite/ld-s390/tlsbin.dd: Likewise.
697 * testsuite/ld-s390/tlsbin.rd: Likewise.
698 * testsuite/ld-s390/tlsbin.sd: Likewise.
699 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
700 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
701 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
702 * testsuite/ld-s390/tlspic.dd: Likewise.
703 * testsuite/ld-s390/tlspic.rd: Likewise.
704 * testsuite/ld-s390/tlspic.sd: Likewise.
705 * testsuite/ld-s390/tlspic_64.dd: Likewise.
706 * testsuite/ld-s390/tlspic_64.rd: Likewise.
707 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 708 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 709
4ea904ed
SH
7102019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
711
712 * ld.texi (--wrap): Add example to emphasise that only undefined
713 references are replaced by the linker.
714
8379fac6
NC
7152019-01-09 Nick Clifton <nickc@redhat.com>
716
717 * po/es.po: Updated Spanish translation.
718
3107326d
AP
7192019-01-09 Andrew Paprocki <andrew@ishiboo.com>
720
721 * configure: Regenerate.
722
171b8e19
AM
7232019-01-08 Alan Modra <amodra@gmail.com>
724
725 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
726 generated source file names.
727 * testsuite/ld-m68k/m68k-got.exp: Likewise.
728
82704155
AM
7292019-01-01 Alan Modra <amodra@gmail.com>
730
731 Update year range in copyright notice of all files.
732
d5c04e1b 733For older changes see ChangeLog-2018
3499769a 734\f
d5c04e1b 735Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
736
737Copying and distribution of this file, with or without modification,
738are permitted in any medium without royalty provided the copyright
739notice and this notice are preserved.
740
741Local Variables:
742mode: change-log
743left-margin: 8
744fill-column: 74
745version-control: never
746End:
This page took 0.213403 seconds and 4 git commands to generate.