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