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