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