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