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