Fix tc-i386.c -Werror=logical-not-parentheses error
[platform/upstream/binutils.git] / gas / ChangeLog
1 2014-09-12  Alan Modra  <amodra@gmail.com>
2
3         * config/tc-i386.c (match_template): Remove redundant "!!" testing
4         single-bit bitfields.
5         (build_modrm_byte): Don't compare single-bit bitfields to "1".
6
7 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
8
9         * config/tc-arm.c (arm_cpus): Add cortex-a17.
10
11 2014-09-03  Jiong Wang  <jiong.wang@arm.com>
12
13         * config/tc-aarch64.c (parse_sys_reg): Remove the restriction on op0
14         field.
15
16 2014-09-03  Jiong Wang  <jiong.wang@arm.com>
17
18         * config/tc-aarch64.c (parse_operands): Recognize PAIRREG.
19         (aarch64_features): Add entry for lse extension.
20
21 2014-08-26  Jiong Wang  <jiong.wang@arm.com>
22
23         * config/tc-arm.c (aeabi_set_public_attributes): Update selected_cpu
24         based on the info we got during parsing.
25         (arm_handle_align): Make sure the p2align expanding logic under thumb
26         unchanged.
27
28 2014-08-26  Maciej W. Rozycki  <macro@codesourcery.com>
29
30         * config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
31         jump to...
32         <M_SAAD_AB>: ... here.  Assert that !microMIPS.
33
34 2014-08-26  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
35
36         * config/tc-moxie.h (md_convert_frag): Silence warning.
37
38 2014-08-22  Richard Henderson  <rth@redhat.com>
39
40         * config/tc-aarch64.c (tc_aarch64_regname_to_dw2regnum): Fix
41         register number for vector register types.
42         * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4.
43         (DWARF2_CIE_DATA_ALIGNMENT): Set to -8.
44
45 2014-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
46
47         * config/tc-ppc.c (md_assemble): Only set the PPC_APUINFO_VLE
48         flag if both the processor and opcode flags match.
49
50 2014-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
51
52         * config/tc-arm.c (add_to_lit_pool): Preinitialize `imm1'.
53
54 2014-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
55
56         * dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
57         (dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
58         (output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
59
60 2014-08-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
61
62         * config/tc-arm.c (parse_ifimm_zero): New function.
63         (enum operand_parse_code): Add OP_RSVD_FI0 value.
64         (parse_operands): Handle OP_RSVD_FI0.
65         (asm_opcode_insns): Use RSVD_FI0 for second operand of vcmp, vcmpe.
66
67 2014-08-20  Alan Modra  <amodra@gmail.com>
68
69         * Makefile.am: Typo fix.
70         * Makefile.in: Regenerate.
71         * po/POTFILES.in: Regenerate.
72
73 2014-08-19  Andreas Tobler  <andreast@fgznet.ch>
74
75         * Makefile.am: Add FreeBSD ARM support.
76         * Mafefile.in: Regenerate.
77         * configure.tgt: Add FreeBSD ARM support.
78         * config/te-armfbsdeabi.h: New file.
79         * config/te-armfbsdvfp.h: Likewise.
80
81 2014-08-19  Alan Modra  <amodra@gmail.com>
82
83         * configure: Regenerate.
84
85 2014-08-18  Nick Clifton  <nickc@redhat.com>
86
87         * config/tc-rl78.c (md_apply_fix): Correct handling of small sized
88         RELOC_RL78_DIFF fixups.
89
90 2014-08-18  Alan Modra  <amodra@gmail.com>
91
92         * read.c (parse_mri_cons): Warning fix.
93
94 2014-08-14  Alan Modra  <amodra@gmail.com>
95
96         * configure.ac: Move ACX_LARGEFILE after LT_INIT.
97         * config.in: Regenerate.
98         * configure: Regenerate.
99
100 2014-08-06  Ilya Tocar  <ilya.tocar@intel.com>
101
102         * config/tc-i386.c (omit_lock_prefix): New.
103         (output_insn): Omit lock prefix if omit_lock_prefix is true.
104         (OPTION_omit_lock_prefix): New.
105         (md_longopts): Add momit-lock-prefix.
106         (md_parse_option): Handle momit-lock-prefix.
107         (md_show_usage): Add momit-lock-prefix=[no|yes].
108         * doc/c-i386.texi (momit-lock-prefix): Document.
109
110 2014-08-01  Takashi Yoshii  <yoshii.takashi@renesas.com>
111
112         PR 10378
113         * config/tc-sh.c (tc_gen_reloc): Fix initialization of addend in
114         SWITCH_TABLE case.
115
116 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
117
118         * config/tc-mips.c: Rename INSN_LOAD_COPROC_DELAY to INSN_LOAD_COPROC
119         and INSN_COPROC_MOVE_DELAY to INSN_COPROC_MOVE throughout.
120
121 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
122
123         * config/tc-mips.c (mips_flags_frag): New static global.
124         (struct mips_set_options): Add oddspreg field.
125         (file_mips_opts, mips_opts): Initialize oddspreg.
126         (ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
127         Loongson-3a.
128         (enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
129         and -mno-odd-spreg options.
130         (md_begin): Create .MIPS.abiflags section.
131         (fpabi_incompatible_with, fpabi_requires): New static function.
132         (check_fpabi): Likewise.
133         (mips_check_options): Handle fp=xx and oddspreg restrictions.
134         (file_mips_check_options): Set oddspreg by default for fp=xx.
135         (mips_oddfpreg_ok): Re-write function.
136         (check_regno): Check odd numbered registers regardless of FPR size.
137         For fp != 32 use as_bad instead of as_warn.
138         (match_float_constant): Rewrite check regarding FP register width.  Add
139         support for generating constants when MXHC1 is present.  Handle fp=xx
140         to comply with the ABI.
141         (macro): Update M_LI_DD similarly to match_float_constant.  Generate
142         MTHC1 when available.  Check that correct code can be generated for
143         fp=xx and fp=64 ABIs.
144         (parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
145         options.
146         (mips_convert_ase_flags): New static function.
147         (mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
148         to determine when to add the EF_MIPS_FP64 flag.  Populate the
149         .MIPS.abiflags section.
150         (md_mips_end): Update .gnu_attribute based on command line and .module
151         as applicable.  Use check_fpabi to ensure .gnu.attribute and command
152         line/.module options are consistent.
153         * doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
154         -mfpxx, -modd-spreg and -mno-odd-spreg options.
155         * doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
156         gnu_attribute values and FP ABIs.
157
158 2014-07-27  Joel Sherrill <joel.sherrill@oarcorp.com>
159
160         Add RTEMS target support and simplify matching
161
162         * gas/configure.tgt (or1k*-*-rtems*): Ensure a match.
163         (or1k*-*-*): Use or1k* to match or1knd and or1kZ.
164
165 2014-07-27  Anthony Green  <green@moxielogic.com>
166
167         * configure.tgt (generic_target): Add moxie-*-moxiebox*
168         * config/tc-moxie.c: Remove moxie_target_format.
169         (md_begin): Set default target_big_endian.
170         * config/tc-moxie.h: Only set TARGET_BYTES_BIG_ENDIAN if unset.
171         (TARGET_FORMAT): Set based on target_big_endian.
172
173 2014-07-26  Alan Modra  <amodra@gmail.com>
174
175         * config/bfin-parse.y: Don't include obstack.h.
176         * config/obj-aout.c: Likewise.
177         * config/obj-coff.c: Likewise.
178         * config/obj-som.c: Likewise.
179         * config/tc-bfin.c: Likewise.
180         * config/tc-i960.c: Likewise.
181         * config/tc-rl78.c: Likewise.
182         * config/tc-rx.c: Likewise.
183         * config/tc-tic4x.c: Likewise.
184         * expr.c: Likewise.
185         * listing.c: Likewise.
186         * config/obj-elf.c (elf_file_symbol): Make name_length a size_t.
187         * config/tc-aarch64.c (symbol_locate): Likewise.
188         * config/tc-arm.c (symbol_locate): Likewise.
189         * config/tc-mmix.c (mmix_handle_mmixal): Make len_0 a size_t.
190         * config/tc-score.c (s3_build_score_ops_hsh): Make len a size_t.
191         (s3_build_dependency_insn_hsh): Likewise.
192         * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
193         (s7_build_dependency_insn_hsh): Likewise.
194         * frags.c (frag_grow): Make parameter a size_t, and use size_t locals.
195         (frag_new): Make parameter a size_t.
196         (frag_var_init): Make max_chars and var parameters size_t.
197         (frag_var, frag_variant): Likewise.
198         (frag_room): Return a size_t.
199         (frag_align_pattern): Make n_fill parameter a size_t.
200         * frags.h: Update function prototypes.
201         * symbols.c (save_symbol_name): Make name_length a size_t.
202
203 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
204             Alexander Ivchenko  <alexander.ivchenko@intel.com>
205             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
206             Sergey Lega  <sergey.s.lega@intel.com>
207             Anna Tikhonova  <anna.tikhonova@intel.com>
208             Ilya Tocar  <ilya.tocar@intel.com>
209             Andrey Turetskiy  <andrey.turetskiy@intel.com>
210             Ilya Verbin  <ilya.verbin@intel.com>
211             Kirill Yukhin  <kirill.yukhin@intel.com>
212             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
213
214         * config/tc-i386.c (cpu_arch): Add .avx512dq, CPU_AVX512DQ_FLAGS.
215         * doc/c-i386.texi: Document avx512dq/.avx512dq.
216
217 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
218             Alexander Ivchenko  <alexander.ivchenko@intel.com>
219             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
220             Sergey Lega  <sergey.s.lega@intel.com>
221             Anna Tikhonova  <anna.tikhonova@intel.com>
222             Ilya Tocar  <ilya.tocar@intel.com>
223             Andrey Turetskiy  <andrey.turetskiy@intel.com>
224             Ilya Verbin  <ilya.verbin@intel.com>
225             Kirill Yukhin  <kirill.yukhin@intel.com>
226             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
227
228         * config/tc-i386.c (cpu_arch): Add .avx512bw, CPU_AVX512BW_FLAGS.
229         * doc/c-i386.texi: Document avx512bw/.avx512bw.
230
231 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
232             Alexander Ivchenko  <alexander.ivchenko@intel.com>
233             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
234             Sergey Lega  <sergey.s.lega@intel.com>
235             Anna Tikhonova  <anna.tikhonova@intel.com>
236             Ilya Tocar  <ilya.tocar@intel.com>
237             Andrey Turetskiy  <andrey.turetskiy@intel.com>
238             Ilya Verbin  <ilya.verbin@intel.com>
239             Kirill Yukhin  <kirill.yukhin@intel.com>
240             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
241
242         * config/tc-i386.c (cpu_arch): Add .avx512vl, CPU_AVX512VL_FLAGS.
243         (build_vex_prefix): Don't abort on VEX.W.
244         (check_VecOperands): Support BROADCAST_1TO4 and BROADCAST_1TO2.
245         (check_VecOperations): Ditto.
246         * doc/c-i386.texi: Document avx512vl/.avx512vl.
247
248 2014-07-21  Joel Sherrill  <joel.sherrill@oarcorp.com>
249
250         Add or reactivate or1k-*-rtems*
251         * gas/configure.tgt (or1k-*-rtems*): Add.
252
253 2014-07-17  Ilya Tocar  <ilya.tocar@intel.com>
254
255         * config/tc-i386.c (parse_register): Set need_vrex.
256
257 2014-07-15  Jiong Wang  <jiong.wang@arm.com>
258
259         * config/tc-arm.c (add_to_lit_pool): Use "inst.operands[1].imm" for
260         sign extension.  Casting the type of imm1 and imm2 to offsetT.  Fix
261         one logic error when checking X_op.
262
263 2014-07-14  Andreas Schwab  <schwab@linux-m68k.org>
264
265         * config/tc-m68k.c (md_convert_frag_1): Don't complain with
266         --pcrel about TAB (DBCCLBR, LONG) conversion.
267
268 2014-07-12  David Majnemer  <david.majnemer@gmail.com>
269
270         * read.c (assign_symbol): Don't force "set" symbols local for PE.
271
272 2014-07-08  Jiong Wang  <jiong.wang@arm.com>
273
274         * config/tc-arm.c (literal_pool): New field "alignment".
275         (find_or_make_literal_pool): Initialize "alignment" to 2.
276         (s_ltorg): Align the pool using value of "alignment"
277         (parse_big_immediate): New parameter "in_exp". Return
278         parsed expression if "in_exp" is not null.
279         (parse_address_main): Invoke "parse_big_immediate" for
280         constant parameter.
281         (add_to_lit_pool): Add one parameter 'nbytes'.
282         Split 8 byte entry into two 4 byte entry.
283         Add padding to align 8 byte entry to 8 byte boundary.
284         (encode_arm_cp_address): Generate literal pool entry if possible.
285         (move_or_literal_pool): Generate entry for vldr case.
286         (enum lit_type): New enum type.
287         (do_ldst): Use new enum type.
288         (do_ldstv4): Likewise.
289         (do_t_ldst): Likewise.
290         (neon_write_immbits): Support Thumb-2 mode.
291
292 2014-07-07  Barney Stratford  <barney_stratford@fastmail.fm>
293
294         * config/tc-avr.c (avr_operand): Permit referring to r26-r31 by
295         name as [xyz][hl].  Permit using a symbol whoes name begins with
296         â€˜r’ to refer to a register.
297         Allow arbitrary expressions for the P and p operators.
298         (md_apply_fix): Check the BFD_RELOC_AVR_PORT5 and
299         BFD_RELOC_AVR_PORT6 relocations.
300
301 2014-07-04  Alan Modra  <amodra@gmail.com>
302
303         * doc/internals.texi: Update "configure.in" comments.
304         * acinclude.m4: Likewise.
305         * config/tc-sparc.c: Likewise.
306
307 2014-07-04  Alan Modra  <amodra@gmail.com>
308
309         * configure.ac: Rename from configure.in.
310         * Makefile.in: Regenerate.
311         * config.in: Regenerate.
312         * doc/Makefile.in: Regenerate.
313
314 2014-07-04  Alan Modra  <amodra@gmail.com>
315
316         * doc/Makefile.am (CONFIG_STATUS_DEPENDENCIES): Delete.
317         * doc/Makefile.in: Regenerate.
318
319 2014-07-04  Alan Modra  <amodra@gmail.com>
320
321         * configure.in: Include bfd/version.m4.
322         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
323         (BFD_VERSION): Delete.
324         * configure.com: Get bfd version from bfd/version.m4.
325         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
326         * configure: Regenerate.
327         * Makefile.in: Regenerate.
328         * doc/Makefile.in: Regenerate.
329
330 2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
331             Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
332             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
333             Soundararajan  <Sounderarajan.D@atmel.com>
334
335         * config/tc-avr.c (mcu_types): Add avrtiny arch.
336         Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
337         and attiny40.
338         (md_show_usage): Add avrtiny arch in usage message.
339         (avr_operand): validate and issue error for invalid register for
340         avrtiny.
341         add new reloc exp for 16 bit lds/sts instruction.
342         (md_apply_fix): check 16 bit lds/sts operand for out of range and
343         encode.
344         (md_assemble): check ISA for arch and issue diagnostic.
345         * NEWS: Mention new support.
346         * doc/c-avr.texi: Document support for avrtiny architecture.
347
348 2014-06-27  Alan Modra  <amodra@gmail.com>
349
350         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Don't set
351         SYM_MACHO_FIELDS_NOT_VALIDATED after reporting an error.
352         (obj_mach_o_frob_label): Avoid cascading errors.
353         (obj_mach_o_frob_symbol): Don't set SYM_MACHO_FIELDS_NOT_VALIDATED.
354
355 2014-06-18  DJ Delorie  <dj@redhat.com>
356
357         * config/rx-parse.y (BSET, BCLR, BTST, BNOT, BMCMD): Make .B
358         suffix optional.
359
360 2014-06-17  Hans-Peter Nilsson  <hp@bitrange.com>
361
362         * config/tc-mmix.c (loc_assert_s): New member frag.
363         (s_loc): Set it.
364         (mmix_md_end): If an error is reported for a LOC expression, patch
365         up the related frag.
366
367 2014-06-17  Chris Metcalf  <cmetcalf@tilera.com>
368
369         PR gas/16908
370         * macro.c (buffer_and_nest): Honour #line directives inside
371         macros.
372
373 2014-06-17 Jiong Wang <jiong.wang@arm.com>
374
375         * config/tc-arm.c (depr_it_insns): New check for inc/dec sp.
376
377 2014-06-17  Hans-Peter Nilsson  <hp@axis.com>
378
379         * config/tc-cris.c (cris_bad): New function.
380         (cris_process_instruction): Where applicable, use it instead of
381         as_bad.
382
383 2014-06-16  Nick Clifton  <nickc@redhat.com>
384
385         * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
386
387 2014-06-16  Jiong Wang  <jiong.wang@arm.com>
388
389         * config/tc-aarch64.c (END_OF_INSN): New macro.
390         (parse_operands): Handle operand given and in wrong format when
391         operand is optional.
392
393 2014-06-16  Alan Modra  <amodra@gmail.com>
394
395         * write.h (subsegs_finish): Delete declaration.
396         * write.c (subsegs_finish): Make static.
397         (write_object_file): Call subsegs_finish from here.  Don't print
398         warning and error count here..
399         * as.c (main): ..do so here instead.  Remove dead code for "no
400         object file generated".  Split out count strings to better support
401         internationalisation.  Don't call subsegs_finish. Tidy setting of
402         "keep_it".  Run write_object_file even after errors.
403         (keep_it): Make static.
404         * config/obj-elf.c (elf_frob_symbol): Remove assert.
405         (elf_frob_file_before_adjust): Likewise.
406
407 2014-06-16  Alan Modra  <amodra@gmail.com>
408
409         * config/tc-dlx.c (machine_ip): Move initialisation of the_insn
410         earlier.
411
412 2014-06-16  Alan Modra  <amodra@gmail.com>
413
414         * config/tc-i386.c (reloc): Don't avoid pcrel check for
415         BFD_RELOC_SIZE64.  Return NO_RELOC on failing pcrel check.
416
417 2014-06-16  Alan Modra  <amodra@gmail.com>
418
419         * config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
420         (tic6x_output_exidx_entry): Likewise.
421         (md_apply_fix): Simplify 1 byte md_number_to_chars.
422
423 2014-06-16  Alan Modra  <amodra@gmail.com>
424
425         * config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
426         end of archive to temp file.
427         (tic54x_start_line_hook): Start scan for parallel on next line,
428         not one char into next line (which may overrun the buffer).
429
430 2014-06-16  Alan Modra  <amodra@gmail.com>
431
432         * config/tc-vax.c (md_apply_fix): Rewrite.
433         (tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
434         define rather than the equivalent BFD_RELOC_NONE.
435
436 2014-06-16  Alan Modra  <amodra@gmail.com>
437
438         * config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
439         (md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
440         and BFD_RELOC_ARM_TLS* relocs.  Simplify BFD_RELOC_8 case.
441
442 2014-06-16  Alan Modra  <amodra@gmail.com>
443
444         * config/tc-cris.c (md_create_long_jump): Follow "short" jump
445         with a nop rather than leaving uninitialised.
446
447 2014-06-13  Chen Gang  <gang.chen.5i5j@gmail.com>
448
449         * config/tc-score7.c: Replace sprintf with strcpy where
450         appropriate.
451         (s7_b32_relax_to_b16): Use symbol_get_frag() to access a symbol's
452         frag.
453         * config/tc-score.c (s3_relax_branch_inst16): Likewise.
454         (s3_relax_cmpbranch_inst32): Likewise.
455
456 2014-06-07  Alan Modra  <amodra@gmail.com>
457
458         * config/tc-ppc.c (ppc_insert_operand): Handle PPC_OPERAND_SIGNOPT
459         on unsigned fields.  Comment on PPC_OPERAND_SIGNOPT signed fields
460         in 64-bit mode.
461
462 2014-06-02  Martin Storsjo  <martin@martin.st>
463
464         * doc/c-aarch64.texi: Fix the documentation on :pg_hi21:.
465
466 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
467
468         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
469         bfd's development.sh.
470         * Makefile.in, configure: Regenerate.
471
472 2014-06-03  Nick Clifton  <nickc@redhat.com>
473
474         * config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z.
475         (OPTION_NO_WARN_INTR_NOPS): Use Y instead of Z.
476         * doc/c-msp430.texi: Update command line option description.
477
478 2014-05-22  Alan Modra  <amodra@gmail.com>
479
480         * listing.c (listing_warning, listing_error): Add space after colon.
481         * messages.c (as_warn_internal, as_bad_internal): Use the same
482         string as above.
483
484 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
485
486         * config/tc-mips.c (file_mips_opts_checked): New static global.
487         (s_module): New static function.
488         (file_ase): Remove.
489         (mips_pseudo_table): Add .module handler.
490         (mips_set_ase): Add opts argument and use instead of mips_opts.
491         (md_assemble): Use file_mips_check_options.
492         (md_parse_option): Update to use file_mips_opts instead of mips_opts.
493         (mips_set_architecture): Delete function.  Moved to...
494         (mips_after_parse_args): Here.  All logic now applies to
495         file_mips_opts first and then copies the final state to mips_opts.
496         Move error checking and defaults inference to mips_check_options and
497         file_mips_check_options.
498         (mips_check_options): New static function.  Common option checking for
499         command line, .module and .set.  Use .module values in error messages
500         instead of refering to command line options.
501         (file_mips_check_options): New static function.  A wrapper for
502         mips_check_options with file_mips_opts.  Updates BFD arch based on
503         final options.
504         (s_mipsset): Split into s_mipsset and parse_code_option.  Settings
505         supported by both .set and .module are moved to parse_code_option.
506         Warnings and errors are kept in s_mipsset because when
507         parse_code_option is used with s_module the warnings are deferred
508         until code is generated.  Any setting supporting 'default' value is
509         kept in s_mipsset as it is not applicable to s_module. Inferred
510         settings are also kept in s_mipsset as s_module does not infer any
511         settings.  Use mips_check_options.
512         (parse_code_option): New static function derived from s_mipsset.
513         (s_module): New static function that implements .module.  Allows file
514         level settings to be changed until code is generated.
515         (s_cpload, s_cpsetup, s_cplocal): Use file_mips_check_options.
516         (s_cprestore, s_cpreturn, s_cpadd, mips_address_bytes): Likewise.
517         (mips_elf_final_processing): Update file_ase to file_mips_opts.ase.
518         (md_mips_end): Use file_mips_check_options.
519         * doc/c-mips.texi: Document .module.
520
521 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
522
523         * messages.c (as_warn_internal): Remove extra whitespace from
524         warning messages.
525
526 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
527
528         * config/tc-mips.c (FP64_ASES): Add ASE_MSA.
529         (mips_after_parse_args): Do not select ASE_MSA without -mfp64.
530
531 2014-05-20  Mike Stump  <mikestump@comcast.net>
532
533         * messages.c (as_warn_internal): Ensure we don't interleave output
534         within a single line when make -j is used.
535         (as_bad_internal): Likewise.
536
537 2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
538
539         * config/obj-elf.h (obj_elf_seen_attribute): Declare.
540         * config/obj-elf.c (recorded_attribute_info): New structure.
541         (recorded_attributes): New variable.
542         (record_attribute, obj_elf_seen_attribute): New functions.
543         (obj_elf_vendor_attribute): Record which attributes have been seen.
544
545 2014-05-20  Nick Clifton  <nickc@redhat.com>
546
547         * config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter.
548         Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1.
549         (msp430_srcoperand): Store vshift value in operand.
550
551 2014-05-19  Nick Clifton  <nickc@redhat.com>
552
553         PR gas/16858
554         * config/tc-i386.c (md_apply_fix): Improve the detection of code
555         symbols for 32-bit PE targets.
556
557 2014-05-18  Richard Sandiford  <rdsandiford@googlemail.com>
558
559         * config/tc-mips.c (md_obj_begin): Delete.
560         (md_obj_end): Fold into...
561         (md_mips_end): ...here.  Move to end of file.
562
563 2014-05-17  Nick Clifton  <nickc@redhat.com>
564
565         PR gas/16946
566         * config/tc-v850.c (handle_ctoff): Generate an error if called
567         when using the RH850 ABI.
568
569 2014-05-16  Kaushik Phata  <Kaushik.Phatak@kpit.com>
570
571         * config/tc-rl78.c (enum options): Add OPTION_32BIT_DOUBLES
572         and OPTION_64BIT_DOUBLES.
573         (md_longopts): Add -m32bit-doubles and -m64bit-doubles.
574         (md_parse_option): Parse -m32bit-doubles and -m64bit-doubles.
575         (md_show_usage): Show all of the RL78 options.
576         (rl78_float_cons): New static functions.
577         (md_pseudo_table): Update handler for "double".
578         * doc/c-rl78.texi: Document new options.
579         * doc/as.texinfo: Likewise.
580
581 2014-05-13  Matthew Fortune  <matthew.fortune@imgtec.com>
582
583         * config/tc-mips.c (mips_set_options): Rename gp32 to gp throughout.
584         (HAVE_32BIT_GPRS, HAVE_64BIT_GPRS): Remove. Re-implement via GPR_SIZE.
585         (HAVE_32BIT_FPRS, HAVE_64BIT_FPRS): Remove. Re-implement via FPR_SIZE.
586         (GPR_SIZE, FPR_SIZE): New macros. Use throughout.
587
588 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
589
590         * config/tc-mips.c (md_parse_option): Update missed file_mips_isa
591         references.
592
593 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
594
595         * config/tc-mips.c (mips_set_options): Rename fp32 field to fp.
596         Update fp32 == 0 to fp == 64 and fp32 == 1 to fp != 64 throughout.
597         (file_mips_gp32, file_mips_fp32, file_mips_soft_float,
598         file_mips_single_float, file_mips_isa, file_mips_arch): Merge into
599         one struct...
600         (file_mips_opts): Here. New static global. Update throughout.
601         (mips_opts): Update defaults for gp32 and fp.
602
603 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
604
605         * config/tc-mips.c (streq): Define.
606         (mips_convert_symbolic_attribute): New function.
607         * config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
608         (mips_convert_symbolic_attribute): New prototype.
609
610 2014-05-02  Max Filippov  <jcmvbkbc@gmail.com>
611
612         * config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
613         fixups as signed.
614
615 2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
616
617         * tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
618         and mips64r5.
619         (ISA_HAS_64BIT_FPRS): Likewise.
620         (ISA_HAS_ROR): Likewise.
621         (ISA_HAS_ODD_SINGLE_FPR): Likewise.
622         (ISA_HAS_MXHC1): Likewise.
623         (hilo_interlocks): Likewise.
624         (md_longopts): Likewise.
625         (ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
626         (ISA_HAS_DROR): Likewise.
627         (options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
628         OPTION_MIPS64R5.
629         (mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
630         mips64r5.
631         (md_parse_option): Likewise.
632         (s_mipsset): Likewise.
633         (mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
634         and mips64r5.  Also change p5600 entry to be mips32r5.
635         * configure.in: Add support for mips32r3, mips32r5, mips64r3 and
636         mips64r5.
637         * configure: Regenerate.
638         * doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
639         -mips64r5 command line options.
640         * doc/as.texinfo: Likewise.
641
642 2014-04-28  Nick Clifton  <nickc@redhat.com>
643
644         PR gas/16858
645         * config/tc-i386.c (md_apply_fix): Do not adjust value of
646         pc-relative fixes against weak symbols.
647
648 2014-04-26  Alan Modra  <amodra@gmail.com>
649
650         * po/POTFILES.in: Regenerate.
651
652 2014-04-24  Nick Clifton  <nickc@redhat.com>
653
654         * config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
655         based targets.
656
657 2014-04-23  Will Newton  <will.newton@linaro.org>
658
659         * config/tc-arm.c (s_ltorg): Call make_mapping_symbol
660         directly instead of mapping_state.
661
662 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
663
664         * config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
665         (md_longopts): Add xpa and no-xpa command line options.
666         (mips_ases): Add MIPS XPA ASE.
667         (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
668         * doc/as.texinfo: Document the MIPS XPA command line options.
669         * doc/c-mips.texi: Document the MIPS XPA command line options,
670         and assembler directives.
671
672 2014-04-22  Sandra Loosemore  <sandra@codesourcery.com>
673
674         * config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
675         unbreak self-test mode.
676
677 2014-04-22  Max Filippov  <jcmvbkbc@gmail.com>
678
679         * config/tc-xtensa.c (xtensa_handle_align): record alignment for the
680         first section frag.
681
682 2014-04-22  Christian Svensson  <blue@cmd.nu>
683
684         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
685         * configure.in: Likewise.
686         * configure.tgt: Likewise.
687         * doc/as.texinfo: Likewise.
688         * config/obj-coff.h: Likewise.
689         * config/tc-or1k.c: New file.
690         * config/tc-or1k.h: New file.
691         * config/tc-openrisc.c: Delete.
692         * config/tc-openrisc.h: Delete.
693         * config/tc-or32.c: Delete.
694         * config/tc-or32.h: Delete.
695         * Makefile.in: Regenerate.
696         * configure: Regenerate.
697
698 2014-04-16  Alan Modra  <amodra@gmail.com>
699
700         * config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
701         * config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
702
703 2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
704
705         * config/tc-avr.c: Add new flag mlink-relax.
706         (md_show_usage): Add flag and help text.
707         (md_parse_option): Record whether link relax is turned on.
708         (relaxable_section): New.
709         (avr_validate_fix_sub): New.
710         (avr_force_relocation): New.
711         (md_apply_fix): Generate DIFF reloc.
712         (avr_allow_local_subtract): New.
713
714         * config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
715         (TC_FORCE_RELOCATION): Define.
716         (TC_FORCE_RELOCATION_SUB_SAME): Define.
717         (TC_VALIDATE_FIX_SUB): Define.
718         (avr_force_relocation): Declare.
719         (avr_validate_fix_sub): Declare.
720         (md_allow_local_subtract): Define.
721         (avr_allow_local_subtract): Declare.
722
723 2014-04-10  Andrew Bennett  <andrew.bennett@imgtec.com>
724
725         * config/tc-mips.c (mips_cpu_info_table): Add P5600
726         configuation.
727         * doc/c-mips.texi: Document p5600.
728
729 2014-04-09  Nick Clifton  <nickc@redhat.com>
730
731         * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
732         * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
733         * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
734         * read.c (emit_expr_fix): Mark the r parameter as potentially
735         unused.
736
737 2014-04-09  Alan Modra  <amodra@gmail.com>
738
739         * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
740         New static vars.
741         (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
742         (ppc_elf_cons_fix_check): New function.
743         (md_assemble): Set last_insn, last_seg, last_subseg.
744         (ppc_byte, md_apply_fix): Handle warn_476.
745         * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
746         (ppc_elf_cons_fix_check): Declare.
747         * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
748
749 2014-04-09  Alan Modra  <amodra@gmail.com>
750
751         * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
752         * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
753         * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
754         (TC_CONS_FIX_NEW): Add RELOC parameter.
755         * gas/config/tc-arm.c (cons_fix_new_arm): Similarly
756         * gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
757         * gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
758         * gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
759         * gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
760         * gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
761         * gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
762         * gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
763         * gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
764         Similarly.
765         * gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
766         * gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
767         * gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
768         * gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
769         * gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
770         * gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
771         * gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
772         * gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
773         * gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
774         * gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
775         Similarly.
776         * gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
777         * gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
778         Similarly.
779         * gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
780         * gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
781         * gas/config/tc-avr.c (exp_mod_data): Make global.
782         (pexp_mod_data): Delete.
783         (avr_parse_cons_expression): Return exp_mod_data pointer.
784         (avr_cons_fix_new): Add exp_mod_data_t pointer param.
785         (exp_mod_data_t): Move typedef..
786         * gas/config/tc-avr.h: ..to here.
787         (exp_mod_data): Declare.
788         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
789         (avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
790         (TC_CONS_FIX_NEW): Update.
791         * gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
792         (cons_fix_new_hppa): Add hppa_field_selector param.
793         (fix_new_hppa): Adjust.
794         (parse_cons_expression_hppa): Return field selector.
795         * gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
796         (cons_fix_new_hppa): Likewise.
797         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
798         * gas/config/tc-i386.c (got_reloc): Delete static var.
799         (x86_cons_fix_new): Add reloc param.
800         (x86_cons): Return got reloc.
801         * gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
802         (TC_CONS_FIX_NEW): Add RELOC param.
803         * gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param.  Adjust
804         calls.
805         * gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
806         (TC_CONS_FIX_NEW): Add reloc param.
807         * gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
808         Return reloc.
809         (cons_fix_new_microblaze): Add reloc param.
810         * gas/config/tc-microblaze.h: Formatting.
811         (parse_cons_expression_microblaze): Update proto.
812         (cons_fix_new_microblaze): Likewise.
813         * gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
814         (nios2_cons): Return ldo reloc.
815         (nios2_cons_fix_new): Delete.
816         * gas/config/tc-nios2.h (nios2_cons): Update prototype.
817         (nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
818         * gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
819         short.  Make llong use cons.
820         (ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
821         (ppc_elf_cons): Delete.
822         (ppc_elf_parse_cons): New function.
823         (ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
824         (md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
825         * gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
826         (ppc_elf_parse_cons): Declare.
827         * gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
828         (sparc_cons): Return reloc specifier.
829         (cons_fix_new_sparc): Add reloc specifier param.
830         (sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
831         * gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
832         (TC_PARSE_CONS_RETURN_NONE): Define.
833         (sparc_cons, cons_fix_new_sparc): Update prototype.
834         * gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
835         (v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
836         (md_assemble): Likewise.
837         (parse_cons_expression_v850): Return reloc.
838         (cons_fix_new_v850): Add reloc parameter.
839         * gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
840         (cons_fix_new_v850): Likewise.
841         * gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
842         (vax_cons): Return reloc.
843         (vax_cons_fix_new): Add reloc parameter.
844         * gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
845         * gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
846         * gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
847         * gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
848         (emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
849         * gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
850         (do_parse_cons_expression): Adjust.
851         (cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
852         to emit_expr_with_reloc.
853         (emit_expr_with_reloc): New function handling reloc, mostly
854         extracted from..
855         (emit_expr): ..here.
856         (emit_expr_fix): Add reloc param.  Adjust TC_CONS_FIX_NEW invocation.
857         Handle reloc.
858         (parse_mri_cons): Convert to ISO.
859         * gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
860         (TC_PARSE_CONS_RETURN_NONE): Define.
861         (emit_expr_with_reloc): Declare.
862         (emit_expr_fix): Update prototype.
863         * gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
864
865 2014-04-03  Ilya Tocar  <ilya.tocar@intel.com>
866
867         * config/tc-i386.c (cpu_arch): Add .se1.
868         * doc/c-i386.texi: Document .se1/se1.
869
870 2014-04-02  DJ Delorie  <dj@redhat.com>
871
872         * config/tc-rl78.c (md_apply_fix): Add overflow warnings for
873         pc-relative branches.
874
875 2014-04-02  Nick Clifton  <nickc@redhat.com>
876
877         PR gas/16765
878         * config/tc-arm.c (create_unwind_entry): Report an error if an
879         attempt to recreate an unwind directive is encountered.
880
881 2014-03-27  Nick Clifton  <nickc@redhat.com>
882
883         * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
884         sprintf in order to avoid a compile time warning.
885
886 2014-03-26  Nick Clifton  <nickc@redhat.com>
887
888         * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
889         relocation is used on an 8-bit operand or vice versa.
890         (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
891         (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
892
893 2014-03-25  Nick Clifton  <nickc@redhat.com>
894
895         * config/obj-coff-seh.c (obj_coff_seh_code): New function -
896         switches the current segment back to the code segment recorded
897         when seh_proc was last invoked.
898         * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
899
900 2014-03-25  Alan Modra  <amodra@gmail.com>
901
902         * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
903         (md_assemble): Likewise.  Warn.
904
905 2014-03-21  David Weatherford <weath@cadence.com>
906             Max Filippov <jcmvbkbc@gmail.com>
907
908         * config/tc-xtensa.c (xtensa_check_frag_count)
909         xtensa_create_trampoline_frag,
910         xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
911         find_trampoline_seg, search_trampolines, get_best_trampoline,
912         check_and_update_trampolines, add_jump_to_trampoline,
913         dump_trampolines): New functions.
914         (md_parse_option): Add cases for --[no-]trampolines options.
915         (md_assemble, finish_vinsn, xtensa_end): Add call to
916         xtensa_check_frag_count.
917         (xg_assemble_vliw_tokens): Add call to
918         xtensa_maybe_create_trampoline_frag.
919         (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
920         (relax_frag_immed): Relax jump instructions that cannot reach its
921         target.
922         * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
923         relax state.
924         * doc/as.texinfo: Document --[no-]trampolines command-line options.
925         * doc/c-xtensa.texi: Document trampolines relaxation and command
926         line options.
927         * frags.c (get_frag_count, clear_frag_count): New function.
928         (frag_alloc): Increment totalfrags counter.
929         * frags.h (get_frag_count, clear_frag_count): New function.
930
931 2014-03-20  DJ Delorie  <dj@redhat.com>
932
933         * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
934         * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
935         rl78_relax().
936         * config/tc-rl78.h (md_relax_frag): Define.
937         (rl78_relax_frag): Declare.
938         * config/tc-rl78.c (rl78_relax): Add.
939         (md_assemble): Set up the variable frags also when relaxing.
940         (op_type_T): New.
941         (rl78_opcode_type): New.
942         (rl78_frag_fix_value): New.
943         (md_estimate_size_before_relax): New-ish.
944         (rl78_relax_frag): New.
945         (md_convert_frag): New-ish.
946
947 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
948
949         * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
950         * config/tc-mips.c (md_pcrel_from): Remove error message.
951         (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
952         BFD_RELOC_32_PCREL.  Report a specific error message for unhandled
953         PC-relative expressions.  Handle BFD_RELOC_8.
954
955 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
956
957         * config/tc-sparc.c (hpriv_reg_table): Added entries for
958         %hstick_offset and %hstick_enable.
959         * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
960         %hstick_enable hyperprivileged registers.
961
962 2014-03-19  Daniel Gutson <daniel.gutson@tallertechnologies.com>
963             Nick Clifton  <nickc@redhat.com>
964
965         * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
966         CCS syntax compatibility mode is on or off.
967         (asmfunc_states): New enum to represent the asmfunc directive state.
968         (asmfunc_state): New variable holding the asmfunc directive state.
969         (comment_chars): Rename to arm_comment_chars.
970         (line_separator_chars): Rename to arm_line_separator_chars.
971         (s_ccs_ref): New function that handles the .ref directive.
972         (asmfunc_debug): New function.
973         (s_ccs_asmfunc): New function that handles the .asmfunc directive.
974         (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
975         (s_ccs_def): New function that handles the .def directive.
976         (tc_start_label_without_colon): New function.
977         (md_pseudo_table): Added new CCS directives.
978         (arm_ccs_mode): New function that handles the -mccs command line option.
979         (arm_long_opts): Added new -mccs command line option.
980         * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
981         (TC_START_LABEL_WITHOUT_COLON): New macro.
982         (tc_start_label_without_colon): Added extern function declaration.
983         (tc_comment_chars): Define.
984         (tc_line_separator_chars): Define.
985         * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
986         * read.c (read_begin): Likewise.
987         * doc/as.texinfo: Add documentation for the -mccs command line
988         option.
989         * doc/c-arm.texi: Likewise.
990         * doc/internals.texi: Document tc_line_separator_chars.
991         * NEWS: Mention the new feature.
992
993 2014-03-18  Jiong Wang  <jiong.wang@arm.com>
994
995         * config/tc-aarch64.c (aarch64_opts): Add new option
996         "mno-verbose-error".
997         (verbose_error_p): Initialize to 1.
998         * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
999         and -mno-verbose-error.
1000
1001 2014-03-17  Nick Clifton  <nickc@redhat.com>
1002
1003         PR gas/16694
1004         * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
1005         registers as well.
1006
1007 2014-03-13  Richard Earnshaw  <rearnsha@arm.com>
1008             Jiong Wang  <Jiong.Wang@arm.com>
1009
1010         * doc/c-aarch64.texi: Clean up some formatting issues.
1011         (AArch64 Options): Document -mcpu and -march.
1012         (AArch64 Extensions): New node.
1013
1014 2014-03-13  Tristan Gingold  <gingold@adacore.com>
1015
1016         * config/tc-i386.c (use_big_obj): Declare.
1017         (OPTION_MBIG_OBJ): Define.
1018         (md_longopts): Add -mbig-obj option.
1019         (md_parse_option): Handle it.
1020         (md_show_usage): Display help for this option.
1021         (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
1022         * doc/c-i386.texi: Document the option.
1023
1024 2014-03-12  Nick Clifton  <nickc@redhat.com>
1025
1026         PR gas/16688
1027         * config/tc-aarch64.c (literal_expression): New structure.
1028         (literal_pool): Replace exp array with literal_expression array.
1029         (add_to_lit_pool): When adding a bignum cache the big value.
1030         (s_ltorg): When emitting a bignum initialise the global bignum
1031         array from the cached value.
1032
1033 2014-03-12  Alan Modra  <amodra@gmail.com>
1034
1035         * Makefile.in: Regenerate.
1036         * config.in: Regenerate.
1037         * doc/Makefile.in: Regenerate.
1038
1039 2014-03-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
1040         Vishnu KS <Vishnu.k_s@atmel.com>
1041         Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1042         Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
1043
1044         * gas/tc-avr.c: Add new devices
1045         avr25: ata5272, attiny828
1046         avr35: ata5505, attiny1634
1047         avr4: atmega8a, ata6285, ata6286, atmega48pa
1048         avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
1049         atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
1050         atmega16hva2
1051         avr51: atmega128a, atmega1284
1052         avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
1053         atxmega32e5, atxmega16e5, atxmega8e5
1054         avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
1055         atxmega64c3, atxmega64d4
1056         avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
1057         atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
1058         atxmega256c3, atxmega384c3, atxmega384d3
1059         avrxmega7: atxmega128a4u
1060         * doc/c-avr.texi: Ditto.
1061
1062 2014-03-05  Alan Modra  <amodra@gmail.com>
1063
1064         Update copyright years.
1065
1066 2014-03-05  Alan Modra  <amodra@gmail.com>
1067
1068         * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
1069         (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
1070
1071 2014-03-05  Alan Modra  <amodra@gmail.com>
1072
1073         * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
1074         later.  Merge absolute and relative branch reloc selection.
1075         Generate 16-bit relocs for most 16-bit insn fields given a
1076         non-constant expression.
1077
1078 2014-03-05  Alan Modra  <amodra@gmail.com>
1079
1080         * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
1081         (md_assemble): Don't call ppc_is_toc_sym for ELF.
1082
1083 2014-03-04  Heiher  <r@hev.cc>
1084
1085         * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
1086         Loongson-3A.
1087
1088 2014-03-03  Nick Clifton  <nickc@redhat.com>
1089
1090         * config/msp430/msp430.c: Replace known mcu array with known
1091         msp430 ISA mcu name array.
1092         Accept any name for -mmcu option.
1093         Add -mz option to warn about missing NOP following an interrupt
1094         status change.
1095         (check_for_nop): New.
1096         (msp430_operands): Emit a warning, if requested, when an interrupt
1097         changing instruction is not followed by a NOP.
1098         * doc/c-msp430.c: Document -mz option.
1099
1100 2014-03-03  Alan Modra  <amodra@gmail.com>
1101
1102         * config/bfin-lex-wrapper.c: Correct copyright date.
1103         * config/obj-fdpicelf.c: Likewise.
1104         * config/obj-fdpicelf.h: Likewise.
1105         * config/tc-frv.c: Correct copyright punctuation.
1106         * config/tc-ip2k.c: Likewise.
1107         * config/tc-iq2000.c: Likewise.
1108         * config/tc-mep.c: Likewise.
1109         * config/tc-tic4x.c: Likewise.
1110         * config/tc-tic4x.h: Likewise.
1111
1112 2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1113
1114         * config/tc-avr.c: Remove atxmega16x1.
1115
1116 2014-02-28  Alan Modra  <amodra@gmail.com>
1117
1118         * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
1119         field for 64-bit dwarf.
1120
1121 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
1122
1123         * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
1124         * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
1125
1126 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
1127
1128         * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
1129         * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
1130         clflushopt/.clfushopt.
1131
1132 2014-02-10  Alan Modra  <amodra@gmail.com>
1133
1134         * po/POTFILES.in: Regenerate.
1135         * po/gas.pot: Regenerate.
1136
1137 2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
1138
1139         * config/tc-nios2.c (md_apply_fix): Test for new relocs.
1140         (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
1141         %got_hiadj relocation operators.  Sort table and add comment
1142         to explain ordering.
1143         (nios2_fix_adjustable): Test for new relocs.
1144         * doc/c-nios2.texi (Nios II Relocations): Document new relocation
1145         operators.
1146
1147 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
1148
1149         * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
1150         (nios2_assemble_args_m): Likewise.
1151         (md_assemble): Likewise.
1152
1153 2014-01-24  DJ Delorie  <dj@redhat.com>
1154
1155         * config/tc-msp430.c (msp430_section): Always flag data sections,
1156         regardless of -md.
1157         (msp430_frob_section): New.  Make sure all sections are noticed if
1158         they have content.
1159         (msp430_lcomm): New.  Flag bss if .lcomm is seen.
1160         (msp430_comm): New.  Likewise.
1161         (md_pseudo_table): Add them.
1162         * config/tc-msp430.h (msp430_frob_section): Declare.
1163         (tc_frob_section): Define.
1164
1165 2014-01-23  Nick Clifton  <nickc@redhat.com>
1166
1167         * config/tc-msp430.c (show_mcu_list): Delete.
1168         (md_parse_option): Accept any MCU name.  Accept several more
1169         variants for the -mcpu option.
1170         (md_show_usage): Do not call show_mcu_list.
1171
1172 2014-01-22  DJ Delorie  <dj@redhat.com>
1173
1174         * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
1175         * doc/c-msp430.texi (MSP430 Directives): Document it.
1176
1177 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
1178
1179         * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
1180         gather assert.
1181
1182 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
1183
1184         PR gas/16489
1185         * config/tc-i386.c (check_VecOperands): Add check for invalid
1186         register set in AVX512 gathers.
1187
1188 2014-01-22  Alan Modra  <amodra@gmail.com>
1189
1190         * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
1191
1192 2014-01-21  DJ Delorie  <dj@redhat.com>
1193
1194         * config/tc-rl78.c (require_end_of_expr): New.
1195         (md_operand): Call it.
1196         (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
1197         as not overflowing.
1198
1199 2014-01-17  Will Newton  <will.newton@linaro.org>
1200
1201         * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
1202         for the s32.f64 flavours of VCVT.
1203
1204 2014-01-14  Nick Clifton  <nickc@redhat.com>
1205
1206         PR gas/16434
1207         * config/tc-z80.c (wrong_match): Provide format string to
1208         as_warn.
1209         (parse_exp_not_indexed): Delete unused variable dummy.
1210         (emit_byte): Delete unused variable fixp.
1211
1212 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1213
1214         * config/tc-i386.c (regbnd): Removed.
1215         (vec_disp8): Likewise.
1216
1217 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1218
1219         * as.c (parse_args): Update copyright year to 2014.
1220
1221 2014-01-07  Tom Tromey  <tromey@redhat.com>
1222
1223         * config/tc-tic30.c (debug): Avoid old VA_* compatibility
1224         wrappers.
1225
1226 2014-01-07  Tom Tromey  <tromey@redhat.com>
1227
1228         * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
1229         use PARAMS.
1230
1231 2014-01-07  Tom Tromey  <tromey@redhat.com>
1232
1233         * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
1234
1235 2013-01-07  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1236
1237         * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
1238
1239 For older changes see ChangeLog-2013
1240 \f
1241 Copyright (C) 2014 Free Software Foundation, Inc.
1242
1243 Copying and distribution of this file, with or without modification,
1244 are permitted in any medium without royalty provided the copyright
1245 notice and this notice are preserved.
1246
1247 Local Variables:
1248 mode: change-log
1249 left-margin: 8
1250 fill-column: 74
1251 version-control: never
1252 End: