1 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2 Jiong Wang <jiong.wang@arm.com>
4 * config/tc-arm.c (arm_ext_fp16): New.
5 (arm_extensions): New entry for "fp16".
7 2016-02-19 Nick Clifton <nickc@redhat.com>
10 * read.c (read_a_source_file): Check for assemble_one returning
11 with input_line_pointer set to NULL.
13 016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
15 * listing.c (rebuffer_line): Change return type to void.
17 * symbols.c (decode_local_label_name): Make type a const char *.
18 * listing.c (print_source): Make type of p const char *.
19 (print_line): Make type of string const char *.
20 (buffer_line): Return const char *.
21 (title): Make type const char *.
23 (listing_listing): Make type of p const char *.
24 * messages.c (as_internal_value_out_of_range): Make type of prefix
26 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
27 and string const char *.
28 * read.c (_bfd_rel): Make type of name const char *.
29 * app.c (out_string): Change type to const char *.
30 (struct app_save::out_string): Likewise.
32 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
33 Nick Clifton <nickc@redhat.com>
35 * read.c (finish_bundle): Avoid recording a negative alignment.
36 (do_align): Use unsigned values for n, len and max. Only create
37 a frag if the alignment requirement is greater than the minimum
38 byte alignment. Avoid recording a negative alignment.
39 (s_align): Use unsigned values where appropriate.
40 (bss_alloc): Use an unsigned value for the alignment.
41 (sizeof_sleb128): Add a comment noting that we encode one octet
42 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
43 (emit_leb129_expr): Abort if the emitted encoding was longer than
45 * read.h (output_leb128): Update prototype.
46 (sizeof_leb128): Update prototype.
47 (bss_alloc): Update prototype.
48 * write.c (record_alignment): Use an unsigned value for the
49 alignment. Do not record alignments less than the minimum
51 * write.h (record_alignment): Update prototype.
53 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
55 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
56 .init.literal/.fini.literal section name.
57 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
59 * testsuite/gas/xtensa/init-fini-literals.d: New file:
60 init-fini-literals test result patterns.
61 * testsuite/gas/xtensa/init-fini-literals.s: New file:
62 init-fini-literals test.
64 2016-02-17 Nick Clifton <nickc@redhat.com>
66 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
67 devices.csv file as of March 2016.
69 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
71 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
73 (tc_arc_regname_to_dw2regnum): Likewise.
74 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
75 (tc_cfi_frame_initial_instructions): Likewise.
76 (tc_regname_to_dw2regnum): Likewise.
78 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
80 * doc/internals.texi (S_IS_EXTERN): Remove.
82 2016-02-16 Nick Clifton <nickc@redhat.com>
84 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
87 2016-02-16 Renlin Li <renlin.li@arm.com>
90 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
91 * testsuite/gas/aarch64/movw_label.d: New.
92 * testsuite/gas/aarch64/movw_label.s: New.
94 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
97 * config/rx-parse.y (MOV): Opcode generation for index
98 register addressing mode.
99 * testsuite/gas/rx/rx.exp: Updated for new testcase.
100 * testsuite/gas/rx/pr19665.s: New file.
101 * testsuite/gas/rx/pr19665.s: New file.
102 * testsuite/gas/rx/mov.d: Update expected output.
104 2016-02-15 Nick Clifton <nickc@redhat.com>
106 * doc/as.texinfo (.section): Document that numeric values can now
107 be used for the flags and type fields of the ELF target's .section
108 directive. Add notes about the restrictions on setting flags and
110 * config/obj-elf.c (obj_elf_change_section): Allow known sections
111 to be given processor specific section types. Allow processor and
112 application specific flags of a section to be set after
114 (obj_elf_parse_section_letters): Handle parsing numeric values.
115 (obj_elf_section_type): Handle parsing numeric values.
116 (obj_elf_section): Allow numeric type values.
117 * config/obj-elf.h (obj_elf_change_section): Update prototype.
118 * testsuite/gas/elf/section10.d: New test.
119 * testsuite/gas/elf/section10.s: Source file for new test.
120 * testsuite/gas/elf/elf.exp: Run the new test.
121 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
122 the description of the flags produced by readelf.
123 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
124 * NEWS: Mention the new feature.
126 2016-02-11 Nick Clifton <nickc@redhat.com>
129 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
130 until it is actually used.
131 (cfi_set_sections): Set cfi_sections_set to true.
132 (dot_cfi_startproc): Likewise.
133 (dot_cfi_endproc): Likewise.
134 (dot_cfi_fde_data): Likewise.
135 (cfi_finish): Likewise.
136 (dot_cfi_sections): Do not set cfi_sections_set.
137 * doc/as.texinfo (.cfi_sections): Note that targets can provide
138 their own cfi section name. Also note that the directive can be
139 reissued provided that CFI generation has not started.
140 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
141 .cfi_endproc directives so that the redefinition of .cfi_sections
142 will trigger the generation of the error message.
143 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
144 number of error message.
146 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
147 Janek van Oirschot <jvanoirs@synopsys.com>
149 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
150 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
152 (arc_flags, arc_relax_type): New structure.
153 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
154 (RELAX_TABLE_ENTRY_MAX): New define.
155 (relaxation_state, md_relax_table, arc_relaxable_insns)
156 (arc_num_relaxable_ins): New variable.
157 (rlx_operand_type, arc_rlx_types): New enums.
158 (arc_relaxable_ins): New structure.
159 (OPTION_RELAX): New option.
160 (arc_insn): New relax member.
162 (relax_insn_p): New function.
163 (apply_fixups): Likewise.
164 (relaxable_operand): Likewise.
165 (may_relax_expr): Likewise.
166 (relaxable_flag): Likewise.
167 (arc_pcrel_adjust): Likewise.
168 (md_estimate_size_before_relax): Implement.
169 (md_convert_frag): Likewise.
170 (md_parse_option): Handle new mrelax option.
171 (md_show_usage): Likewise.
172 (assemble_insn): Set relax member.
173 (emit_insn0): New function.
174 (emit_insn1): Likewise.
175 (emit_insn): Handle relaxation case.
176 * NEWS: Mention the new relaxation option.
177 * doc/c-arc.texi (ARC Options): Document new mrelax option.
178 * doc/as.texinfo (Target ARC Options): Likewise.
179 * testsuite/gas/arc/relax-avoid1.d: New file.
180 * testsuite/gas/arc/relax-avoid1.s: Likewise.
181 * testsuite/gas/arc/relax-avoid2.d: Likewise.
182 * testsuite/gas/arc/relax-avoid2.s: Likewise.
183 * testsuite/gas/arc/relax-avoid3.d: Likewise.
184 * testsuite/gas/arc/relax-avoid3.s: Likewise.
185 * testsuite/gas/arc/relax-b.d: Likewise.
186 * testsuite/gas/arc/relax-b.s: Likewise.
188 2016-02-08 Nick Clifton <nickc@redhat.com>
190 * config/tc-ia64.c (dot_prologue): Fix formatting.
192 2016-02-04 Nick Clifton <nickc@redhat.com>
194 * config/obj-elf.c (obj_elf_change_section): Remove support for
196 * config/tc-arm.c (arm_elf_section_letter): Delete.
197 * config/tc-arm.h (md_elf_section_letter): Delete.
198 * doc/c-arm.texi (ARM Section Attribute): Delete section.
199 * testsuite/gas/arm/section-execute-only.d: Delete.
200 * testsuite/gas/arm/section-execute-only.s: Delete.
202 2016-02-04 Nick Clifton <nickc@redhat.com>
205 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
206 to handle encoding of RRUX instruction.
207 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
209 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
211 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
213 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
214 substitutions for BFD_RELOC_* as unsigned.
215 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
216 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
217 * testsuite/gas/xtensa/loc.s: New file: loc test.
219 2016-02-03 Kevin Buettner <kevinb@redhat.com>
221 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
223 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
226 * NEWS: Mention new command line option -mrelax-relocations and
227 new configure option --enable-x86-relax-relocations for x86
229 * config.in: Regenerated.
230 * configure.ac: Add --enable-x86-relax-relocations.
231 (ac_default_x86_relax_relocations): New. Default to 1 except
232 for x86 Solaris targets older than Solaris 12.
233 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
234 * configure: Likewise.
235 * config/tc-i386.c (generate_relax_relocations): New.
236 (OPTION_MRELAX_RELOCATIONS): Likewise.
237 (output_disp): Don't generate relax relocations if
238 generate_relax_relocations is 0.
239 (md_longopts): Add -mrelax-relocations.
240 (md_show_usage): Likewise.
241 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
242 * doc/c-i386.texi: Document -mrelax-relocations=.
243 * testsuite/gas/i386/got-no-relax.d: New file.
244 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
245 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
246 * testsuite/gas/i386/localpic.d: Likewise.
247 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
248 * testsuite/gas/i386/reloc32.d: Likewise.
249 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
250 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
251 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
252 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
253 * testsuite/gas/i386/i386.exp: Run got-no-relax and
254 x86-64-gotpcrel-no-relax.
256 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
258 * NEWS: Mention new command line option -mfence-as-lock-add=yes
261 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
263 * NEWS: Remove duplicated marker for 2.26.
265 2016-02-02 Renlin Li <renlin.li@arm.com>
267 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
269 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
271 * testsuite/gas/ip2k/allinsn.d: New file.
272 * testsuite/gas/ip2k/allinsn.s: New file.
273 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
275 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
277 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
278 some load instructions.
279 * testsuite/gas/epiphany/allinsn.d: Likewise.
280 * testsuite/gas/epiphany/regression.d: Likewise.
282 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
284 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
285 suffixes from instruction mnemonics in expected output.
286 * testsuite/gas/epiphany/allinsn.d: Likewise.
287 * testsuite/gas/epiphany/regression.d: Likewise.
288 * testsuite/gas/epiphany/sample.d: Likewise.
290 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
292 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
294 * testsuite/gas/epiphany/allinsn.d: Likewise.
295 * testsuite/gas/epiphany/sample.d: Likewise.
297 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
299 * testsuite/gas/epiphany/sample.d: Update expected output.
301 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
303 * config/tc-arc.c (md_apply_fix): Allow addendum.
304 (arc_reloc_op): Allow complex expressions for tpoff.
305 (md_apply_fix): Handle resolved TLS local symbol.
307 * testsuite/gas/arc/tls-relocs1.d: New file.
308 * testsuite/gas/arc/tls-relocs1.s: Likewise.
310 2016-02-01 Loria <Loria@phantasia.org>
313 * config/tc-arm.c (encode_arm_immediate): Recode to improve
314 efficiency and avoid an LLVM loop optimization bug.
316 2016-02-01 Nick Clifton <nickc@redhat.com>
318 * config/tc-microblaze.c (parse_imm): Fix compile time warning
319 message extending a negative 32-bit value into a larger signed
320 value on a 32-bit host.
322 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
325 * configure.ac (compressed_debug_sections): Replace == with =.
326 * configure: Regenerated.
328 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
329 H.J. Lu <hongjiu.lu@intel.com>
331 * config/tc-i386.c (avoid_fence): New.
332 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
334 (OPTION_FENCE_AS_LOCK_ADD): New.
335 (md_longopts): Add -mfence-as-lock-add.
336 (md_parse_option): Handle -mfence-as-lock-add.
337 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
338 * doc/c-i386.texi (-mfence-as-lock-add): Document.
339 * testsuite/gas/i386/i386.exp: Run new tests.
340 * testsuite/gas/i386/fence-as-lock-add.s: New.
341 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
342 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
343 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
344 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
346 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
348 * configure.ac (compressed_debug_sections): Remove trailing `]'.
349 * configure: Regenerated.
351 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
353 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
354 (OPTION_MOMIT_LOCK_PREFIX): This.
355 (md_longopts): Updated.
356 (md_parse_option): Likewise.
358 2016-01-25 Catherine Moore <clm@codesourcery.com>
360 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
361 if abicalls are in effect.
362 * testsuite/gas/mips/sdata-gp.s: New test.
363 * testsuite/gas/mips/sdata-gp.d: New expected output
364 * testsuite/gas/mips/mips.exp: Run new test.
366 2016-01-25 Renlin Li <renlin.li@arm.com>
368 * testsuite/gas/arm/thumb2_it_search.d: New.
369 * testsuite/gas/arm/thumb2_it_search.s: New.
371 2016-01-21 Nick Clifton <nickc@redhat.com>
374 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
375 with arm-netbsdelf target.
376 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
378 2016-01-20 Nick Clifton <nickc@redhat.com>
381 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
382 * testsuite/gas/arm/blx-bl-convert.d
383 * testsuite/gas/arm/plt-1.d: Likewise.
384 * testsuite/gas/arm/reloc-bad.d: Likewise.
385 * testsuite/gas/arm/thumb-w-good.d: Likewise.
386 * testsuite/gas/arm/thumb2_pool.d: Likewise.
387 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
388 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
391 * doc/as.texinfo (Errors): Correct documentation describing the
392 interaction of .file and .line with warning and error messages.
395 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
396 * testsuite/gas/arm/archv8m-main.d: Likewise.
397 * testsuite/gas/arm/archv8m-base.d: Likewise.
399 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
401 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
402 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
403 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
405 2016-01-20 Mickael Guene <mickael.guene@st.com>
406 Terry Guo <terry.guo@arm.com>
408 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
409 SHF_ARM_NOREAD section flag.
410 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
412 (arm_elf_section_letter) : Declare it.
413 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
414 SHF_ARM_NOREAD section flag.
415 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
417 * testsuite/gas/arm/section-execute-only.s: New test case.
418 * testsuite/gas/arm/section-execute-only.d: Expected output.
420 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
422 * config/tc-mips.c (micromips_insn_length): Remove the mention
423 of 48-bit microMIPS instructions.
425 2016-01-18 Alan Modra <amodra@gmail.com>
427 * configure: Regenerate.
429 2016-01-17 Alan Modra <amodra@gmail.com>
431 * configure: Regenerate.
433 2016-01-17 Alan Modra <amodra@gmail.com>
435 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
437 2016-01-14 Nick Clifton <nickc@redhat.com>
439 * testsuite/gas/rl78/sp-relative-movw.s: New test.
440 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
441 * testsuite/gas/rl78/rl78.exp: Run the new test.
443 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
445 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
446 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
448 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
450 * config/tc-nios2.c (output_movia): Preset `code' to 0.
452 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
454 * config/tc-h8300.c (get_operand): Remove spurious condition in
455 test for closing parenthesis.
457 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
459 * config/tc-arm.c (arm_ext_v8_2): New.
461 * testsuite/gas/arm/armv8_2-a.d: New.
462 * testsuite/gas/arm/armv8_2-a.s: New.
464 2016-01-12 Alan Modra <amodra@gmail.com>
466 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
468 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
470 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
471 xvcmpnesp, xvcmpnesp.>: Delete tests.
472 * testsuite/gas/ppc/power9.s: Likewise.
473 * testsuite/gas/ppc/vsx3.d: Likewise.
474 * testsuite/gas/ppc/vsx3.s: Likewise.
476 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
479 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
480 * testsuite/gas/m68k/p13050-1.s: New file.
481 * testsuite/gas/m68k/p13050-2.d: New file.
482 * testsuite/gas/m68k/p13050-2.s: New file.
484 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
486 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
487 * testsuite/gas/arc/add.d: Likewise.
488 * testsuite/gas/arc/and.d: Likewise.
489 * testsuite/gas/arc/asl.d: Likewise.
490 * testsuite/gas/arc/asr.d: Likewise.
491 * testsuite/gas/arc/bic.d: Likewise.
492 * testsuite/gas/arc/extb.d: Likewise.
493 * testsuite/gas/arc/extw.d: Likewise.
494 * testsuite/gas/arc/j.d: Likewise.
495 * testsuite/gas/arc/jl.d: Likewise.
496 * testsuite/gas/arc/ld2.d: Likewise.
497 * testsuite/gas/arc/lsr.d: Likewise.
498 * testsuite/gas/arc/mov.d: Likewise.
499 * testsuite/gas/arc/or.d: Likewise.
500 * testsuite/gas/arc/pcl-relocs.d: Likewise.
501 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
502 * testsuite/gas/arc/pic-relocs.d: Likewise.
503 * testsuite/gas/arc/plt-relocs.d: Likewise.
504 * testsuite/gas/arc/rlc.d: Likewise.
505 * testsuite/gas/arc/ror.d: Likewise.
506 * testsuite/gas/arc/rrc.d: Likewise.
507 * testsuite/gas/arc/sbc.d: Likewise.
508 * testsuite/gas/arc/sda-relocs.d: Likewise.
509 * testsuite/gas/arc/sda-relocs2.d: Likewise.
510 * testsuite/gas/arc/sexb.d: Likewise.
511 * testsuite/gas/arc/sexw.d: Likewise.
512 * testsuite/gas/arc/st.d: Likewise.
513 * testsuite/gas/arc/sub.d: Likewise.
514 * testsuite/gas/arc/tls-relocs.d: Likewise.
515 * testsuite/gas/arc/xor.d: Likewise.
517 2016-01-01 Alan Modra <amodra@gmail.com>
519 Update year range in copyright notice of all files.
521 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
523 Copyright (C) 2016 Free Software Foundation, Inc.
525 Copying and distribution of this file, with or without modification,
526 are permitted in any medium without royalty provided the copyright
527 notice and this notice are preserved.
533 version-control: never