FIx formatting that triggers a new compile time warning message.
[external/binutils.git] / gas / ChangeLog
1 2016-02-08  Nick Clifton  <nickc@redhat.com>
2
3         * config/tc-ia64.c (dot_prologue): Fix formatting.
4
5 2016-02-04  Nick Clifton  <nickc@redhat.com>
6
7         * config/obj-elf.c (obj_elf_change_section): Remove support for
8         ARM NOREAD sections.
9         * config/tc-arm.c (arm_elf_section_letter): Delete.
10         * config/tc-arm.h (md_elf_section_letter): Delete.
11         * doc/c-arm.texi (ARM Section Attribute): Delete section.
12         * testsuite/gas/arm/section-execute-only.d: Delete.
13         * testsuite/gas/arm/section-execute-only.s: Delete.
14
15 2016-02-04  Nick Clifton  <nickc@redhat.com>
16
17         PR target/19561
18         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
19         to handle encoding of RRUX instruction.
20         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
21         shift instructions.
22         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
23
24 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
25
26         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
27         substitutions for BFD_RELOC_* as unsigned.
28         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
29         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
30         * testsuite/gas/xtensa/loc.s: New file: loc test.
31
32 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
33
34         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
35
36 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
37
38         PR gas/19520
39         * NEWS: Mention new command line option -mrelax-relocations and
40         new configure option --enable-x86-relax-relocations for x86
41         target.
42         * config.in: Regenerated.
43         * configure.ac: Add --enable-x86-relax-relocations.
44         (ac_default_x86_relax_relocations): New.  Default to 1 except
45         for x86 Solaris targets older than Solaris 12.
46         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
47         * configure: Likewise.
48         * config/tc-i386.c (generate_relax_relocations): New.
49         (OPTION_MRELAX_RELOCATIONS): Likewise.
50         (output_disp): Don't generate relax relocations if
51         generate_relax_relocations is 0.
52         (md_longopts): Add -mrelax-relocations.
53         (md_show_usage): Likewise.
54         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
55         * doc/c-i386.texi: Document -mrelax-relocations=.
56         * testsuite/gas/i386/got-no-relax.d: New file.
57         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
58         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
59         * testsuite/gas/i386/localpic.d: Likewise.
60         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
61         * testsuite/gas/i386/reloc32.d: Likewise.
62         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
63         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
64         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
65         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
66         * testsuite/gas/i386/i386.exp: Run got-no-relax and
67         x86-64-gotpcrel-no-relax.
68
69 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
70
71         * NEWS: Mention new command line option -mfence-as-lock-add=yes
72         for x86 target.
73
74 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
75
76         * NEWS: Remove duplicated marker for 2.26.
77
78 2016-02-02  Renlin Li  <renlin.li@arm.com>
79
80         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
81
82 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
83
84         * testsuite/gas/ip2k/allinsn.d: New file.
85         * testsuite/gas/ip2k/allinsn.s: New file.
86         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
87
88 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
89
90         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
91         some load instructions.
92         * testsuite/gas/epiphany/allinsn.d: Likewise.
93         * testsuite/gas/epiphany/regression.d: Likewise.
94
95 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
96
97         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
98         suffixes from instruction mnemonics in expected output.
99         * testsuite/gas/epiphany/allinsn.d: Likewise.
100         * testsuite/gas/epiphany/regression.d: Likewise.
101         * testsuite/gas/epiphany/sample.d: Likewise.
102
103 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
104
105         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
106         names.
107         * testsuite/gas/epiphany/allinsn.d: Likewise.
108         * testsuite/gas/epiphany/sample.d: Likewise.
109
110 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
111
112         * testsuite/gas/epiphany/sample.d: Update expected output.
113
114 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
115
116         * config/tc-arc.c (md_apply_fix): Allow addendum.
117         (arc_reloc_op): Allow complex expressions for tpoff.
118         (md_apply_fix): Handle resolved TLS local symbol.
119
120         * testsuite/gas/arc/tls-relocs1.d: New file.
121         * testsuite/gas/arc/tls-relocs1.s: Likewise.
122
123 2016-02-01  Loria  <Loria@phantasia.org>
124
125         PR target/19311
126         * config/tc-arm.c (encode_arm_immediate): Recode to improve
127         efficiency and avoid an LLVM loop optimization bug.
128
129 2016-02-01  Nick Clifton  <nickc@redhat.com>
130
131         * config/tc-microblaze.c (parse_imm): Fix compile time warning
132         message extending a negative 32-bit value into a larger signed
133         value on a 32-bit host.
134
135 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
136
137         PR gas/19532
138         * configure.ac (compressed_debug_sections): Replace == with =.
139         * configure: Regenerated.
140
141 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
142             H.J. Lu  <hongjiu.lu@intel.com>
143
144         * config/tc-i386.c (avoid_fence): New.
145         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
146         is true.
147         (OPTION_FENCE_AS_LOCK_ADD): New.
148         (md_longopts): Add -mfence-as-lock-add.
149         (md_parse_option): Handle -mfence-as-lock-add.
150         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
151         * doc/c-i386.texi (-mfence-as-lock-add): Document.
152         * testsuite/gas/i386/i386.exp: Run new tests.
153         * testsuite/gas/i386/fence-as-lock-add.s: New.
154         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
155         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
156         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
157         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
158
159 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
160
161         * configure.ac (compressed_debug_sections): Remove trailing `]'.
162         * configure: Regenerated.
163
164 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
165
166         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
167         (OPTION_MOMIT_LOCK_PREFIX): This.
168         (md_longopts): Updated.
169         (md_parse_option): Likewise.
170
171 2016-01-25  Catherine Moore  <clm@codesourcery.com>
172
173         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
174         if abicalls are in effect.
175         * testsuite/gas/mips/sdata-gp.s: New test.
176         * testsuite/gas/mips/sdata-gp.d: New expected output
177         * testsuite/gas/mips/mips.exp: Run new test.
178
179 2016-01-25  Renlin Li  <renlin.li@arm.com>
180
181         * testsuite/gas/arm/thumb2_it_search.d: New.
182         * testsuite/gas/arm/thumb2_it_search.s: New.
183
184 2016-01-21  Nick Clifton  <nickc@redhat.com>
185
186         PR gas/19454
187         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
188         with arm-netbsdelf target.
189         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
190
191 2016-01-20  Nick Clifton  <nickc@redhat.com>
192
193         PR 19456
194         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
195         * testsuite/gas/arm/blx-bl-convert.d
196         * testsuite/gas/arm/plt-1.d: Likewise.
197         * testsuite/gas/arm/reloc-bad.d: Likewise.
198         * testsuite/gas/arm/thumb-w-good.d: Likewise.
199         * testsuite/gas/arm/thumb2_pool.d: Likewise.
200         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
201         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
202
203         PR 19499
204         * doc/as.texinfo (Errors): Correct documentation describing the
205         interaction of .file and .line with warning and error messages.
206
207         PR 19458
208         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
209         * testsuite/gas/arm/archv8m-main.d: Likewise.
210         * testsuite/gas/arm/archv8m-base.d: Likewise.
211
212 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
213
214         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
215         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
216         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
217
218 2016-01-20  Mickael Guene  <mickael.guene@st.com>
219             Terry Guo  <terry.guo@arm.com>
220
221         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
222         SHF_ARM_NOREAD section flag.
223         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
224         handle letter 'y'.
225         (arm_elf_section_letter) : Declare it.
226         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
227         SHF_ARM_NOREAD section flag.
228         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
229
230         * testsuite/gas/arm/section-execute-only.s: New test case.
231         * testsuite/gas/arm/section-execute-only.d: Expected output.
232
233 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
234
235         * config/tc-mips.c (micromips_insn_length): Remove the mention
236         of 48-bit microMIPS instructions.
237
238 2016-01-18  Alan Modra  <amodra@gmail.com>
239
240         * configure: Regenerate.
241
242 2016-01-17  Alan Modra  <amodra@gmail.com>
243
244         * configure: Regenerate.
245
246 2016-01-17  Alan Modra  <amodra@gmail.com>
247
248         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
249
250 2016-01-14  Nick Clifton  <nickc@redhat.com>
251
252         * testsuite/gas/rl78/sp-relative-movw.s: New test.
253         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
254         * testsuite/gas/rl78/rl78.exp: Run the new test.
255
256 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
257
258         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
259         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
260
261 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
262
263         * config/tc-nios2.c (output_movia): Preset `code' to 0.
264
265 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
266
267         * config/tc-h8300.c (get_operand): Remove spurious condition in
268         test for closing parenthesis.
269
270 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
271
272         * config/tc-arm.c (arm_ext_v8_2): New.
273         (insns): Add "esb".
274         * testsuite/gas/arm/armv8_2-a.d: New.
275         * testsuite/gas/arm/armv8_2-a.s: New.
276
277 2016-01-12  Alan Modra  <amodra@gmail.com>
278
279         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
280
281 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
282
283         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
284         xvcmpnesp, xvcmpnesp.>: Delete tests.
285         * testsuite/gas/ppc/power9.s: Likewise.
286         * testsuite/gas/ppc/vsx3.d: Likewise.
287         * testsuite/gas/ppc/vsx3.s: Likewise.
288
289 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
290
291         PR gas/13050
292         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
293         * testsuite/gas/m68k/p13050-1.s: New file.
294         * testsuite/gas/m68k/p13050-2.d: New file.
295         * testsuite/gas/m68k/p13050-2.s: New file.
296
297 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
298
299         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
300         * testsuite/gas/arc/add.d: Likewise.
301         * testsuite/gas/arc/and.d: Likewise.
302         * testsuite/gas/arc/asl.d: Likewise.
303         * testsuite/gas/arc/asr.d: Likewise.
304         * testsuite/gas/arc/bic.d: Likewise.
305         * testsuite/gas/arc/extb.d: Likewise.
306         * testsuite/gas/arc/extw.d: Likewise.
307         * testsuite/gas/arc/j.d: Likewise.
308         * testsuite/gas/arc/jl.d: Likewise.
309         * testsuite/gas/arc/ld2.d: Likewise.
310         * testsuite/gas/arc/lsr.d: Likewise.
311         * testsuite/gas/arc/mov.d: Likewise.
312         * testsuite/gas/arc/or.d: Likewise.
313         * testsuite/gas/arc/pcl-relocs.d: Likewise.
314         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
315         * testsuite/gas/arc/pic-relocs.d: Likewise.
316         * testsuite/gas/arc/plt-relocs.d: Likewise.
317         * testsuite/gas/arc/rlc.d: Likewise.
318         * testsuite/gas/arc/ror.d: Likewise.
319         * testsuite/gas/arc/rrc.d: Likewise.
320         * testsuite/gas/arc/sbc.d: Likewise.
321         * testsuite/gas/arc/sda-relocs.d: Likewise.
322         * testsuite/gas/arc/sda-relocs2.d: Likewise.
323         * testsuite/gas/arc/sexb.d: Likewise.
324         * testsuite/gas/arc/sexw.d: Likewise.
325         * testsuite/gas/arc/st.d: Likewise.
326         * testsuite/gas/arc/sub.d: Likewise.
327         * testsuite/gas/arc/tls-relocs.d: Likewise.
328         * testsuite/gas/arc/xor.d: Likewise.
329
330 2016-01-01  Alan Modra  <amodra@gmail.com>
331
332         Update year range in copyright notice of all files.
333
334 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
335 \f
336 Copyright (C) 2016 Free Software Foundation, Inc.
337
338 Copying and distribution of this file, with or without modification,
339 are permitted in any medium without royalty provided the copyright
340 notice and this notice are preserved.
341
342 Local Variables:
343 mode: change-log
344 left-margin: 8
345 fill-column: 74
346 version-control: never
347 End: