Update list of known MSP430 MCUs.
[external/binutils.git] / gas / ChangeLog
1 2016-02-17  Nick Clifton  <nickc@redhat.com>
2
3         * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4         devices.csv file as of March 2016.
5
6 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
7
8         * config/tc-arc.c (tc_arc_frame_initial_instructions): New
9         function.
10         (tc_arc_regname_to_dw2regnum): Likewise.
11         * config/tc-arc.h (TARGET_USE_CFIPOP): Define
12         (tc_cfi_frame_initial_instructions): Likewise.
13         (tc_regname_to_dw2regnum): Likewise.
14
15 2016-02-16  Trevor Saunders  <tbsaunde@tbsaunde.org>
16
17         * doc/internals.texi (S_IS_EXTERN): Remove.
18
19 2016-02-16  Nick Clifton  <nickc@redhat.com>
20
21         * doc/as.texinfo (Section): Fix up texinfo snafus in previous
22         update.
23
24 2016-02-16  Renlin Li  <renlin.li@arm.com>
25
26         PR gas/19620
27         * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
28         * testsuite/gas/aarch64/movw_label.d: New.
29         * testsuite/gas/aarch64/movw_label.s: New.
30
31 2016-02-15  Vinay Kumar G. <Vinay.G@kpit.com>
32
33         PR gas/19556
34         * config/rx-parse.y (MOV):  Opcode generation for index
35         register addressing mode.
36         * testsuite/gas/rx/rx.exp: Updated for new testcase.
37         * testsuite/gas/rx/pr19665.s: New file.
38         * testsuite/gas/rx/pr19665.s: New file.
39         * testsuite/gas/rx/mov.d: Update expected output.
40
41 2016-02-15  Nick Clifton  <nickc@redhat.com>
42
43         * doc/as.texinfo (.section): Document that numeric values can now
44         be used for the flags and type fields of the ELF target's .section
45         directive.  Add notes about the restrictions on setting flags and
46         types.
47         * config/obj-elf.c (obj_elf_change_section): Allow known sections
48         to be given processor specific section types.  Allow processor and
49         application specific flags of a section to be set after
50         definition.
51         (obj_elf_parse_section_letters): Handle parsing numeric values.
52         (obj_elf_section_type): Handle parsing numeric values.
53         (obj_elf_section): Allow numeric type values.
54         * config/obj-elf.h (obj_elf_change_section): Update prototype.
55         * testsuite/gas/elf/section10.d: New test.
56         * testsuite/gas/elf/section10.s: Source file for new test.
57         * testsuite/gas/elf/elf.exp: Run the new test.
58         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
59         the description of the flags produced by readelf.
60         * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
61         * NEWS: Mention the new feature.
62
63 2016-02-11  Nick Clifton  <nickc@redhat.com>
64
65         PR gas/19614
66         * dw2gencfi.c (cfi_sections_set): Delay setting this variable
67         until it is actually used.
68         (cfi_set_sections): Set cfi_sections_set to true.
69         (dot_cfi_startproc): Likewise.
70         (dot_cfi_endproc): Likewise.
71         (dot_cfi_fde_data): Likewise.
72         (cfi_finish): Likewise.
73         (dot_cfi_sections): Do not set cfi_sections_set.
74         * doc/as.texinfo (.cfi_sections): Note that targets can provide
75         their own cfi section name.  Also note that the directive can be
76         reissued provided that CFI generation has not started.
77         * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
78         .cfi_endproc directives so that the redefinition of .cfi_sections
79         will trigger the generation of the error message.
80         * testsuite/gas/mips/compact-eh-err2.l: Update expected line
81         number of error message.
82
83 2016-02-10  Claudiu Zissulescu  <claziss@synopsys.com>
84             Janek van Oirschot <jvanoirs@synopsys.com>
85
86         * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
87         (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
88         Define.
89         (arc_flags, arc_relax_type): New structure.
90         * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
91         (RELAX_TABLE_ENTRY_MAX): New define.
92         (relaxation_state, md_relax_table, arc_relaxable_insns)
93         (arc_num_relaxable_ins): New variable.
94         (rlx_operand_type, arc_rlx_types): New enums.
95         (arc_relaxable_ins): New structure.
96         (OPTION_RELAX): New option.
97         (arc_insn): New relax member.
98         (arc_flags): Remove.
99         (relax_insn_p): New function.
100         (apply_fixups): Likewise.
101         (relaxable_operand): Likewise.
102         (may_relax_expr): Likewise.
103         (relaxable_flag): Likewise.
104         (arc_pcrel_adjust): Likewise.
105         (md_estimate_size_before_relax): Implement.
106         (md_convert_frag): Likewise.
107         (md_parse_option): Handle new mrelax option.
108         (md_show_usage): Likewise.
109         (assemble_insn): Set relax member.
110         (emit_insn0): New function.
111         (emit_insn1): Likewise.
112         (emit_insn): Handle relaxation case.
113         * NEWS: Mention the new relaxation option.
114         * doc/c-arc.texi (ARC Options): Document new mrelax option.
115         * doc/as.texinfo (Target ARC Options): Likewise.
116         * testsuite/gas/arc/relax-avoid1.d: New file.
117         * testsuite/gas/arc/relax-avoid1.s: Likewise.
118         * testsuite/gas/arc/relax-avoid2.d: Likewise.
119         * testsuite/gas/arc/relax-avoid2.s: Likewise.
120         * testsuite/gas/arc/relax-avoid3.d: Likewise.
121         * testsuite/gas/arc/relax-avoid3.s: Likewise.
122         * testsuite/gas/arc/relax-b.d: Likewise.
123         * testsuite/gas/arc/relax-b.s: Likewise.
124
125 2016-02-08  Nick Clifton  <nickc@redhat.com>
126
127         * config/tc-ia64.c (dot_prologue): Fix formatting.
128
129 2016-02-04  Nick Clifton  <nickc@redhat.com>
130
131         * config/obj-elf.c (obj_elf_change_section): Remove support for
132         ARM NOREAD sections.
133         * config/tc-arm.c (arm_elf_section_letter): Delete.
134         * config/tc-arm.h (md_elf_section_letter): Delete.
135         * doc/c-arm.texi (ARM Section Attribute): Delete section.
136         * testsuite/gas/arm/section-execute-only.d: Delete.
137         * testsuite/gas/arm/section-execute-only.s: Delete.
138
139 2016-02-04  Nick Clifton  <nickc@redhat.com>
140
141         PR target/19561
142         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
143         to handle encoding of RRUX instruction.
144         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
145         shift instructions.
146         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
147
148 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
149
150         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
151         substitutions for BFD_RELOC_* as unsigned.
152         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
153         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
154         * testsuite/gas/xtensa/loc.s: New file: loc test.
155
156 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
157
158         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
159
160 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
161
162         PR gas/19520
163         * NEWS: Mention new command line option -mrelax-relocations and
164         new configure option --enable-x86-relax-relocations for x86
165         target.
166         * config.in: Regenerated.
167         * configure.ac: Add --enable-x86-relax-relocations.
168         (ac_default_x86_relax_relocations): New.  Default to 1 except
169         for x86 Solaris targets older than Solaris 12.
170         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
171         * configure: Likewise.
172         * config/tc-i386.c (generate_relax_relocations): New.
173         (OPTION_MRELAX_RELOCATIONS): Likewise.
174         (output_disp): Don't generate relax relocations if
175         generate_relax_relocations is 0.
176         (md_longopts): Add -mrelax-relocations.
177         (md_show_usage): Likewise.
178         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
179         * doc/c-i386.texi: Document -mrelax-relocations=.
180         * testsuite/gas/i386/got-no-relax.d: New file.
181         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
182         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
183         * testsuite/gas/i386/localpic.d: Likewise.
184         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
185         * testsuite/gas/i386/reloc32.d: Likewise.
186         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
187         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
188         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
189         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
190         * testsuite/gas/i386/i386.exp: Run got-no-relax and
191         x86-64-gotpcrel-no-relax.
192
193 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
194
195         * NEWS: Mention new command line option -mfence-as-lock-add=yes
196         for x86 target.
197
198 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
199
200         * NEWS: Remove duplicated marker for 2.26.
201
202 2016-02-02  Renlin Li  <renlin.li@arm.com>
203
204         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
205
206 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
207
208         * testsuite/gas/ip2k/allinsn.d: New file.
209         * testsuite/gas/ip2k/allinsn.s: New file.
210         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
211
212 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
213
214         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
215         some load instructions.
216         * testsuite/gas/epiphany/allinsn.d: Likewise.
217         * testsuite/gas/epiphany/regression.d: Likewise.
218
219 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
220
221         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
222         suffixes from instruction mnemonics in expected output.
223         * testsuite/gas/epiphany/allinsn.d: Likewise.
224         * testsuite/gas/epiphany/regression.d: Likewise.
225         * testsuite/gas/epiphany/sample.d: Likewise.
226
227 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
228
229         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
230         names.
231         * testsuite/gas/epiphany/allinsn.d: Likewise.
232         * testsuite/gas/epiphany/sample.d: Likewise.
233
234 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
235
236         * testsuite/gas/epiphany/sample.d: Update expected output.
237
238 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
239
240         * config/tc-arc.c (md_apply_fix): Allow addendum.
241         (arc_reloc_op): Allow complex expressions for tpoff.
242         (md_apply_fix): Handle resolved TLS local symbol.
243
244         * testsuite/gas/arc/tls-relocs1.d: New file.
245         * testsuite/gas/arc/tls-relocs1.s: Likewise.
246
247 2016-02-01  Loria  <Loria@phantasia.org>
248
249         PR target/19311
250         * config/tc-arm.c (encode_arm_immediate): Recode to improve
251         efficiency and avoid an LLVM loop optimization bug.
252
253 2016-02-01  Nick Clifton  <nickc@redhat.com>
254
255         * config/tc-microblaze.c (parse_imm): Fix compile time warning
256         message extending a negative 32-bit value into a larger signed
257         value on a 32-bit host.
258
259 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
260
261         PR gas/19532
262         * configure.ac (compressed_debug_sections): Replace == with =.
263         * configure: Regenerated.
264
265 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
266             H.J. Lu  <hongjiu.lu@intel.com>
267
268         * config/tc-i386.c (avoid_fence): New.
269         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
270         is true.
271         (OPTION_FENCE_AS_LOCK_ADD): New.
272         (md_longopts): Add -mfence-as-lock-add.
273         (md_parse_option): Handle -mfence-as-lock-add.
274         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
275         * doc/c-i386.texi (-mfence-as-lock-add): Document.
276         * testsuite/gas/i386/i386.exp: Run new tests.
277         * testsuite/gas/i386/fence-as-lock-add.s: New.
278         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
279         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
280         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
281         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
282
283 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * configure.ac (compressed_debug_sections): Remove trailing `]'.
286         * configure: Regenerated.
287
288 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
289
290         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
291         (OPTION_MOMIT_LOCK_PREFIX): This.
292         (md_longopts): Updated.
293         (md_parse_option): Likewise.
294
295 2016-01-25  Catherine Moore  <clm@codesourcery.com>
296
297         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
298         if abicalls are in effect.
299         * testsuite/gas/mips/sdata-gp.s: New test.
300         * testsuite/gas/mips/sdata-gp.d: New expected output
301         * testsuite/gas/mips/mips.exp: Run new test.
302
303 2016-01-25  Renlin Li  <renlin.li@arm.com>
304
305         * testsuite/gas/arm/thumb2_it_search.d: New.
306         * testsuite/gas/arm/thumb2_it_search.s: New.
307
308 2016-01-21  Nick Clifton  <nickc@redhat.com>
309
310         PR gas/19454
311         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
312         with arm-netbsdelf target.
313         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
314
315 2016-01-20  Nick Clifton  <nickc@redhat.com>
316
317         PR 19456
318         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
319         * testsuite/gas/arm/blx-bl-convert.d
320         * testsuite/gas/arm/plt-1.d: Likewise.
321         * testsuite/gas/arm/reloc-bad.d: Likewise.
322         * testsuite/gas/arm/thumb-w-good.d: Likewise.
323         * testsuite/gas/arm/thumb2_pool.d: Likewise.
324         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
325         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
326
327         PR 19499
328         * doc/as.texinfo (Errors): Correct documentation describing the
329         interaction of .file and .line with warning and error messages.
330
331         PR 19458
332         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
333         * testsuite/gas/arm/archv8m-main.d: Likewise.
334         * testsuite/gas/arm/archv8m-base.d: Likewise.
335
336 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
337
338         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
339         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
340         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
341
342 2016-01-20  Mickael Guene  <mickael.guene@st.com>
343             Terry Guo  <terry.guo@arm.com>
344
345         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
346         SHF_ARM_NOREAD section flag.
347         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
348         handle letter 'y'.
349         (arm_elf_section_letter) : Declare it.
350         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
351         SHF_ARM_NOREAD section flag.
352         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
353
354         * testsuite/gas/arm/section-execute-only.s: New test case.
355         * testsuite/gas/arm/section-execute-only.d: Expected output.
356
357 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
358
359         * config/tc-mips.c (micromips_insn_length): Remove the mention
360         of 48-bit microMIPS instructions.
361
362 2016-01-18  Alan Modra  <amodra@gmail.com>
363
364         * configure: Regenerate.
365
366 2016-01-17  Alan Modra  <amodra@gmail.com>
367
368         * configure: Regenerate.
369
370 2016-01-17  Alan Modra  <amodra@gmail.com>
371
372         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
373
374 2016-01-14  Nick Clifton  <nickc@redhat.com>
375
376         * testsuite/gas/rl78/sp-relative-movw.s: New test.
377         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
378         * testsuite/gas/rl78/rl78.exp: Run the new test.
379
380 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
381
382         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
383         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
384
385 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
386
387         * config/tc-nios2.c (output_movia): Preset `code' to 0.
388
389 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
390
391         * config/tc-h8300.c (get_operand): Remove spurious condition in
392         test for closing parenthesis.
393
394 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
395
396         * config/tc-arm.c (arm_ext_v8_2): New.
397         (insns): Add "esb".
398         * testsuite/gas/arm/armv8_2-a.d: New.
399         * testsuite/gas/arm/armv8_2-a.s: New.
400
401 2016-01-12  Alan Modra  <amodra@gmail.com>
402
403         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
404
405 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
406
407         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
408         xvcmpnesp, xvcmpnesp.>: Delete tests.
409         * testsuite/gas/ppc/power9.s: Likewise.
410         * testsuite/gas/ppc/vsx3.d: Likewise.
411         * testsuite/gas/ppc/vsx3.s: Likewise.
412
413 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
414
415         PR gas/13050
416         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
417         * testsuite/gas/m68k/p13050-1.s: New file.
418         * testsuite/gas/m68k/p13050-2.d: New file.
419         * testsuite/gas/m68k/p13050-2.s: New file.
420
421 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
422
423         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
424         * testsuite/gas/arc/add.d: Likewise.
425         * testsuite/gas/arc/and.d: Likewise.
426         * testsuite/gas/arc/asl.d: Likewise.
427         * testsuite/gas/arc/asr.d: Likewise.
428         * testsuite/gas/arc/bic.d: Likewise.
429         * testsuite/gas/arc/extb.d: Likewise.
430         * testsuite/gas/arc/extw.d: Likewise.
431         * testsuite/gas/arc/j.d: Likewise.
432         * testsuite/gas/arc/jl.d: Likewise.
433         * testsuite/gas/arc/ld2.d: Likewise.
434         * testsuite/gas/arc/lsr.d: Likewise.
435         * testsuite/gas/arc/mov.d: Likewise.
436         * testsuite/gas/arc/or.d: Likewise.
437         * testsuite/gas/arc/pcl-relocs.d: Likewise.
438         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
439         * testsuite/gas/arc/pic-relocs.d: Likewise.
440         * testsuite/gas/arc/plt-relocs.d: Likewise.
441         * testsuite/gas/arc/rlc.d: Likewise.
442         * testsuite/gas/arc/ror.d: Likewise.
443         * testsuite/gas/arc/rrc.d: Likewise.
444         * testsuite/gas/arc/sbc.d: Likewise.
445         * testsuite/gas/arc/sda-relocs.d: Likewise.
446         * testsuite/gas/arc/sda-relocs2.d: Likewise.
447         * testsuite/gas/arc/sexb.d: Likewise.
448         * testsuite/gas/arc/sexw.d: Likewise.
449         * testsuite/gas/arc/st.d: Likewise.
450         * testsuite/gas/arc/sub.d: Likewise.
451         * testsuite/gas/arc/tls-relocs.d: Likewise.
452         * testsuite/gas/arc/xor.d: Likewise.
453
454 2016-01-01  Alan Modra  <amodra@gmail.com>
455
456         Update year range in copyright notice of all files.
457
458 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
459 \f
460 Copyright (C) 2016 Free Software Foundation, Inc.
461
462 Copying and distribution of this file, with or without modification,
463 are permitted in any medium without royalty provided the copyright
464 notice and this notice are preserved.
465
466 Local Variables:
467 mode: change-log
468 left-margin: 8
469 fill-column: 74
470 version-control: never
471 End: