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