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