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