Skip linker tests for unique symbols in shared libraries if the target does not suppo...
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
2
3 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
4 uniqeue.exp, as not all targets have such support.
5
6 2017-01-16 Nick Clifton <nickc@redhat.com>
7
8 * po/sv.po: Updated Swedish translation.
9
10 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
11
12 PR ld/21038
13 * testsuite/ld-x86-64/pr21038b.d: Updated.
14 * testsuite/ld-x86-64/pr21038c.d: New file.
15 * testsuite/ld-x86-64/pr21038c.s: Likewise.
16 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
17
18 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
19
20 PR ld/21038
21 * testsuite/ld-x86-64/pr21038a.d: New file.
22 * testsuite/ld-x86-64/pr21038a.s: Likewise.
23 * testsuite/ld-x86-64/pr21038b.d: Likewise.
24 * testsuite/ld-x86-64/pr21038b.s: Likewise.
25 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
26
27 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
28
29 * configure.tgt: Add entries for x86-redox and x86_64-redox.
30
31 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
32
33 * testsuite/ld-x86-64/pr20830b.d: Updated.
34
35 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
36
37 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
38 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
39 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
40 * testsuite/ld-x86-64/pr20830b.d: New file.
41 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
42 Run pr20830b.
43
44 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR ld/20830
47 * testsuite/ld-i386/i386.exp: Run pr20830.
48 * testsuite/ld-x86-64/x86-64.exp: Likewise.
49 * testsuite/ld-i386/pr20830.d: New file.
50 * testsuite/ld-i386/pr20830.s: Likewise.
51 * testsuite/ld-x86-64/pr20830.d: Likewise.
52 * testsuite/ld-x86-64/pr20830.s: Likewise.
53
54 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
55
56 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
57 -Wl,--as-needed to $CC.
58 * testsuite/ld-i386/tls.exp: Likewise.
59
60 2017-01-10 Nick Clifton <nickc@redhat.com>
61
62 * po/sv.po: Updated Swedish translation.
63
64 2016-12-09 Graham Markall <graham.markall@embecosm.com>
65 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * Makefile.am: Add earclinux_nps.c target and add to
68 ALL_EMULATION_SOURCES.
69 * Makefile.in: Likewise, regenerated.
70 * configure.tgt: Add arclinux_nps as an extra emulation for
71 arc*-*-elf* and arc*-*-linux*.
72 * emulparams/arc-nps.sh: New file.
73 * emulparams/arclinux_nps.sh: New file.
74 * testsuite/ld-arc/arclinux-nps.d,
75 * testsuite/ld-arc/arclinux-nps.s: New test.
76
77 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
78
79 PR 20958
80 * ldlex.l (option): Add noyywrap
81 (yywrap): Delete.
82 * ldlex.h (yywrap): Delete prototype.
83
84 2017-01-04 Alan Modra <amodra@gmail.com>
85
86 * testsuite/ld-elf/audit.exp: Check for shared lib support.
87 * testsuite/ld-elf/compress.exp: Likewise.
88 * testsuite/ld-elf/dwarf.exp: Likewise.
89 * testsuite/ld-elf/shared.exp: Likewise.
90 * testsuite/ld-elf/wrap.exp: Likewise.
91 * testsuite/ld-ifunc/ifunc.exp: Likewise.
92 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
93
94 2017-01-03 Alan Modra <amodra@gmail.com>
95
96 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
97 allow test to continue after compilation errors.
98 (run_cc_link_tests): Likewise.
99
100 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
101
102 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
103 (epruelf.c): Remove unneeded dependencies.
104 * Makefile.in: Regenerate
105
106 2017-01-03 Alan Modra <amodra@gmail.com>
107
108 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
109 to various tests.
110 * testsuite/ld-elfweak/elfweak.exp: Likewise.
111 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
112
113 2017-01-03 Alan Modra <amodra@gmail.com>
114
115 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
116 * testsuite/ld-pie/pie.exp: Likewise.
117 * testsuite/ld-plugin/lto.exp: Likewise.
118
119 2017-01-02 Alan Modra <amodra@gmail.com>
120
121 * Makefile.am (bootstrap): Delete rule.
122 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
123 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
124 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
125 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
126 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
127 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
128 * Makefile.in: Regenerate.
129 * configure: Regenerate.
130 * testsuite/config/default.exp (get_link_files): Delete.
131 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
132 define.
133 (ld_simple_link): Delete.
134 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
135 (default_ld_simple_link): Rename to default_ld_link.
136 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
137 (run_ld_link_tests): Use ld_link, not ld_simple_link.
138 (run_cc_link_tests): Likewise.
139 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
140 Don't run exe when not native, and return unsupported.
141 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
142 Link ld1 etc. using $CC.
143 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
144 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
145 * testsuite/ld-cygwin/exe-export.exp: Likewise.
146 * testsuite/ld-elf/binutils.exp: Likewise.
147 * testsuite/ld-elf/eh-group.exp: Likewise.
148 * testsuite/ld-elf/exclude.exp: Likewise.
149 * testsuite/ld-elf/frame.exp: Likewise.
150 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
151 * testsuite/ld-elf/tls_common.exp: Likewise.
152 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
153 * testsuite/ld-fastcall/fastcall.exp: Likewise.
154 * testsuite/ld-gc/gc.exp: Likewise.
155 * testsuite/ld-ifunc/binutils.exp: Likewise.
156 * testsuite/ld-mep/mep.exp: Likewise.
157 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
158 * testsuite/ld-mn10300/mn10300.exp: Likewise.
159 * testsuite/ld-nios2/nios2.exp: Likewise.
160 * testsuite/ld-pe/pe-compile.exp: Likewise.
161 * testsuite/ld-pe/pe-run.exp: Likewise.
162 * testsuite/ld-pe/pe-run2.exp: Likewise.
163 * testsuite/ld-plugin/plugin.exp: Likewise.
164 * testsuite/ld-scripts/align.exp: Likewise.
165 * testsuite/ld-scripts/alignof.exp: Likewise.
166 * testsuite/ld-scripts/assert.exp: Likewise.
167 * testsuite/ld-scripts/defined.exp: Likewise.
168 * testsuite/ld-scripts/extern.exp: Likewise.
169 * testsuite/ld-scripts/log2.exp: Likewise.
170 * testsuite/ld-scripts/map-address.exp: Likewise.
171 * testsuite/ld-scripts/phdrs.exp: Likewise.
172 * testsuite/ld-scripts/phdrs2.exp: Likewise.
173 * testsuite/ld-scripts/script.exp: Likewise.
174 * testsuite/ld-scripts/section-flags.exp: Likewise.
175 * testsuite/ld-scripts/sizeof.exp: Likewise.
176 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
177 * testsuite/ld-scripts/weak.exp: Likewise.
178 * testsuite/ld-selective/selective.exp: Likewise.
179 * testsuite/ld-sh/sh.exp: Likewise.
180 * testsuite/ld-sh/sh64/relax.exp: Likewise.
181 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
182 * testsuite/ld-srec/srec.exp: Likewise.
183 * testsuite/ld-tic6x/tic6x.exp: Likewise.
184 * testsuite/ld-undefined/weak-undef.exp: Likewise.
185 * testsuite/ld-versados/versados.exp: Likewise.
186 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
187 * testsuite/ld-xtensa/coalesce.exp: Likewise.
188 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
189 * testsuite/ld-xtensa/lcall.exp: Likewise.
190 * testsuite/ld-elf/audit.exp: Run non-native too.
191 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
192 gcc -Wl, options.
193 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
194 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
195 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
196 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
197 -Wl,--no-as-needed to most tests.
198 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
199 to simplify quoting. Set run_tests using [list] rather than
200 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
201 to many test. Prefix ld options with -Wl,.
202 (mix_pic_and_non_pic): Don't run exe if not native.
203 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
204 -Wl,--no-as-needed and prefix ld options with -Wl,.
205 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
206 not ld_simple_link.
207 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
208 (visibility_test): Don't run exe if not native.
209 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
210 not ld_simple_link.
211 (build_exec): Don't run exe if not native.
212 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
213 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
214 to some tests and prefix ld options with -Wl,. Expect GNU
215 for hppa-linux even when no ifuncs. Delete cleanup.
216 * testsuite/ld-pie/pie.exp: Run non-native too.
217 * testsuite/ld-plugin/lto.exp: Likewise.
218 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
219 not ld_simple_link.
220 (shared_test): Don't run exe if not native.
221 * testsuite/ld-size/size.exp: Run non-native too. Add
222 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
223 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
224 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
225 to some tests and prefix ld options with -Wl,. Expect GNU
226 for hppa-linux even when no unique syms. Delete cleanup.
227 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
228 tests and prefix ld options with -Wl,.
229 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
230 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
231
232 2017-01-02 Alan Modra <amodra@gmail.com>
233
234 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
235
236 2017-01-02 Alan Modra <amodra@gmail.com>
237
238 PR ld/21000
239 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
240 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
241 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
242 is already defined.
243
244 2017-01-02 Alan Modra <amodra@gmail.com>
245
246 Update year range in copyright notice of all files.
247
248 For older changes see ChangeLog-2016
249 \f
250 Copyright (C) 2017 Free Software Foundation, Inc.
251
252 Copying and distribution of this file, with or without modification,
253 are permitted in any medium without royalty provided the copyright
254 notice and this notice are preserved.
255
256 Local Variables:
257 mode: change-log
258 left-margin: 8
259 fill-column: 74
260 version-control: never
261 End:
This page took 0.043215 seconds and 5 git commands to generate.