Add a more helpful warning message to explain why some AArch64 relocations can overflow.
[external/binutils.git] / ld / ChangeLog
1 2016-02-09  Nick Clifton  <nickc@redhat.com>
2
3         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
4         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
5         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
6         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
7
8 2016-02-04  Nick Clifton  <nickc@redhat.com>
9
10         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
11         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
12         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
13         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
14         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
15         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
16         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
17         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
18         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
19
20 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
21
22         PR gas/19520
23         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
24         * testsuite/ld-i386/call1.d: Likewise.
25         * testsuite/ld-i386/call2.d: Likewise.
26         * testsuite/ld-i386/call3a.d: Likewise.
27         * testsuite/ld-i386/call3b.d: Likewise.
28         * testsuite/ld-i386/call3c.d: Likewise.
29         * testsuite/ld-i386/call3d.d: Likewise.
30         * testsuite/ld-i386/call3e.d: Likewise.
31         * testsuite/ld-i386/call3f.d: Likewise.
32         * testsuite/ld-i386/call3g.d: Likewise.
33         * testsuite/ld-i386/call3h.d: Likewise.
34         * testsuite/ld-i386/jmp1.d: Likewise.
35         * testsuite/ld-i386/jmp2.d: Likewise.
36         * testsuite/ld-i386/lea1c.d: Likewise.
37         * testsuite/ld-i386/load1.d: Likewise.
38         * testsuite/ld-i386/load2.d: Likewise.
39         * testsuite/ld-i386/load3.d: Likewise.
40         * testsuite/ld-i386/load4a.d: Likewise.
41         * testsuite/ld-i386/load5a.d: Likewise.
42         * testsuite/ld-i386/mov2b.d: Likewise.
43         * testsuite/ld-i386/mov3.d: Likewise.
44         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
45         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
46         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
47         * testsuite/ld-x86-64/call1a.d: Likewise.
48         * testsuite/ld-x86-64/call1b.d: Likewise.
49         * testsuite/ld-x86-64/call1c.d: Likewise.
50         * testsuite/ld-x86-64/call1d.d: Likewise.
51         * testsuite/ld-x86-64/call1e.d: Likewise.
52         * testsuite/ld-x86-64/call1f.d: Likewise.
53         * testsuite/ld-x86-64/call1h.d: Likewise.
54         * testsuite/ld-x86-64/call1i.d: Likewise.
55         * testsuite/ld-x86-64/load1a.d: Likewise.
56         * testsuite/ld-x86-64/load1b.d: Likewise.
57         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
58         * testsuite/ld-i386/got1.dd: Updated.
59         * testsuite/ld-i386/got1d.S (1): Removed.
60         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
61         * testsuite/ld-x86-64/x86-64.exp: Likewise.
62
63 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
64
65         PR ld/18591
66         * testsuite/ld-x86-64/pr18591.d: New file.
67         * testsuite/ld-x86-64/pr18591.s: Likewise.
68         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
69
70 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
71
72         PR ld/19553
73         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
74         * testsuite/ld-elf/pr19553.map: New file.
75         * testsuite/ld-elf/pr19553.map: Likewise.
76         * testsuite/ld-elf/pr19553a.c: Likewise.
77         * testsuite/ld-elf/pr19553b.c: Likewise.
78         * testsuite/ld-elf/pr19553b.out: Likewise.
79         * testsuite/ld-elf/pr19553c.c: Likewise.
80         * testsuite/ld-elf/pr19553c.out: Likewise.
81         * testsuite/ld-elf/pr19553d.c: Likewise.
82         * testsuite/ld-elf/pr19553d.out: Likewise.
83
84 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
85
86         PR ld/19539
87         * testsuite/ld-elf/pr19539.d: New file.
88         * testsuite/ld-elf/pr19539.s: Likewise.
89         * testsuite/ld-elf/pr19539.t: Likewise.
90
91 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
92
93         PR ld/19533
94         * configure.ac (compressed_debug_sections): Replace == with =.
95         * configure: Regenerated.
96
97 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
98
99         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
100         * scripttempl/avrtiny.sc (.noinit): Likewise.
101
102 2016-01-21  Nick Clifton  <nickc@redhat.com>
103
104         PR ld/19453
105         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
106         the arm-netbsdelf target.
107
108         PR ld/19455
109         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
110         disassmebler output.
111         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
112         * testsuite/ld-arm/vxworks1.dd: Likewise.
113         * testsuite/ld-arm/vxworks1.rd: Likewise.
114         * testsuite/ld-arm/vxworks1.ld: Set the output format.
115
116 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
117
118         * testsuite/ld-aarch64/farcall-section.d: Delete.
119         * testsuite/ld-aarch64/farcall-section.s: Delete.
120         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
121         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
122         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
123         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
124         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
125
126 2016-01-20  Nick Clifton  <nickc@redhat.com>
127
128         PR 19457
129         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
130         early for PE based targets.
131         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
132         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
133
134 2016-01-20  Mickael Guene  <mickael.guene@st.com>
135
136         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
137         Add 'y' attribute usage.
138         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
139         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
140         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
141
142 2016-01-19  Nick Clifton  <nickc@redhat.com>
143
144         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
145         foo@FOO and bar@@FOO.
146
147 2016-01-18  Alan Modra  <amodra@gmail.com>
148
149         * configure: Regenerate.
150
151 2016-01-18  Nick Clifton  <nickc@redhat.com>
152
153         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
154         is not configured to support plugins.
155
156         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
157         but with 16 byte section alignment.
158         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
159         test for MIPS targets.
160
161 2016-01-17  Alan Modra  <amodra@gmail.com>
162
163         * configure: Regenerate.
164
165 2016-01-17  Alan Modra  <amodra@gmail.com>
166
167         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
168         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
169         * testsuite/ld-elf/pr14156a.d: Likewise.
170         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
171         * testsuite/ld-elf/sec64k.exp: Likewise.
172
173 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
174
175         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
176         Set address of .foo section when linking.
177         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
178         in .foo section.
179         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
180         output to the above changes.
181
182 2016-01-13  Nick Clifton  <nickc@redhat.com>
183
184         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
185         for MIPS targets.
186
187         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
188         fail for MIPS targets.
189
190         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
191         MIPS targets.
192
193 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
194
195         * testsuite/ld-arm/arm-elf.exp: New test.
196         * testsuite/ld-arm/unwind-mix.d: New file.
197         * testsuite/ld-arm/unwind-mix1.s: New file.
198         * testsuite/ld-arm/unwind-mix2.s: New file.
199
200 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
201
202         PR ld/19368
203         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
204         * testsuite/ld-arm/ifunc-4.rd: Likewise.
205         * testsuite/ld-arm/ifunc-9.rd: Likewise.
206         * testsuite/ld-arm/ifunc-10.rd: Likewise.
207         * testsuite/ld-arm/ifunc-12.rd: Likewise.
208         * testsuite/ld-arm/ifunc-13.rd: Likewise.
209
210 2016-01-05  Nick Clifton  <nickc@redhat.com>
211
212         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
213         MSP430 hardware multiply address range.
214         * scripttempl/elf32msp430.sc (__romdatastart): Define.
215         (__romdatacopysize): Define.
216         * scripttempl/elf32msp430_3.sc: Likewise.
217
218 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
219
220         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
221         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
222
223 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
224
225         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
226         messages expected according to MIPS BFD private data merge
227         changes.
228         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
229         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
230         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
231         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
232         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
233         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
234         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
235         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
236         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
237         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
238         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
239         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
240         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
241
242 2016-01-01  Alan Modra  <amodra@gmail.com>
243
244         Update year range in copyright notice of all files.
245
246 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
247 \f
248 Copyright (C) 2016 Free Software Foundation, Inc.
249
250 Copying and distribution of this file, with or without modification,
251 are permitted in any medium without royalty provided the copyright
252 notice and this notice are preserved.
253
254 Local Variables:
255 mode: change-log
256 left-margin: 8
257 fill-column: 74
258 version-control: never
259 End: