Run more ld tests when not native
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d9816402
AM
12017-01-02 Alan Modra <amodra@gmail.com>
2
3 * Makefile.am (bootstrap): Delete rule.
4 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
5 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
6 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
7 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
8 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
9 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
10 * Makefile.in: Regenerate.
11 * configure: Regenerate.
12 * testsuite/config/default.exp (get_link_files): Delete.
13 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
14 define.
15 (ld_simple_link): Delete.
16 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
17 (default_ld_simple_link): Rename to default_ld_link.
18 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
19 (run_ld_link_tests): Use ld_link, not ld_simple_link.
20 (run_cc_link_tests): Likewise.
21 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
22 Don't run exe when not native, and return unsupported.
23 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
24 Link ld1 etc. using $CC.
25 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
26 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
27 * testsuite/ld-cygwin/exe-export.exp: Likewise.
28 * testsuite/ld-elf/binutils.exp: Likewise.
29 * testsuite/ld-elf/eh-group.exp: Likewise.
30 * testsuite/ld-elf/exclude.exp: Likewise.
31 * testsuite/ld-elf/frame.exp: Likewise.
32 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
33 * testsuite/ld-elf/tls_common.exp: Likewise.
34 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
35 * testsuite/ld-fastcall/fastcall.exp: Likewise.
36 * testsuite/ld-gc/gc.exp: Likewise.
37 * testsuite/ld-ifunc/binutils.exp: Likewise.
38 * testsuite/ld-mep/mep.exp: Likewise.
39 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
40 * testsuite/ld-mn10300/mn10300.exp: Likewise.
41 * testsuite/ld-nios2/nios2.exp: Likewise.
42 * testsuite/ld-pe/pe-compile.exp: Likewise.
43 * testsuite/ld-pe/pe-run.exp: Likewise.
44 * testsuite/ld-pe/pe-run2.exp: Likewise.
45 * testsuite/ld-plugin/plugin.exp: Likewise.
46 * testsuite/ld-scripts/align.exp: Likewise.
47 * testsuite/ld-scripts/alignof.exp: Likewise.
48 * testsuite/ld-scripts/assert.exp: Likewise.
49 * testsuite/ld-scripts/defined.exp: Likewise.
50 * testsuite/ld-scripts/extern.exp: Likewise.
51 * testsuite/ld-scripts/log2.exp: Likewise.
52 * testsuite/ld-scripts/map-address.exp: Likewise.
53 * testsuite/ld-scripts/phdrs.exp: Likewise.
54 * testsuite/ld-scripts/phdrs2.exp: Likewise.
55 * testsuite/ld-scripts/script.exp: Likewise.
56 * testsuite/ld-scripts/section-flags.exp: Likewise.
57 * testsuite/ld-scripts/sizeof.exp: Likewise.
58 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
59 * testsuite/ld-scripts/weak.exp: Likewise.
60 * testsuite/ld-selective/selective.exp: Likewise.
61 * testsuite/ld-sh/sh.exp: Likewise.
62 * testsuite/ld-sh/sh64/relax.exp: Likewise.
63 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
64 * testsuite/ld-srec/srec.exp: Likewise.
65 * testsuite/ld-tic6x/tic6x.exp: Likewise.
66 * testsuite/ld-undefined/weak-undef.exp: Likewise.
67 * testsuite/ld-versados/versados.exp: Likewise.
68 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
69 * testsuite/ld-xtensa/coalesce.exp: Likewise.
70 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
71 * testsuite/ld-xtensa/lcall.exp: Likewise.
72 * testsuite/ld-elf/audit.exp: Run non-native too.
73 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
74 gcc -Wl, options.
75 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
76 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
77 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
78 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
79 -Wl,--no-as-needed to most tests.
80 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
81 to simplify quoting. Set run_tests using [list] rather than
82 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
83 to many test. Prefix ld options with -Wl,.
84 (mix_pic_and_non_pic): Don't run exe if not native.
85 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
86 -Wl,--no-as-needed and prefix ld options with -Wl,.
87 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
88 not ld_simple_link.
89 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
90 (visibility_test): Don't run exe if not native.
91 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
92 not ld_simple_link.
93 (build_exec): Don't run exe if not native.
94 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
95 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
96 to some tests and prefix ld options with -Wl,. Expect GNU
97 for hppa-linux even when no ifuncs. Delete cleanup.
98 * testsuite/ld-pie/pie.exp: Run non-native too.
99 * testsuite/ld-plugin/lto.exp: Likewise.
100 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
101 not ld_simple_link.
102 (shared_test): Don't run exe if not native.
103 * testsuite/ld-size/size.exp: Run non-native too. Add
104 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
105 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
106 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
107 to some tests and prefix ld options with -Wl,. Expect GNU
108 for hppa-linux even when no unique syms. Delete cleanup.
109 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
110 tests and prefix ld options with -Wl,.
111 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
112 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
113
64859e14
AM
1142017-01-02 Alan Modra <amodra@gmail.com>
115
116 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
117
f5657270
AM
1182017-01-02 Alan Modra <amodra@gmail.com>
119
120 PR ld/21000
121 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
122 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
123 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
124 is already defined.
125
2571583a
AM
1262017-01-02 Alan Modra <amodra@gmail.com>
127
128 Update year range in copyright notice of all files.
129
5c1ad6b5 130For older changes see ChangeLog-2016
3499769a 131\f
5c1ad6b5 132Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
133
134Copying and distribution of this file, with or without modification,
135are permitted in any medium without royalty provided the copyright
136notice and this notice are preserved.
137
138Local Variables:
139mode: change-log
140left-margin: 8
141fill-column: 74
142version-control: never
143End:
This page took 0.087745 seconds and 4 git commands to generate.