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