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