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