ca37956272cd1f211cddd9c864503fe7b4ca8897
[binutils-gdb.git] / gas / ChangeLog
1 2013-04-10 Julian Brown <julian@codesourcery.com>
2
3 * read.c (convert_to_bignum): Add sign parameter. Use it
4 instead of X_unsigned to determine sign of resulting bignum.
5 (emit_expr): Pass extra argument to convert_to_bignum.
6 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
7 X_extrabit to convert_to_bignum.
8 (parse_bitfield_cons): Set X_extrabit.
9 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
10 Initialise X_extrabit field as appropriate.
11 (add_to_result): New.
12 (subtract_from_result): New.
13 (expr): Use above.
14 * expr.h (expressionS): Add X_extrabit field.
15
16 2013-04-10 Jan Beulich <jbeulich@suse.com>
17
18 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
19 register being PC when is_t or writeback, and use distinct
20 diagnostic for the latter case.
21
22 2013-04-10 Jan Beulich <jbeulich@suse.com>
23
24 * gas/config/tc-arm.c (parse_operands): Re-write
25 po_barrier_or_imm().
26 (do_barrier): Remove bogus constraint().
27 (do_t_barrier): Remove.
28
29 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
30
31 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
32 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
33 ATmega2564RFR2
34 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
35
36 2013-04-09 Jan Beulich <jbeulich@suse.com>
37
38 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
39 Use local variable Rt in more places.
40 (do_vmsr): Accept all control registers.
41
42 2013-04-09 Jan Beulich <jbeulich@suse.com>
43
44 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
45 if there was none specified for moves between scalar and core
46 register.
47
48 2013-04-09 Jan Beulich <jbeulich@suse.com>
49
50 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
51 NEON_ALL_LANES case.
52
53 2013-04-08 Jan Beulich <jbeulich@suse.com>
54
55 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
56 PC-relative VSTR.
57
58 2013-04-08 Jan Beulich <jbeulich@suse.com>
59
60 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
61 entry to sp_fiq.
62
63 2013-04-03 Alan Modra <amodra@gmail.com>
64
65 * doc/as.texinfo: Add support to generate man options for h8300.
66 * doc/c-h8300.texi: Likewise.
67
68 2013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
69
70 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
71 Cortex-A57.
72
73 2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
74
75 PR binutils/15068
76 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
77
78 2013-03-26 Nick Clifton <nickc@redhat.com>
79
80 PR gas/15295
81 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
82 start of the file each time.
83
84 PR gas/15178
85 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
86 FreeBSD targets.
87
88 2013-03-26 Douglas B Rupp <rupp@gnat.com>
89
90 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
91 after fixup.
92
93 2013-03-21 Will Newton <will.newton@linaro.org>
94
95 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
96 pc-relative str instructions in Thumb mode.
97
98 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
99
100 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
101 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
102 R_H8_DISP32A16.
103 * config/tc-h8300.h: Remove duplicated defines.
104
105 2013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
106
107 PR gas/15282
108 * tc-avr.c (mcu_has_3_byte_pc): New function.
109 (tc_cfi_frame_initial_instructions): Call it to find return
110 address size.
111
112 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
113
114 PR gas/15095
115 * config/tc-tic6x.c (tic6x_try_encode): Handle
116 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
117 encode register pair numbers when required.
118
119 2013-03-15 Will Newton <will.newton@linaro.org>
120
121 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
122 in vstr in Thumb mode for pre-ARMv7 cores.
123
124 2013-03-14 Andreas Schwab <schwab@suse.de>
125
126 * doc/c-arc.texi (ARC Directives): Revert last change and use
127 @itemize instead of @table.
128 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
129
130 2013-03-14 Nick Clifton <nickc@redhat.com>
131
132 PR gas/15273
133 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
134 NULL message, instead just check ARM_CPU_IS_ANY directly.
135
136 2013-03-14 Nick Clifton <nickc@redhat.com>
137
138 PR gas/15212
139 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
140 for table format.
141 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
142 to the @item directives.
143 (ARM-Neon-Alignment): Move to correct place in the document.
144 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
145 formatting.
146 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
147 @smallexample.
148
149 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
150
151 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
152 case. Add default BAD_CASE to switch.
153
154 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
155
156 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
157 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
158
159 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
160
161 * config/tc-arm.c (crc_ext_armv8): New feature set.
162 (UNPRED_REG): New macro.
163 (do_crc32_1): New function.
164 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
165 do_crc32ch, do_crc32cw): Likewise.
166 (TUEc): New macro.
167 (insns): Add entries for crc32 mnemonics.
168 (arm_extensions): Add entry for crc.
169
170 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
171
172 * write.h (struct fix): Add fx_dot_frag field.
173 (dot_frag): Declare.
174 * write.c (dot_frag): New variable.
175 (fix_new_internal): Set fx_dot_frag field with dot_frag.
176 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
177 * expr.c (expr): Save value of frag_now in dot_frag when setting
178 dot_value.
179 * read.c (emit_expr): Likewise. Delete comments.
180
181 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
182
183 * config/tc-i386.c (flag_code_names): Removed.
184 (i386_index_check): Rewrote.
185
186 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
187
188 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
189 add comment.
190 (aarch64_double_precision_fmovable): New function.
191 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
192 function; handle hexadecimal representation of IEEE754 encoding.
193 (parse_operands): Update the call to parse_aarch64_imm_float.
194
195 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
196
197 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
198 (check_hle): Updated.
199 (md_assemble): Likewise.
200 (parse_insn): Likewise.
201
202 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
203
204 * config/tc-i386.c (_i386_insn): Add rep_prefix.
205 (md_assemble): Check if REP prefix is OK.
206 (parse_insn): Remove expecting_string_instruction. Set
207 i.rep_prefix.
208
209 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
210
211 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
212
213 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
214
215 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
216 for system registers.
217
218 2013-02-27 DJ Delorie <dj@redhat.com>
219
220 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
221 (rl78_op): Handle %code().
222 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
223 (tc_gen_reloc): Likwise; convert to a computed reloc.
224 (md_apply_fix): Likewise.
225
226 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
227
228 * config/rl78-parse.y: Fix encoding of DIVWU insn.
229
230 2013-02-25 Terry Guo <terry.guo@arm.com>
231
232 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
233 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
234 list of accepted CPUs.
235
236 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
237
238 PR gas/15159
239 * config/tc-i386.c (cpu_arch): Add ".smap".
240
241 * doc/c-i386.texi: Document smap.
242
243 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
244
245 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
246 mips_assembling_insn appropriately.
247 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
248
249 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
250
251 * config/tc-mips.c (append_insn): Correct indentation, remove
252 extraneous braces.
253
254 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
255
256 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
257
258 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
259
260 * configure.tgt: Add nios2-*-rtems*.
261
262 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
263
264 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
265 NULL.
266
267 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
268
269 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
270 (macro): Use it. Assert that trunc.w.s is not used for r5900.
271
272 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
273
274 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
275 core.
276
277 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
278 Andrew Jenner <andrew@codesourcery.com>
279
280 Based on patches from Altera Corporation.
281
282 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
283 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
284 * Makefile.in: Regenerated.
285 * configure.tgt: Add case for nios2*-linux*.
286 * config/obj-elf.c: Conditionally include elf/nios2.h.
287 * config/tc-nios2.c: New file.
288 * config/tc-nios2.h: New file.
289 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
290 * doc/Makefile.in: Regenerated.
291 * doc/all.texi: Set NIOSII.
292 * doc/as.texinfo (Overview): Add Nios II options.
293 (Machine Dependencies): Include c-nios2.texi.
294 * doc/c-nios2.texi: New file.
295 * NEWS: Note Altera Nios II support.
296
297 2013-02-06 Alan Modra <amodra@gmail.com>
298
299 PR gas/14255
300 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
301 Don't skip fixups with fx_subsy non-NULL.
302 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
303 with fx_subsy non-NULL.
304
305 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
306
307 * doc/c-metag.texi: Add "@c man" markers.
308
309 2013-02-04 Alan Modra <amodra@gmail.com>
310
311 * write.c (fixup_segment): Return void. Delete seg_reloc_count
312 related code.
313 (TC_ADJUST_RELOC_COUNT): Delete.
314 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
315
316 2013-02-04 Alan Modra <amodra@gmail.com>
317
318 * po/POTFILES.in: Regenerate.
319
320 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
321
322 * config/tc-metag.c: Make SWAP instruction less permissive with
323 its operands.
324
325 2013-01-29 DJ Delorie <dj@redhat.com>
326
327 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
328 relocs in .word/.etc statements.
329
330 2013-01-29 Roland McGrath <mcgrathr@google.com>
331
332 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
333 immediate value for 8-bit offset" error so it shows line info.
334
335 2013-01-24 Joseph Myers <joseph@codesourcery.com>
336
337 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
338 for 64-bit output.
339
340 2013-01-24 Nick Clifton <nickc@redhat.com>
341
342 * config/tc-v850.c: Add support for e3v5 architecture.
343 * doc/c-v850.texi: Mention new support.
344
345 2013-01-23 Nick Clifton <nickc@redhat.com>
346
347 PR gas/15039
348 * config/tc-avr.c: Include dwarf2dbg.h.
349
350 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
351
352 * config/tc-i386.c (reloc): Support size relocation only for ELF.
353 (tc_i386_fix_adjustable): Likewise.
354 (lex_got): Likewise.
355 (tc_gen_reloc): Likewise.
356
357 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
358
359 * config/tc-aarch64.c (output_operand_error_record): Change to output
360 the out-of-range error message as value-expected message if there is
361 only one single value in the expected range.
362 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
363 LSL #0 as a programmer-friendly feature.
364
365 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
366
367 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
368 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
369 BFD_RELOC_64_SIZE relocations.
370 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
371 for it.
372 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
373 relocations against local symbols.
374
375 2013-01-16 Alan Modra <amodra@gmail.com>
376
377 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
378 finding some sort of toc syntax error, and break to avoid
379 compiler uninit warning.
380
381 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
382
383 PR gas/15019
384 * config/tc-i386.c (lex_got): Increment length by 1 if the
385 relocation token is removed.
386
387 2013-01-15 Nick Clifton <nickc@redhat.com>
388
389 * config/tc-v850.c (md_assemble): Allow signed values for
390 V850E_IMMEDIATE.
391
392 2013-01-11 Sean Keys <skeys@ipdatasys.com>
393
394 * config/tc-xgate.c (md_begin): Fix mistake made when going from
395 git to cvs.
396
397 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
398
399 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
400 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
401 * config/tc-ppc.c (md_show_usage): Likewise.
402 (ppc_handle_align): Handle power8's group ending nop.
403
404 2013-01-10 Sean Keys <skeys@ipdatasys.com>
405
406 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
407 that the assember exits after the opcodes have been printed.
408
409 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
410
411 * app.c: Remove trailing white spaces.
412 * as.c: Likewise.
413 * as.h: Likewise.
414 * cond.c: Likewise.
415 * dw2gencfi.c: Likewise.
416 * dwarf2dbg.h: Likewise.
417 * ecoff.c: Likewise.
418 * input-file.c: Likewise.
419 * itbl-lex.h: Likewise.
420 * output-file.c: Likewise.
421 * read.c: Likewise.
422 * sb.c: Likewise.
423 * subsegs.c: Likewise.
424 * symbols.c: Likewise.
425 * write.c: Likewise.
426 * config/tc-i386.c: Likewise.
427 * doc/Makefile.am: Likewise.
428 * doc/Makefile.in: Likewise.
429 * doc/c-aarch64.texi: Likewise.
430 * doc/c-alpha.texi: Likewise.
431 * doc/c-arc.texi: Likewise.
432 * doc/c-arm.texi: Likewise.
433 * doc/c-avr.texi: Likewise.
434 * doc/c-bfin.texi: Likewise.
435 * doc/c-cr16.texi: Likewise.
436 * doc/c-d10v.texi: Likewise.
437 * doc/c-d30v.texi: Likewise.
438 * doc/c-h8300.texi: Likewise.
439 * doc/c-hppa.texi: Likewise.
440 * doc/c-i370.texi: Likewise.
441 * doc/c-i386.texi: Likewise.
442 * doc/c-i860.texi: Likewise.
443 * doc/c-m32c.texi: Likewise.
444 * doc/c-m32r.texi: Likewise.
445 * doc/c-m68hc11.texi: Likewise.
446 * doc/c-m68k.texi: Likewise.
447 * doc/c-microblaze.texi: Likewise.
448 * doc/c-mips.texi: Likewise.
449 * doc/c-msp430.texi: Likewise.
450 * doc/c-mt.texi: Likewise.
451 * doc/c-s390.texi: Likewise.
452 * doc/c-score.texi: Likewise.
453 * doc/c-sh.texi: Likewise.
454 * doc/c-sh64.texi: Likewise.
455 * doc/c-tic54x.texi: Likewise.
456 * doc/c-tic6x.texi: Likewise.
457 * doc/c-v850.texi: Likewise.
458 * doc/c-xc16x.texi: Likewise.
459 * doc/c-xgate.texi: Likewise.
460 * doc/c-xtensa.texi: Likewise.
461 * doc/c-z80.texi: Likewise.
462 * doc/internals.texi: Likewise.
463
464 2013-01-10 Roland McGrath <mcgrathr@google.com>
465
466 * hash.c (hash_new_sized): Make it global.
467 * hash.h: Declare it.
468 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
469 pass a small size.
470
471 2013-01-10 Will Newton <will.newton@imgtec.com>
472
473 * Makefile.am: Add Meta.
474 * Makefile.in: Regenerate.
475 * config/tc-metag.c: New file.
476 * config/tc-metag.h: New file.
477 * configure.tgt: Add Meta.
478 * doc/Makefile.am: Add Meta.
479 * doc/Makefile.in: Regenerate.
480 * doc/all.texi: Add Meta.
481 * doc/as.texiinfo: Document Meta options.
482 * doc/c-metag.texi: New file.
483
484 2013-01-09 Steve Ellcey <sellcey@mips.com>
485
486 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
487 calls.
488 * config/tc-mips.c (internalError): Remove, replace with abort.
489
490 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
491
492 * config/tc-aarch64.c (parse_operands): Change to compare the result
493 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
494
495 2013-01-07 Nick Clifton <nickc@redhat.com>
496
497 PR gas/14887
498 * config/tc-arm.c (skip_past_char): Skip whitespace before the
499 anticipated character.
500 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
501 here as it is no longer needed.
502
503 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
504
505 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
506 * doc/c-score.texi (SCORE-Opts): Likewise.
507 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
508
509 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
510
511 * config/tc-mips.c: Add support for MIPS r5900.
512 Add M_LQ_AB and M_SQ_AB to support large values for instructions
513 lq and sq.
514 (can_swap_branch_p, get_append_method): Detect some conditional
515 short loops to fix a bug on the r5900 by NOP in the branch delay
516 slot.
517 (M_MUL): Support 3 operands in multu on r5900.
518 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
519 (s_mipsset): Force 32 bit floating point on r5900.
520 (mips_ip): Check parameter range of instructions mfps and mtps on
521 r5900.
522 * configure.in: Detect CPU type when target string contains r5900
523 (e.g. mips64r5900el-linux-gnu).
524
525 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
526
527 * as.c (parse_args): Update copyright year to 2013.
528
529 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
530
531 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
532 and "cortex57".
533
534 2013-01-02 Nick Clifton <nickc@redhat.com>
535
536 PR gas/14987
537 * config/tc-arm.c (parse_address_main): Skip whitespace before a
538 closing bracket.
539
540 For older changes see ChangeLog-2012
541 \f
542 Copyright (C) 2013 Free Software Foundation, Inc.
543
544 Copying and distribution of this file, with or without modification,
545 are permitted in any medium without royalty provided the copyright
546 notice and this notice are preserved.
547
548 Local Variables:
549 mode: change-log
550 left-margin: 8
551 fill-column: 74
552 version-control: never
553 End: