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