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