1 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2 Nick Clifton <nickc@redhat.com>
4 * read.c (finish_bundle): Avoid recording a negative alignment.
5 (do_align): Use unsigned values for n, len and max. Only create
6 a frag if the alignment requirement is greater than the minimum
7 byte alignment. Avoid recording a negative alignment.
8 (s_align): Use unsigned values where appropriate.
9 (bss_alloc): Use an unsigned value for the alignment.
10 (sizeof_sleb128): Add a comment noting that we encode one octet
11 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
12 (emit_leb129_expr): Abort if the emitted encoding was longer than
14 * read.h (output_leb128): Update prototype.
15 (sizeof_leb128): Update prototype.
16 (bss_alloc): Update prototype.
17 * write.c (record_alignment): Use an unsigned value for the
18 alignment. Do not record alignments less than the minimum
20 * write.h (record_alignment): Update prototype.
22 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
24 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
25 .init.literal/.fini.literal section name.
26 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
28 * testsuite/gas/xtensa/init-fini-literals.d: New file:
29 init-fini-literals test result patterns.
30 * testsuite/gas/xtensa/init-fini-literals.s: New file:
31 init-fini-literals test.
33 2016-02-17 Nick Clifton <nickc@redhat.com>
35 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
36 devices.csv file as of March 2016.
38 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
40 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
42 (tc_arc_regname_to_dw2regnum): Likewise.
43 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
44 (tc_cfi_frame_initial_instructions): Likewise.
45 (tc_regname_to_dw2regnum): Likewise.
47 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
49 * doc/internals.texi (S_IS_EXTERN): Remove.
51 2016-02-16 Nick Clifton <nickc@redhat.com>
53 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
56 2016-02-16 Renlin Li <renlin.li@arm.com>
59 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
60 * testsuite/gas/aarch64/movw_label.d: New.
61 * testsuite/gas/aarch64/movw_label.s: New.
63 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
66 * config/rx-parse.y (MOV): Opcode generation for index
67 register addressing mode.
68 * testsuite/gas/rx/rx.exp: Updated for new testcase.
69 * testsuite/gas/rx/pr19665.s: New file.
70 * testsuite/gas/rx/pr19665.s: New file.
71 * testsuite/gas/rx/mov.d: Update expected output.
73 2016-02-15 Nick Clifton <nickc@redhat.com>
75 * doc/as.texinfo (.section): Document that numeric values can now
76 be used for the flags and type fields of the ELF target's .section
77 directive. Add notes about the restrictions on setting flags and
79 * config/obj-elf.c (obj_elf_change_section): Allow known sections
80 to be given processor specific section types. Allow processor and
81 application specific flags of a section to be set after
83 (obj_elf_parse_section_letters): Handle parsing numeric values.
84 (obj_elf_section_type): Handle parsing numeric values.
85 (obj_elf_section): Allow numeric type values.
86 * config/obj-elf.h (obj_elf_change_section): Update prototype.
87 * testsuite/gas/elf/section10.d: New test.
88 * testsuite/gas/elf/section10.s: Source file for new test.
89 * testsuite/gas/elf/elf.exp: Run the new test.
90 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
91 the description of the flags produced by readelf.
92 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
93 * NEWS: Mention the new feature.
95 2016-02-11 Nick Clifton <nickc@redhat.com>
98 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
99 until it is actually used.
100 (cfi_set_sections): Set cfi_sections_set to true.
101 (dot_cfi_startproc): Likewise.
102 (dot_cfi_endproc): Likewise.
103 (dot_cfi_fde_data): Likewise.
104 (cfi_finish): Likewise.
105 (dot_cfi_sections): Do not set cfi_sections_set.
106 * doc/as.texinfo (.cfi_sections): Note that targets can provide
107 their own cfi section name. Also note that the directive can be
108 reissued provided that CFI generation has not started.
109 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
110 .cfi_endproc directives so that the redefinition of .cfi_sections
111 will trigger the generation of the error message.
112 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
113 number of error message.
115 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
116 Janek van Oirschot <jvanoirs@synopsys.com>
118 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
119 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
121 (arc_flags, arc_relax_type): New structure.
122 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
123 (RELAX_TABLE_ENTRY_MAX): New define.
124 (relaxation_state, md_relax_table, arc_relaxable_insns)
125 (arc_num_relaxable_ins): New variable.
126 (rlx_operand_type, arc_rlx_types): New enums.
127 (arc_relaxable_ins): New structure.
128 (OPTION_RELAX): New option.
129 (arc_insn): New relax member.
131 (relax_insn_p): New function.
132 (apply_fixups): Likewise.
133 (relaxable_operand): Likewise.
134 (may_relax_expr): Likewise.
135 (relaxable_flag): Likewise.
136 (arc_pcrel_adjust): Likewise.
137 (md_estimate_size_before_relax): Implement.
138 (md_convert_frag): Likewise.
139 (md_parse_option): Handle new mrelax option.
140 (md_show_usage): Likewise.
141 (assemble_insn): Set relax member.
142 (emit_insn0): New function.
143 (emit_insn1): Likewise.
144 (emit_insn): Handle relaxation case.
145 * NEWS: Mention the new relaxation option.
146 * doc/c-arc.texi (ARC Options): Document new mrelax option.
147 * doc/as.texinfo (Target ARC Options): Likewise.
148 * testsuite/gas/arc/relax-avoid1.d: New file.
149 * testsuite/gas/arc/relax-avoid1.s: Likewise.
150 * testsuite/gas/arc/relax-avoid2.d: Likewise.
151 * testsuite/gas/arc/relax-avoid2.s: Likewise.
152 * testsuite/gas/arc/relax-avoid3.d: Likewise.
153 * testsuite/gas/arc/relax-avoid3.s: Likewise.
154 * testsuite/gas/arc/relax-b.d: Likewise.
155 * testsuite/gas/arc/relax-b.s: Likewise.
157 2016-02-08 Nick Clifton <nickc@redhat.com>
159 * config/tc-ia64.c (dot_prologue): Fix formatting.
161 2016-02-04 Nick Clifton <nickc@redhat.com>
163 * config/obj-elf.c (obj_elf_change_section): Remove support for
165 * config/tc-arm.c (arm_elf_section_letter): Delete.
166 * config/tc-arm.h (md_elf_section_letter): Delete.
167 * doc/c-arm.texi (ARM Section Attribute): Delete section.
168 * testsuite/gas/arm/section-execute-only.d: Delete.
169 * testsuite/gas/arm/section-execute-only.s: Delete.
171 2016-02-04 Nick Clifton <nickc@redhat.com>
174 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
175 to handle encoding of RRUX instruction.
176 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
178 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
180 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
182 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
183 substitutions for BFD_RELOC_* as unsigned.
184 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
185 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
186 * testsuite/gas/xtensa/loc.s: New file: loc test.
188 2016-02-03 Kevin Buettner <kevinb@redhat.com>
190 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
192 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
195 * NEWS: Mention new command line option -mrelax-relocations and
196 new configure option --enable-x86-relax-relocations for x86
198 * config.in: Regenerated.
199 * configure.ac: Add --enable-x86-relax-relocations.
200 (ac_default_x86_relax_relocations): New. Default to 1 except
201 for x86 Solaris targets older than Solaris 12.
202 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
203 * configure: Likewise.
204 * config/tc-i386.c (generate_relax_relocations): New.
205 (OPTION_MRELAX_RELOCATIONS): Likewise.
206 (output_disp): Don't generate relax relocations if
207 generate_relax_relocations is 0.
208 (md_longopts): Add -mrelax-relocations.
209 (md_show_usage): Likewise.
210 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
211 * doc/c-i386.texi: Document -mrelax-relocations=.
212 * testsuite/gas/i386/got-no-relax.d: New file.
213 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
214 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
215 * testsuite/gas/i386/localpic.d: Likewise.
216 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
217 * testsuite/gas/i386/reloc32.d: Likewise.
218 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
219 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
220 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
221 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
222 * testsuite/gas/i386/i386.exp: Run got-no-relax and
223 x86-64-gotpcrel-no-relax.
225 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
227 * NEWS: Mention new command line option -mfence-as-lock-add=yes
230 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
232 * NEWS: Remove duplicated marker for 2.26.
234 2016-02-02 Renlin Li <renlin.li@arm.com>
236 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
238 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
240 * testsuite/gas/ip2k/allinsn.d: New file.
241 * testsuite/gas/ip2k/allinsn.s: New file.
242 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
244 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
246 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
247 some load instructions.
248 * testsuite/gas/epiphany/allinsn.d: Likewise.
249 * testsuite/gas/epiphany/regression.d: Likewise.
251 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
253 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
254 suffixes from instruction mnemonics in expected output.
255 * testsuite/gas/epiphany/allinsn.d: Likewise.
256 * testsuite/gas/epiphany/regression.d: Likewise.
257 * testsuite/gas/epiphany/sample.d: Likewise.
259 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
261 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
263 * testsuite/gas/epiphany/allinsn.d: Likewise.
264 * testsuite/gas/epiphany/sample.d: Likewise.
266 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
268 * testsuite/gas/epiphany/sample.d: Update expected output.
270 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
272 * config/tc-arc.c (md_apply_fix): Allow addendum.
273 (arc_reloc_op): Allow complex expressions for tpoff.
274 (md_apply_fix): Handle resolved TLS local symbol.
276 * testsuite/gas/arc/tls-relocs1.d: New file.
277 * testsuite/gas/arc/tls-relocs1.s: Likewise.
279 2016-02-01 Loria <Loria@phantasia.org>
282 * config/tc-arm.c (encode_arm_immediate): Recode to improve
283 efficiency and avoid an LLVM loop optimization bug.
285 2016-02-01 Nick Clifton <nickc@redhat.com>
287 * config/tc-microblaze.c (parse_imm): Fix compile time warning
288 message extending a negative 32-bit value into a larger signed
289 value on a 32-bit host.
291 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
294 * configure.ac (compressed_debug_sections): Replace == with =.
295 * configure: Regenerated.
297 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
298 H.J. Lu <hongjiu.lu@intel.com>
300 * config/tc-i386.c (avoid_fence): New.
301 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
303 (OPTION_FENCE_AS_LOCK_ADD): New.
304 (md_longopts): Add -mfence-as-lock-add.
305 (md_parse_option): Handle -mfence-as-lock-add.
306 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
307 * doc/c-i386.texi (-mfence-as-lock-add): Document.
308 * testsuite/gas/i386/i386.exp: Run new tests.
309 * testsuite/gas/i386/fence-as-lock-add.s: New.
310 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
311 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
312 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
313 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
315 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
317 * configure.ac (compressed_debug_sections): Remove trailing `]'.
318 * configure: Regenerated.
320 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
322 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
323 (OPTION_MOMIT_LOCK_PREFIX): This.
324 (md_longopts): Updated.
325 (md_parse_option): Likewise.
327 2016-01-25 Catherine Moore <clm@codesourcery.com>
329 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
330 if abicalls are in effect.
331 * testsuite/gas/mips/sdata-gp.s: New test.
332 * testsuite/gas/mips/sdata-gp.d: New expected output
333 * testsuite/gas/mips/mips.exp: Run new test.
335 2016-01-25 Renlin Li <renlin.li@arm.com>
337 * testsuite/gas/arm/thumb2_it_search.d: New.
338 * testsuite/gas/arm/thumb2_it_search.s: New.
340 2016-01-21 Nick Clifton <nickc@redhat.com>
343 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
344 with arm-netbsdelf target.
345 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
347 2016-01-20 Nick Clifton <nickc@redhat.com>
350 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
351 * testsuite/gas/arm/blx-bl-convert.d
352 * testsuite/gas/arm/plt-1.d: Likewise.
353 * testsuite/gas/arm/reloc-bad.d: Likewise.
354 * testsuite/gas/arm/thumb-w-good.d: Likewise.
355 * testsuite/gas/arm/thumb2_pool.d: Likewise.
356 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
357 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
360 * doc/as.texinfo (Errors): Correct documentation describing the
361 interaction of .file and .line with warning and error messages.
364 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
365 * testsuite/gas/arm/archv8m-main.d: Likewise.
366 * testsuite/gas/arm/archv8m-base.d: Likewise.
368 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
370 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
371 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
372 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
374 2016-01-20 Mickael Guene <mickael.guene@st.com>
375 Terry Guo <terry.guo@arm.com>
377 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
378 SHF_ARM_NOREAD section flag.
379 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
381 (arm_elf_section_letter) : Declare it.
382 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
383 SHF_ARM_NOREAD section flag.
384 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
386 * testsuite/gas/arm/section-execute-only.s: New test case.
387 * testsuite/gas/arm/section-execute-only.d: Expected output.
389 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
391 * config/tc-mips.c (micromips_insn_length): Remove the mention
392 of 48-bit microMIPS instructions.
394 2016-01-18 Alan Modra <amodra@gmail.com>
396 * configure: Regenerate.
398 2016-01-17 Alan Modra <amodra@gmail.com>
400 * configure: Regenerate.
402 2016-01-17 Alan Modra <amodra@gmail.com>
404 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
406 2016-01-14 Nick Clifton <nickc@redhat.com>
408 * testsuite/gas/rl78/sp-relative-movw.s: New test.
409 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
410 * testsuite/gas/rl78/rl78.exp: Run the new test.
412 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
414 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
415 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
417 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
419 * config/tc-nios2.c (output_movia): Preset `code' to 0.
421 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
423 * config/tc-h8300.c (get_operand): Remove spurious condition in
424 test for closing parenthesis.
426 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
428 * config/tc-arm.c (arm_ext_v8_2): New.
430 * testsuite/gas/arm/armv8_2-a.d: New.
431 * testsuite/gas/arm/armv8_2-a.s: New.
433 2016-01-12 Alan Modra <amodra@gmail.com>
435 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
437 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
439 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
440 xvcmpnesp, xvcmpnesp.>: Delete tests.
441 * testsuite/gas/ppc/power9.s: Likewise.
442 * testsuite/gas/ppc/vsx3.d: Likewise.
443 * testsuite/gas/ppc/vsx3.s: Likewise.
445 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
448 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
449 * testsuite/gas/m68k/p13050-1.s: New file.
450 * testsuite/gas/m68k/p13050-2.d: New file.
451 * testsuite/gas/m68k/p13050-2.s: New file.
453 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
455 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
456 * testsuite/gas/arc/add.d: Likewise.
457 * testsuite/gas/arc/and.d: Likewise.
458 * testsuite/gas/arc/asl.d: Likewise.
459 * testsuite/gas/arc/asr.d: Likewise.
460 * testsuite/gas/arc/bic.d: Likewise.
461 * testsuite/gas/arc/extb.d: Likewise.
462 * testsuite/gas/arc/extw.d: Likewise.
463 * testsuite/gas/arc/j.d: Likewise.
464 * testsuite/gas/arc/jl.d: Likewise.
465 * testsuite/gas/arc/ld2.d: Likewise.
466 * testsuite/gas/arc/lsr.d: Likewise.
467 * testsuite/gas/arc/mov.d: Likewise.
468 * testsuite/gas/arc/or.d: Likewise.
469 * testsuite/gas/arc/pcl-relocs.d: Likewise.
470 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
471 * testsuite/gas/arc/pic-relocs.d: Likewise.
472 * testsuite/gas/arc/plt-relocs.d: Likewise.
473 * testsuite/gas/arc/rlc.d: Likewise.
474 * testsuite/gas/arc/ror.d: Likewise.
475 * testsuite/gas/arc/rrc.d: Likewise.
476 * testsuite/gas/arc/sbc.d: Likewise.
477 * testsuite/gas/arc/sda-relocs.d: Likewise.
478 * testsuite/gas/arc/sda-relocs2.d: Likewise.
479 * testsuite/gas/arc/sexb.d: Likewise.
480 * testsuite/gas/arc/sexw.d: Likewise.
481 * testsuite/gas/arc/st.d: Likewise.
482 * testsuite/gas/arc/sub.d: Likewise.
483 * testsuite/gas/arc/tls-relocs.d: Likewise.
484 * testsuite/gas/arc/xor.d: Likewise.
486 2016-01-01 Alan Modra <amodra@gmail.com>
488 Update year range in copyright notice of all files.
490 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
492 Copyright (C) 2016 Free Software Foundation, Inc.
494 Copying and distribution of this file, with or without modification,
495 are permitted in any medium without royalty provided the copyright
496 notice and this notice are preserved.
502 version-control: never