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