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