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