1 2016-02-16 Nick Clifton <nickc@redhat.com>
3 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
6 2016-02-16 Renlin Li <renlin.li@arm.com>
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.
13 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
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.
23 2016-02-15 Nick Clifton <nickc@redhat.com>
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
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
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.
45 2016-02-11 Nick Clifton <nickc@redhat.com>
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.
65 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
66 Janek van Oirschot <jvanoirs@synopsys.com>
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):
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.
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.
107 2016-02-08 Nick Clifton <nickc@redhat.com>
109 * config/tc-ia64.c (dot_prologue): Fix formatting.
111 2016-02-04 Nick Clifton <nickc@redhat.com>
113 * config/obj-elf.c (obj_elf_change_section): Remove support for
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.
121 2016-02-04 Nick Clifton <nickc@redhat.com>
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
128 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
130 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
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.
138 2016-02-03 Kevin Buettner <kevinb@redhat.com>
140 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
142 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
145 * NEWS: Mention new command line option -mrelax-relocations and
146 new configure option --enable-x86-relax-relocations for x86
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.
175 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
177 * NEWS: Mention new command line option -mfence-as-lock-add=yes
180 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
182 * NEWS: Remove duplicated marker for 2.26.
184 2016-02-02 Renlin Li <renlin.li@arm.com>
186 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
188 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
194 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
201 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
209 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
211 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
213 * testsuite/gas/epiphany/allinsn.d: Likewise.
214 * testsuite/gas/epiphany/sample.d: Likewise.
216 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
218 * testsuite/gas/epiphany/sample.d: Update expected output.
220 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
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.
226 * testsuite/gas/arc/tls-relocs1.d: New file.
227 * testsuite/gas/arc/tls-relocs1.s: Likewise.
229 2016-02-01 Loria <Loria@phantasia.org>
232 * config/tc-arm.c (encode_arm_immediate): Recode to improve
233 efficiency and avoid an LLVM loop optimization bug.
235 2016-02-01 Nick Clifton <nickc@redhat.com>
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.
241 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
244 * configure.ac (compressed_debug_sections): Replace == with =.
245 * configure: Regenerated.
247 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
248 H.J. Lu <hongjiu.lu@intel.com>
250 * config/tc-i386.c (avoid_fence): New.
251 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
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.
265 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
267 * configure.ac (compressed_debug_sections): Remove trailing `]'.
268 * configure: Regenerated.
270 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
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.
277 2016-01-25 Catherine Moore <clm@codesourcery.com>
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.
285 2016-01-25 Renlin Li <renlin.li@arm.com>
287 * testsuite/gas/arm/thumb2_it_search.d: New.
288 * testsuite/gas/arm/thumb2_it_search.s: New.
290 2016-01-21 Nick Clifton <nickc@redhat.com>
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.
297 2016-01-20 Nick Clifton <nickc@redhat.com>
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.
310 * doc/as.texinfo (Errors): Correct documentation describing the
311 interaction of .file and .line with warning and error messages.
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.
318 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
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.
324 2016-01-20 Mickael Guene <mickael.guene@st.com>
325 Terry Guo <terry.guo@arm.com>
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
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.
336 * testsuite/gas/arm/section-execute-only.s: New test case.
337 * testsuite/gas/arm/section-execute-only.d: Expected output.
339 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
341 * config/tc-mips.c (micromips_insn_length): Remove the mention
342 of 48-bit microMIPS instructions.
344 2016-01-18 Alan Modra <amodra@gmail.com>
346 * configure: Regenerate.
348 2016-01-17 Alan Modra <amodra@gmail.com>
350 * configure: Regenerate.
352 2016-01-17 Alan Modra <amodra@gmail.com>
354 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
356 2016-01-14 Nick Clifton <nickc@redhat.com>
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.
362 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
364 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
365 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
367 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
369 * config/tc-nios2.c (output_movia): Preset `code' to 0.
371 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
373 * config/tc-h8300.c (get_operand): Remove spurious condition in
374 test for closing parenthesis.
376 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
378 * config/tc-arm.c (arm_ext_v8_2): New.
380 * testsuite/gas/arm/armv8_2-a.d: New.
381 * testsuite/gas/arm/armv8_2-a.s: New.
383 2016-01-12 Alan Modra <amodra@gmail.com>
385 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
387 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
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.
395 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
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.
403 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
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.
436 2016-01-01 Alan Modra <amodra@gmail.com>
438 Update year range in copyright notice of all files.
440 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
442 Copyright (C) 2016 Free Software Foundation, Inc.
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.
452 version-control: never