Update pot files
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2018-01-13 Nick Clifton <nickc@redhat.com>
2
3 * po/ld.pot: Regenerated.
4
5 2018-01-13 Nick Clifton <nickc@redhat.com>
6
7 * configure: Regenerate.
8
9 2018-01-13 Nick Clifton <nickc@redhat.com>
10
11 2.30 branch created.
12 * NEWS: Add marker for 2.30.
13
14 2018-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
19 2018-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
26 2018-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
36 2018-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
44 2018-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
54 2018-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
71 2018-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
90 2018-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
99 2018-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
107 2018-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
116 2018-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
129 2018-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
141 2018-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
148 2018-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
153 2018-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
161 2018-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
169 2018-01-05 Jim Wilson <jimw@sifive.com>
170
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
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
179 2018-01-03 Alan Modra <amodra@gmail.com>
180
181 Update year range in copyright notice of all files.
182
183 For older changes see ChangeLog-2017
184 \f
185 Copyright (C) 2018 Free Software Foundation, Inc.
186
187 Copying and distribution of this file, with or without modification,
188 are permitted in any medium without royalty provided the copyright
189 notice and this notice are preserved.
190
191 Local Variables:
192 mode: change-log
193 left-margin: 8
194 fill-column: 74
195 version-control: never
196 End:
This page took 0.033344 seconds and 4 git commands to generate.