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