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