220b5b10e2f30b443aebe2d6a9df4fd375baf13b
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2
3 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4 function.
5 (tc_arc_regname_to_dw2regnum): Likewise.
6 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
7 (tc_cfi_frame_initial_instructions): Likewise.
8 (tc_regname_to_dw2regnum): Likewise.
9
10 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
11
12 * doc/internals.texi (S_IS_EXTERN): Remove.
13
14 2016-02-16 Nick Clifton <nickc@redhat.com>
15
16 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
17 update.
18
19 2016-02-16 Renlin Li <renlin.li@arm.com>
20
21 PR gas/19620
22 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
23 * testsuite/gas/aarch64/movw_label.d: New.
24 * testsuite/gas/aarch64/movw_label.s: New.
25
26 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
27
28 PR gas/19556
29 * config/rx-parse.y (MOV): Opcode generation for index
30 register addressing mode.
31 * testsuite/gas/rx/rx.exp: Updated for new testcase.
32 * testsuite/gas/rx/pr19665.s: New file.
33 * testsuite/gas/rx/pr19665.s: New file.
34 * testsuite/gas/rx/mov.d: Update expected output.
35
36 2016-02-15 Nick Clifton <nickc@redhat.com>
37
38 * doc/as.texinfo (.section): Document that numeric values can now
39 be used for the flags and type fields of the ELF target's .section
40 directive. Add notes about the restrictions on setting flags and
41 types.
42 * config/obj-elf.c (obj_elf_change_section): Allow known sections
43 to be given processor specific section types. Allow processor and
44 application specific flags of a section to be set after
45 definition.
46 (obj_elf_parse_section_letters): Handle parsing numeric values.
47 (obj_elf_section_type): Handle parsing numeric values.
48 (obj_elf_section): Allow numeric type values.
49 * config/obj-elf.h (obj_elf_change_section): Update prototype.
50 * testsuite/gas/elf/section10.d: New test.
51 * testsuite/gas/elf/section10.s: Source file for new test.
52 * testsuite/gas/elf/elf.exp: Run the new test.
53 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
54 the description of the flags produced by readelf.
55 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
56 * NEWS: Mention the new feature.
57
58 2016-02-11 Nick Clifton <nickc@redhat.com>
59
60 PR gas/19614
61 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
62 until it is actually used.
63 (cfi_set_sections): Set cfi_sections_set to true.
64 (dot_cfi_startproc): Likewise.
65 (dot_cfi_endproc): Likewise.
66 (dot_cfi_fde_data): Likewise.
67 (cfi_finish): Likewise.
68 (dot_cfi_sections): Do not set cfi_sections_set.
69 * doc/as.texinfo (.cfi_sections): Note that targets can provide
70 their own cfi section name. Also note that the directive can be
71 reissued provided that CFI generation has not started.
72 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
73 .cfi_endproc directives so that the redefinition of .cfi_sections
74 will trigger the generation of the error message.
75 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
76 number of error message.
77
78 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
79 Janek van Oirschot <jvanoirs@synopsys.com>
80
81 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
82 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
83 Define.
84 (arc_flags, arc_relax_type): New structure.
85 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
86 (RELAX_TABLE_ENTRY_MAX): New define.
87 (relaxation_state, md_relax_table, arc_relaxable_insns)
88 (arc_num_relaxable_ins): New variable.
89 (rlx_operand_type, arc_rlx_types): New enums.
90 (arc_relaxable_ins): New structure.
91 (OPTION_RELAX): New option.
92 (arc_insn): New relax member.
93 (arc_flags): Remove.
94 (relax_insn_p): New function.
95 (apply_fixups): Likewise.
96 (relaxable_operand): Likewise.
97 (may_relax_expr): Likewise.
98 (relaxable_flag): Likewise.
99 (arc_pcrel_adjust): Likewise.
100 (md_estimate_size_before_relax): Implement.
101 (md_convert_frag): Likewise.
102 (md_parse_option): Handle new mrelax option.
103 (md_show_usage): Likewise.
104 (assemble_insn): Set relax member.
105 (emit_insn0): New function.
106 (emit_insn1): Likewise.
107 (emit_insn): Handle relaxation case.
108 * NEWS: Mention the new relaxation option.
109 * doc/c-arc.texi (ARC Options): Document new mrelax option.
110 * doc/as.texinfo (Target ARC Options): Likewise.
111 * testsuite/gas/arc/relax-avoid1.d: New file.
112 * testsuite/gas/arc/relax-avoid1.s: Likewise.
113 * testsuite/gas/arc/relax-avoid2.d: Likewise.
114 * testsuite/gas/arc/relax-avoid2.s: Likewise.
115 * testsuite/gas/arc/relax-avoid3.d: Likewise.
116 * testsuite/gas/arc/relax-avoid3.s: Likewise.
117 * testsuite/gas/arc/relax-b.d: Likewise.
118 * testsuite/gas/arc/relax-b.s: Likewise.
119
120 2016-02-08 Nick Clifton <nickc@redhat.com>
121
122 * config/tc-ia64.c (dot_prologue): Fix formatting.
123
124 2016-02-04 Nick Clifton <nickc@redhat.com>
125
126 * config/obj-elf.c (obj_elf_change_section): Remove support for
127 ARM NOREAD sections.
128 * config/tc-arm.c (arm_elf_section_letter): Delete.
129 * config/tc-arm.h (md_elf_section_letter): Delete.
130 * doc/c-arm.texi (ARM Section Attribute): Delete section.
131 * testsuite/gas/arm/section-execute-only.d: Delete.
132 * testsuite/gas/arm/section-execute-only.s: Delete.
133
134 2016-02-04 Nick Clifton <nickc@redhat.com>
135
136 PR target/19561
137 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
138 to handle encoding of RRUX instruction.
139 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
140 shift instructions.
141 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
142
143 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
144
145 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
146 substitutions for BFD_RELOC_* as unsigned.
147 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
148 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
149 * testsuite/gas/xtensa/loc.s: New file: loc test.
150
151 2016-02-03 Kevin Buettner <kevinb@redhat.com>
152
153 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
154
155 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
156
157 PR gas/19520
158 * NEWS: Mention new command line option -mrelax-relocations and
159 new configure option --enable-x86-relax-relocations for x86
160 target.
161 * config.in: Regenerated.
162 * configure.ac: Add --enable-x86-relax-relocations.
163 (ac_default_x86_relax_relocations): New. Default to 1 except
164 for x86 Solaris targets older than Solaris 12.
165 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
166 * configure: Likewise.
167 * config/tc-i386.c (generate_relax_relocations): New.
168 (OPTION_MRELAX_RELOCATIONS): Likewise.
169 (output_disp): Don't generate relax relocations if
170 generate_relax_relocations is 0.
171 (md_longopts): Add -mrelax-relocations.
172 (md_show_usage): Likewise.
173 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
174 * doc/c-i386.texi: Document -mrelax-relocations=.
175 * testsuite/gas/i386/got-no-relax.d: New file.
176 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
177 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
178 * testsuite/gas/i386/localpic.d: Likewise.
179 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
180 * testsuite/gas/i386/reloc32.d: Likewise.
181 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
182 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
183 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
184 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
185 * testsuite/gas/i386/i386.exp: Run got-no-relax and
186 x86-64-gotpcrel-no-relax.
187
188 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
189
190 * NEWS: Mention new command line option -mfence-as-lock-add=yes
191 for x86 target.
192
193 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
194
195 * NEWS: Remove duplicated marker for 2.26.
196
197 2016-02-02 Renlin Li <renlin.li@arm.com>
198
199 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
200
201 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * testsuite/gas/ip2k/allinsn.d: New file.
204 * testsuite/gas/ip2k/allinsn.s: New file.
205 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
206
207 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
210 some load instructions.
211 * testsuite/gas/epiphany/allinsn.d: Likewise.
212 * testsuite/gas/epiphany/regression.d: Likewise.
213
214 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
217 suffixes from instruction mnemonics in expected output.
218 * testsuite/gas/epiphany/allinsn.d: Likewise.
219 * testsuite/gas/epiphany/regression.d: Likewise.
220 * testsuite/gas/epiphany/sample.d: Likewise.
221
222 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
223
224 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
225 names.
226 * testsuite/gas/epiphany/allinsn.d: Likewise.
227 * testsuite/gas/epiphany/sample.d: Likewise.
228
229 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
230
231 * testsuite/gas/epiphany/sample.d: Update expected output.
232
233 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
234
235 * config/tc-arc.c (md_apply_fix): Allow addendum.
236 (arc_reloc_op): Allow complex expressions for tpoff.
237 (md_apply_fix): Handle resolved TLS local symbol.
238
239 * testsuite/gas/arc/tls-relocs1.d: New file.
240 * testsuite/gas/arc/tls-relocs1.s: Likewise.
241
242 2016-02-01 Loria <Loria@phantasia.org>
243
244 PR target/19311
245 * config/tc-arm.c (encode_arm_immediate): Recode to improve
246 efficiency and avoid an LLVM loop optimization bug.
247
248 2016-02-01 Nick Clifton <nickc@redhat.com>
249
250 * config/tc-microblaze.c (parse_imm): Fix compile time warning
251 message extending a negative 32-bit value into a larger signed
252 value on a 32-bit host.
253
254 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
255
256 PR gas/19532
257 * configure.ac (compressed_debug_sections): Replace == with =.
258 * configure: Regenerated.
259
260 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
261 H.J. Lu <hongjiu.lu@intel.com>
262
263 * config/tc-i386.c (avoid_fence): New.
264 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
265 is true.
266 (OPTION_FENCE_AS_LOCK_ADD): New.
267 (md_longopts): Add -mfence-as-lock-add.
268 (md_parse_option): Handle -mfence-as-lock-add.
269 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
270 * doc/c-i386.texi (-mfence-as-lock-add): Document.
271 * testsuite/gas/i386/i386.exp: Run new tests.
272 * testsuite/gas/i386/fence-as-lock-add.s: New.
273 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
274 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
275 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
276 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
277
278 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
279
280 * configure.ac (compressed_debug_sections): Remove trailing `]'.
281 * configure: Regenerated.
282
283 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
284
285 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
286 (OPTION_MOMIT_LOCK_PREFIX): This.
287 (md_longopts): Updated.
288 (md_parse_option): Likewise.
289
290 2016-01-25 Catherine Moore <clm@codesourcery.com>
291
292 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
293 if abicalls are in effect.
294 * testsuite/gas/mips/sdata-gp.s: New test.
295 * testsuite/gas/mips/sdata-gp.d: New expected output
296 * testsuite/gas/mips/mips.exp: Run new test.
297
298 2016-01-25 Renlin Li <renlin.li@arm.com>
299
300 * testsuite/gas/arm/thumb2_it_search.d: New.
301 * testsuite/gas/arm/thumb2_it_search.s: New.
302
303 2016-01-21 Nick Clifton <nickc@redhat.com>
304
305 PR gas/19454
306 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
307 with arm-netbsdelf target.
308 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
309
310 2016-01-20 Nick Clifton <nickc@redhat.com>
311
312 PR 19456
313 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
314 * testsuite/gas/arm/blx-bl-convert.d
315 * testsuite/gas/arm/plt-1.d: Likewise.
316 * testsuite/gas/arm/reloc-bad.d: Likewise.
317 * testsuite/gas/arm/thumb-w-good.d: Likewise.
318 * testsuite/gas/arm/thumb2_pool.d: Likewise.
319 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
320 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
321
322 PR 19499
323 * doc/as.texinfo (Errors): Correct documentation describing the
324 interaction of .file and .line with warning and error messages.
325
326 PR 19458
327 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
328 * testsuite/gas/arm/archv8m-main.d: Likewise.
329 * testsuite/gas/arm/archv8m-base.d: Likewise.
330
331 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
332
333 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
334 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
335 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
336
337 2016-01-20 Mickael Guene <mickael.guene@st.com>
338 Terry Guo <terry.guo@arm.com>
339
340 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
341 SHF_ARM_NOREAD section flag.
342 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
343 handle letter 'y'.
344 (arm_elf_section_letter) : Declare it.
345 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
346 SHF_ARM_NOREAD section flag.
347 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
348
349 * testsuite/gas/arm/section-execute-only.s: New test case.
350 * testsuite/gas/arm/section-execute-only.d: Expected output.
351
352 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
353
354 * config/tc-mips.c (micromips_insn_length): Remove the mention
355 of 48-bit microMIPS instructions.
356
357 2016-01-18 Alan Modra <amodra@gmail.com>
358
359 * configure: Regenerate.
360
361 2016-01-17 Alan Modra <amodra@gmail.com>
362
363 * configure: Regenerate.
364
365 2016-01-17 Alan Modra <amodra@gmail.com>
366
367 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
368
369 2016-01-14 Nick Clifton <nickc@redhat.com>
370
371 * testsuite/gas/rl78/sp-relative-movw.s: New test.
372 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
373 * testsuite/gas/rl78/rl78.exp: Run the new test.
374
375 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
376
377 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
378 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
379
380 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
381
382 * config/tc-nios2.c (output_movia): Preset `code' to 0.
383
384 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
385
386 * config/tc-h8300.c (get_operand): Remove spurious condition in
387 test for closing parenthesis.
388
389 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
390
391 * config/tc-arm.c (arm_ext_v8_2): New.
392 (insns): Add "esb".
393 * testsuite/gas/arm/armv8_2-a.d: New.
394 * testsuite/gas/arm/armv8_2-a.s: New.
395
396 2016-01-12 Alan Modra <amodra@gmail.com>
397
398 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
399
400 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
401
402 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
403 xvcmpnesp, xvcmpnesp.>: Delete tests.
404 * testsuite/gas/ppc/power9.s: Likewise.
405 * testsuite/gas/ppc/vsx3.d: Likewise.
406 * testsuite/gas/ppc/vsx3.s: Likewise.
407
408 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
409
410 PR gas/13050
411 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
412 * testsuite/gas/m68k/p13050-1.s: New file.
413 * testsuite/gas/m68k/p13050-2.d: New file.
414 * testsuite/gas/m68k/p13050-2.s: New file.
415
416 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
417
418 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
419 * testsuite/gas/arc/add.d: Likewise.
420 * testsuite/gas/arc/and.d: Likewise.
421 * testsuite/gas/arc/asl.d: Likewise.
422 * testsuite/gas/arc/asr.d: Likewise.
423 * testsuite/gas/arc/bic.d: Likewise.
424 * testsuite/gas/arc/extb.d: Likewise.
425 * testsuite/gas/arc/extw.d: Likewise.
426 * testsuite/gas/arc/j.d: Likewise.
427 * testsuite/gas/arc/jl.d: Likewise.
428 * testsuite/gas/arc/ld2.d: Likewise.
429 * testsuite/gas/arc/lsr.d: Likewise.
430 * testsuite/gas/arc/mov.d: Likewise.
431 * testsuite/gas/arc/or.d: Likewise.
432 * testsuite/gas/arc/pcl-relocs.d: Likewise.
433 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
434 * testsuite/gas/arc/pic-relocs.d: Likewise.
435 * testsuite/gas/arc/plt-relocs.d: Likewise.
436 * testsuite/gas/arc/rlc.d: Likewise.
437 * testsuite/gas/arc/ror.d: Likewise.
438 * testsuite/gas/arc/rrc.d: Likewise.
439 * testsuite/gas/arc/sbc.d: Likewise.
440 * testsuite/gas/arc/sda-relocs.d: Likewise.
441 * testsuite/gas/arc/sda-relocs2.d: Likewise.
442 * testsuite/gas/arc/sexb.d: Likewise.
443 * testsuite/gas/arc/sexw.d: Likewise.
444 * testsuite/gas/arc/st.d: Likewise.
445 * testsuite/gas/arc/sub.d: Likewise.
446 * testsuite/gas/arc/tls-relocs.d: Likewise.
447 * testsuite/gas/arc/xor.d: Likewise.
448
449 2016-01-01 Alan Modra <amodra@gmail.com>
450
451 Update year range in copyright notice of all files.
452
453 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
454 \f
455 Copyright (C) 2016 Free Software Foundation, Inc.
456
457 Copying and distribution of this file, with or without modification,
458 are permitted in any medium without royalty provided the copyright
459 notice and this notice are preserved.
460
461 Local Variables:
462 mode: change-log
463 left-margin: 8
464 fill-column: 74
465 version-control: never
466 End:
This page took 0.045495 seconds and 4 git commands to generate.