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