1 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
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.
11 2016-02-15 Nick Clifton <nickc@redhat.com>
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
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
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.
33 2016-02-11 Nick Clifton <nickc@redhat.com>
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.
53 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
54 Janek van Oirschot <jvanoirs@synopsys.com>
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):
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.
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.
95 2016-02-08 Nick Clifton <nickc@redhat.com>
97 * config/tc-ia64.c (dot_prologue): Fix formatting.
99 2016-02-04 Nick Clifton <nickc@redhat.com>
101 * config/obj-elf.c (obj_elf_change_section): Remove support for
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.
109 2016-02-04 Nick Clifton <nickc@redhat.com>
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
116 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
118 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
120 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
121 substitutions for BFD_RELOC_* as unsigned.
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.
126 2016-02-03 Kevin Buettner <kevinb@redhat.com>
128 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
130 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
133 * NEWS: Mention new command line option -mrelax-relocations and
134 new configure option --enable-x86-relax-relocations for x86
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.
163 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
165 * NEWS: Mention new command line option -mfence-as-lock-add=yes
168 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
170 * NEWS: Remove duplicated marker for 2.26.
172 2016-02-02 Renlin Li <renlin.li@arm.com>
174 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
176 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
182 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
189 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
197 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
199 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
201 * testsuite/gas/epiphany/allinsn.d: Likewise.
202 * testsuite/gas/epiphany/sample.d: Likewise.
204 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
206 * testsuite/gas/epiphany/sample.d: Update expected output.
208 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
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.
214 * testsuite/gas/arc/tls-relocs1.d: New file.
215 * testsuite/gas/arc/tls-relocs1.s: Likewise.
217 2016-02-01 Loria <Loria@phantasia.org>
220 * config/tc-arm.c (encode_arm_immediate): Recode to improve
221 efficiency and avoid an LLVM loop optimization bug.
223 2016-02-01 Nick Clifton <nickc@redhat.com>
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.
229 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
232 * configure.ac (compressed_debug_sections): Replace == with =.
233 * configure: Regenerated.
235 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
236 H.J. Lu <hongjiu.lu@intel.com>
238 * config/tc-i386.c (avoid_fence): New.
239 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
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.
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.
253 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
255 * configure.ac (compressed_debug_sections): Remove trailing `]'.
256 * configure: Regenerated.
258 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
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.
265 2016-01-25 Catherine Moore <clm@codesourcery.com>
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.
273 2016-01-25 Renlin Li <renlin.li@arm.com>
275 * testsuite/gas/arm/thumb2_it_search.d: New.
276 * testsuite/gas/arm/thumb2_it_search.s: New.
278 2016-01-21 Nick Clifton <nickc@redhat.com>
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.
285 2016-01-20 Nick Clifton <nickc@redhat.com>
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.
298 * doc/as.texinfo (Errors): Correct documentation describing the
299 interaction of .file and .line with warning and error messages.
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.
306 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
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.
312 2016-01-20 Mickael Guene <mickael.guene@st.com>
313 Terry Guo <terry.guo@arm.com>
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
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.
324 * testsuite/gas/arm/section-execute-only.s: New test case.
325 * testsuite/gas/arm/section-execute-only.d: Expected output.
327 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
329 * config/tc-mips.c (micromips_insn_length): Remove the mention
330 of 48-bit microMIPS instructions.
332 2016-01-18 Alan Modra <amodra@gmail.com>
334 * configure: Regenerate.
336 2016-01-17 Alan Modra <amodra@gmail.com>
338 * configure: Regenerate.
340 2016-01-17 Alan Modra <amodra@gmail.com>
342 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
344 2016-01-14 Nick Clifton <nickc@redhat.com>
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.
350 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
352 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
353 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
355 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
357 * config/tc-nios2.c (output_movia): Preset `code' to 0.
359 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
361 * config/tc-h8300.c (get_operand): Remove spurious condition in
362 test for closing parenthesis.
364 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
366 * config/tc-arm.c (arm_ext_v8_2): New.
368 * testsuite/gas/arm/armv8_2-a.d: New.
369 * testsuite/gas/arm/armv8_2-a.s: New.
371 2016-01-12 Alan Modra <amodra@gmail.com>
373 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
375 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
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.
383 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
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.
391 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
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.
424 2016-01-01 Alan Modra <amodra@gmail.com>
426 Update year range in copyright notice of all files.
428 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
430 Copyright (C) 2016 Free Software Foundation, Inc.
432 Copying and distribution of this file, with or without modification,
433 are permitted in any medium without royalty provided the copyright
434 notice and this notice are preserved.
440 version-control: never