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