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