PowerPC PLT stub tidy
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
9e390558
AM
12018-01-17 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ppc32elf.em (params): Init new field.
4 (enum ppc32_opt): New enum to define OPTION_* values. Add
5 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
6 (PARSE_AND_LIST_LONGOPTS): Handle new options.
7 (PARSE_AND_LIST_ARGS_CASES): Likewise.
8 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
9 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
10 correctly for negative --plt-stub-align.
11 * testsuite/ld-powerpc/elfv2exe.d,
12 * testsuite/ld-powerpc/elfv2so.d,
13 * testsuite/ld-powerpc/relbrlt.d,
14 * testsuite/ld-powerpc/relbrlt.s,
15 * testsuite/ld-powerpc/tlsexe.d,
16 * testsuite/ld-powerpc/tlsexe.r,
17 * testsuite/ld-powerpc/tlsexe32.d,
18 * testsuite/ld-powerpc/tlsexe32.g,
19 * testsuite/ld-powerpc/tlsexe32.r,
20 * testsuite/ld-powerpc/tlsexetoc.d,
21 * testsuite/ld-powerpc/tlsexetoc.r,
22 * testsuite/ld-powerpc/tlsopt5_32.d,
23 * testsuite/ld-powerpc/tlsso.d,
24 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
25
f6efed01
NC
262018-01-16 Nick Clifton <nickc@redhat.com>
27
28 * po/pt_BR.po: Updated Brazilian Portugese translation.
29
616dcb87
NC
302018-01-15 Nick Clifton <nickc@redhat.com>
31
32 * po/uk.po: Updated Ukranian translation.
33
3957a496
NC
342018-01-13 Nick Clifton <nickc@redhat.com>
35
36 * po/ld.pot: Regenerated.
37
769c7ea5
NC
382018-01-13 Nick Clifton <nickc@redhat.com>
39
40 * configure: Regenerate.
41
9176ac5b
NC
422018-01-13 Nick Clifton <nickc@redhat.com>
43
faf766e3 44 2.30 branch created.
9176ac5b
NC
45 * NEWS: Add marker for 2.30.
46
5ae5d3fd
AM
472018-01-12 Alan Modra <amodra@gmail.com>
48
49 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
50 initialization" for currently failing targets.
51
87e79a65
AM
522018-01-12 Alan Modra <amodra@gmail.com>
53
54 PR ld/22649
55 * testsuite/ld-elf/pr22649.msg: Allow other messages.
56 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
57 supported before running ld/22649 tests.
58
97a232d7
NC
592018-01-12 Nick Clifton <nickc@redhat.com>
60
61 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
62 as the opposite of "-z defs".
63 * ld.texinfo: Document the new option. Update the description of
64 the -z defs option to make it clear that it does generate an error
65 if an undefined symbol reference is found in an object file whilst
66 creating a shared library.
67 * NEWS: Document this new feature.
68
33eff4ce
L
692018-01-11 H.J. Lu <hongjiu.lu@intel.com>
70
71 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
72 "-z separate-code".
73 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
74 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
75 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
76
cf9e7f1f
L
772018-01-11 H.J. Lu <hongjiu.lu@intel.com>
78
79 PR ld/22393
80 * testsuite/ld-x86-64/pr22393-3a.c: New file.
81 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
82 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
83 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
84 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
85 -z max-page-size=0x1000.
86
d346bb27
L
872018-01-11 H.J. Lu <hongjiu.lu@intel.com>
88
89 PR ld/22393
90 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
91 * testsuite/ld-elf/pr22393-1.s: New file.
92 * testsuite/ld-elf/pr22393-1a.d: Likewise.
93 * testsuite/ld-elf/pr22393-1b.d: Likewise.
94 * testsuite/ld-elf/pr22393-1c.d: Likewise.
95 * testsuite/ld-elf/pr22393-1d.d: Likewise.
96 * testsuite/ld-elf/pr22393-1e.d: Likewise.
97 * testsuite/ld-elf/pr22393-1f.d: Likewise.
98 * testsuite/ld-elf/pr22393-2a.c: Likewise.
99 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
100 * testsuite/ld-elf/pr22393-2b.c: Likewise.
101 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
102 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
103
47acac12
L
1042018-01-11 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR ld/22393
107 * NEWS: Mention "-z separate-code".
108 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
109 builtin linker scripts and return linker scripts from disk for
110 "-z separate-code".
111 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
112 and "-z noseparate-code".
113 * genscripts.sh: Generate linker scripts for "-z separate-code".
114 (LD_FLAG): Set to *textonly for "-z separate-code".
115 * ld.texinfo: Document "-z separate-code".
116 * lexsup.c (elf_shlib_list_options): Add linker help messsages
117 for "-z separate-code" and "-z noseparate-code".
118 * scripttempl/elf.sc (SEPARATE_TEXT): New
119 (TEXT_SEGMENT_ALIGN): Likewise.
120 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
121 ${MAXPAGESIZE}.
122
d664fd41
L
1232018-01-11 H.J. Lu <hongjiu.lu@intel.com>
124
125 PR ld/22649
126 * testsuite/ld-elf/pr22649-1.s: New file.
127 * testsuite/ld-elf/pr22649-2a.s: Likewise.
128 * testsuite/ld-elf/pr22649-2b.s: Likewise.
129 * testsuite/ld-elf/pr22649.msg: Likewise.
130 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
131
8b6f4cd3
L
1322018-01-11 H.J. Lu <hongjiu.lu@intel.com>
133
134 PR ld/22677
135 * scripttempl/elf.sc (PREINIT_ARRAY): New.
136 Don't add .preinit_array for ld -r.
137 * testsuite/ld-elf/pr22677.d: New file.
138 * testsuite/ld-elf/pr22677.s: Likewise.
139
65f14869
AB
1402018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * ldexp.h (union etree_union): Remove defsym field.
143 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
144 parameter.
145 (exp_assign): Remove passing of defsym parameter.
146 (exp_defsym): Likewise.
147 (exp_provide): Likewise.
148
eab62f2f
AB
1492018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
150
151 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
152 nodes are ignored in the tree walk, and move the location at which
153 we change provide nodes into provided nodes.
154 (exp_init_os): Add etree_provided.
155 * testsuite/ld-scripts/provide-6.d: New file.
156 * testsuite/ld-scripts/provide-6.t: New file.
157 * testsuite/ld-scripts/provide-7.d: New file.
158 * testsuite/ld-scripts/provide-7.t: New file.
159 * testsuite/ld-scripts/provide-8.d: New file.
160 * testsuite/ld-scripts/provide-8.t: New file.
161
8be965c5
AB
1622018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
165 * testsuite/ld-scripts/provide-4.d: Use new map file name.
166 * testsuite/ld-scripts/provide-5.d: Use new map file name.
167 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
168 * testsuite/ld-scripts/provide-4.map: ...this.
169 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
170 * testsuite/ld-scripts/provide-5.map: ...this.
171 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
172 file, and run tests in a loop.
173
b3b9f8d3
AB
1742018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
177 PROVIDE statements.
178 * testsuite/ld-scripts/provide-4.map: Update expected output.
179 * testsuite/ld-scripts/provide-5.map: Likewise.
180
6bd0a312
L
1812018-01-11 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR ld/22696
184 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
185
74ccf6db
JW
1862018-01-09 Jim Wilson <jimw@sifive.com>
187
188 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
189 (#alltargets): Renamed from #target. Add shared.
190 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
191 Document alltargets option. Add support for alltargets option.
192 (istarget): Add support for shared target.
193
7615ca1d
JW
1942018-01-08 Jim Wilson <jimw@sifive.com>
195
196 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
197 instead of .text.
198 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
199 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
200 tests, add call to check_shared_lib_support.
201
be1dce26
JW
2022018-01-05 Jim Wilson <jimw@sifive.com>
203
35eeb78f
JW
204 * testsuite/ld-riscv-elf/disas-jalr.d: New.
205 * testsuite/ld-riscv-elf/disas-jalr.s: New.
206 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
207
be1dce26
JW
208 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
209 case on $target, and don't set for riscv*-elf targets.
210 (GENERATE_PIE_SCRIPT): Likewise.
211
219d1afa
AM
2122018-01-03 Alan Modra <amodra@gmail.com>
213
214 Update year range in copyright notice of all files.
215
1e563868 216For older changes see ChangeLog-2017
3499769a 217\f
1e563868 218Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
219
220Copying and distribution of this file, with or without modification,
221are permitted in any medium without royalty provided the copyright
222notice and this notice are preserved.
223
224Local Variables:
225mode: change-log
226left-margin: 8
227fill-column: 74
228version-control: never
229End:
This page took 0.175737 seconds and 4 git commands to generate.