Commit | Line | Data |
---|---|---|
87e79a65 AM |
1 | 2018-01-12 Alan Modra <amodra@gmail.com> |
2 | ||
3 | PR ld/22649 | |
4 | * testsuite/ld-elf/pr22649.msg: Allow other messages. | |
5 | * testsuite/ld-elf/shared.exp: Check that --gc-sections is | |
6 | supported before running ld/22649 tests. | |
7 | ||
97a232d7 NC |
8 | 2018-01-12 Nick Clifton <nickc@redhat.com> |
9 | ||
10 | * emultempl/elf32.em (_handle_option): Add support for "-z undefs" | |
11 | as the opposite of "-z defs". | |
12 | * ld.texinfo: Document the new option. Update the description of | |
13 | the -z defs option to make it clear that it does generate an error | |
14 | if an undefined symbol reference is found in an object file whilst | |
15 | creating a shared library. | |
16 | * NEWS: Document this new feature. | |
17 | ||
33eff4ce L |
18 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
19 | ||
20 | * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with | |
21 | "-z separate-code". | |
22 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
23 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
24 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
25 | ||
cf9e7f1f L |
26 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
27 | ||
28 | PR ld/22393 | |
29 | * testsuite/ld-x86-64/pr22393-3a.c: New file. | |
30 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
31 | * testsuite/ld-x86-64/pr22393-3b.c: Likewise. | |
32 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
33 | * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code | |
34 | -z max-page-size=0x1000. | |
35 | ||
d346bb27 L |
36 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
37 | ||
38 | PR ld/22393 | |
39 | * testsuite/ld-elf/pr16322.d: Add -z noseparate-code. | |
40 | * testsuite/ld-elf/pr22393-1.s: New file. | |
41 | * testsuite/ld-elf/pr22393-1a.d: Likewise. | |
42 | * testsuite/ld-elf/pr22393-1b.d: Likewise. | |
43 | * testsuite/ld-elf/pr22393-1c.d: Likewise. | |
44 | * testsuite/ld-elf/pr22393-1d.d: Likewise. | |
45 | * testsuite/ld-elf/pr22393-1e.d: Likewise. | |
46 | * testsuite/ld-elf/pr22393-1f.d: Likewise. | |
47 | * testsuite/ld-elf/pr22393-2a.c: Likewise. | |
48 | * testsuite/ld-elf/pr22393-2a.rd: Likewise. | |
49 | * testsuite/ld-elf/pr22393-2b.c: Likewise. | |
50 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
51 | * testsuite/ld-elf/shared.exp: Run tests for -z separate-code. | |
52 | ||
47acac12 L |
53 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
54 | ||
55 | PR ld/22393 | |
56 | * NEWS: Mention "-z separate-code". | |
57 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get | |
58 | builtin linker scripts and return linker scripts from disk for | |
59 | "-z separate-code". | |
60 | (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code" | |
61 | and "-z noseparate-code". | |
62 | * genscripts.sh: Generate linker scripts for "-z separate-code". | |
63 | (LD_FLAG): Set to *textonly for "-z separate-code". | |
64 | * ld.texinfo: Document "-z separate-code". | |
65 | * lexsup.c (elf_shlib_list_options): Add linker help messsages | |
66 | for "-z separate-code" and "-z noseparate-code". | |
67 | * scripttempl/elf.sc (SEPARATE_TEXT): New | |
68 | (TEXT_SEGMENT_ALIGN): Likewise. | |
69 | Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to | |
70 | ${MAXPAGESIZE}. | |
71 | ||
d664fd41 L |
72 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
73 | ||
74 | PR ld/22649 | |
75 | * testsuite/ld-elf/pr22649-1.s: New file. | |
76 | * testsuite/ld-elf/pr22649-2a.s: Likewise. | |
77 | * testsuite/ld-elf/pr22649-2b.s: Likewise. | |
78 | * testsuite/ld-elf/pr22649.msg: Likewise. | |
79 | * testsuite/ld-elf/shared.exp: Run ld/22649 tests. | |
80 | ||
8b6f4cd3 L |
81 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
82 | ||
83 | PR ld/22677 | |
84 | * scripttempl/elf.sc (PREINIT_ARRAY): New. | |
85 | Don't add .preinit_array for ld -r. | |
86 | * testsuite/ld-elf/pr22677.d: New file. | |
87 | * testsuite/ld-elf/pr22677.s: Likewise. | |
88 | ||
65f14869 AB |
89 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
90 | ||
91 | * ldexp.h (union etree_union): Remove defsym field. | |
92 | * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym | |
93 | parameter. | |
94 | (exp_assign): Remove passing of defsym parameter. | |
95 | (exp_defsym): Likewise. | |
96 | (exp_provide): Likewise. | |
97 | ||
eab62f2f AB |
98 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
99 | ||
100 | * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide | |
101 | nodes are ignored in the tree walk, and move the location at which | |
102 | we change provide nodes into provided nodes. | |
103 | (exp_init_os): Add etree_provided. | |
104 | * testsuite/ld-scripts/provide-6.d: New file. | |
105 | * testsuite/ld-scripts/provide-6.t: New file. | |
106 | * testsuite/ld-scripts/provide-7.d: New file. | |
107 | * testsuite/ld-scripts/provide-7.t: New file. | |
108 | * testsuite/ld-scripts/provide-8.d: New file. | |
109 | * testsuite/ld-scripts/provide-8.t: New file. | |
110 | ||
8be965c5 AB |
111 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
112 | ||
113 | * testsuite/ld-scripts/provide-3.d: Add xfail directive. | |
114 | * testsuite/ld-scripts/provide-4.d: Use new map file name. | |
115 | * testsuite/ld-scripts/provide-5.d: Use new map file name. | |
116 | * testsuite/ld-scripts/provide-4-map.d: Renamed to... | |
117 | * testsuite/ld-scripts/provide-4.map: ...this. | |
118 | * testsuite/ld-scripts/provide-5-map.d: Renamed to... | |
119 | * testsuite/ld-scripts/provide-5.map: ...this. | |
120 | * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d | |
121 | file, and run tests in a loop. | |
122 | ||
b3b9f8d3 AB |
123 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
124 | ||
125 | * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing | |
126 | PROVIDE statements. | |
127 | * testsuite/ld-scripts/provide-4.map: Update expected output. | |
128 | * testsuite/ld-scripts/provide-5.map: Likewise. | |
129 | ||
6bd0a312 L |
130 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
131 | ||
132 | PR ld/22696 | |
133 | * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR. | |
134 | ||
74ccf6db JW |
135 | 2018-01-09 Jim Wilson <jimw@sifive.com> |
136 | ||
137 | * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete | |
138 | (#alltargets): Renamed from #target. Add shared. | |
139 | * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target. | |
140 | Document alltargets option. Add support for alltargets option. | |
141 | (istarget): Add support for shared target. | |
142 | ||
7615ca1d JW |
143 | 2018-01-08 Jim Wilson <jimw@sifive.com> |
144 | ||
145 | * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start | |
146 | instead of .text. | |
147 | * testsuite/ld-riscv-elf/c-lui.s: Add _start label. | |
148 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ | |
149 | tests, add call to check_shared_lib_support. | |
150 | ||
be1dce26 JW |
151 | 2018-01-05 Jim Wilson <jimw@sifive.com> |
152 | ||
35eeb78f JW |
153 | * testsuite/ld-riscv-elf/disas-jalr.d: New. |
154 | * testsuite/ld-riscv-elf/disas-jalr.s: New. | |
155 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase. | |
156 | ||
be1dce26 JW |
157 | * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside |
158 | case on $target, and don't set for riscv*-elf targets. | |
159 | (GENERATE_PIE_SCRIPT): Likewise. | |
160 | ||
219d1afa AM |
161 | 2018-01-03 Alan Modra <amodra@gmail.com> |
162 | ||
163 | Update year range in copyright notice of all files. | |
164 | ||
1e563868 | 165 | For older changes see ChangeLog-2017 |
3499769a | 166 | \f |
1e563868 | 167 | Copyright (C) 2018 Free Software Foundation, Inc. |
3499769a AM |
168 | |
169 | Copying and distribution of this file, with or without modification, | |
170 | are permitted in any medium without royalty provided the copyright | |
171 | notice and this notice are preserved. | |
172 | ||
173 | Local Variables: | |
174 | mode: change-log | |
175 | left-margin: 8 | |
176 | fill-column: 74 | |
177 | version-control: never | |
178 | End: |