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