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