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