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