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