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