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