Re-work register size macros for MIPS.
[external/binutils.git] / gas / ChangeLog
1 2014-05-13  Matthew Fortune  <matthew.fortune@imgtec.com>
2
3         * config/tc-mips.c (mips_set_options): Rename gp32 to gp throughout.
4         (HAVE_32BIT_GPRS, HAVE_64BIT_GPRS): Remove. Re-implement via GPR_SIZE.
5         (HAVE_32BIT_FPRS, HAVE_64BIT_FPRS): Remove. Re-implement via FPR_SIZE.
6         (GPR_SIZE, FPR_SIZE): New macros. Use throughout.
7
8 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
9
10         * config/tc-mips.c (md_parse_option): Update missed file_mips_isa
11         references.
12
13 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
14
15         * config/tc-mips.c (mips_set_options): Rename fp32 field to fp.
16         Update fp32 == 0 to fp == 64 and fp32 == 1 to fp != 64 throughout.
17         (file_mips_gp32, file_mips_fp32, file_mips_soft_float,
18         file_mips_single_float, file_mips_isa, file_mips_arch): Merge into
19         one struct...
20         (file_mips_opts): Here. New static global. Update throughout.
21         (mips_opts): Update defaults for gp32 and fp.
22
23 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
24
25         * config/tc-mips.c (streq): Define.
26         (mips_convert_symbolic_attribute): New function.
27         * config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
28         (mips_convert_symbolic_attribute): New prototype.
29
30 2014-05-02  Max Filippov  <jcmvbkbc@gmail.com>
31
32         * config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
33         fixups as signed.
34
35 2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
36
37         * tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
38         and mips64r5.
39         (ISA_HAS_64BIT_FPRS): Likewise.
40         (ISA_HAS_ROR): Likewise.
41         (ISA_HAS_ODD_SINGLE_FPR): Likewise.
42         (ISA_HAS_MXHC1): Likewise.
43         (hilo_interlocks): Likewise.
44         (md_longopts): Likewise.
45         (ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
46         (ISA_HAS_DROR): Likewise.
47         (options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
48         OPTION_MIPS64R5.
49         (mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
50         mips64r5.
51         (md_parse_option): Likewise.
52         (s_mipsset): Likewise.
53         (mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
54         and mips64r5.  Also change p5600 entry to be mips32r5.
55         * configure.in: Add support for mips32r3, mips32r5, mips64r3 and
56         mips64r5.
57         * configure: Regenerate.
58         * doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
59         -mips64r5 command line options.
60         * doc/as.texinfo: Likewise.
61
62 2014-04-28  Nick Clifton  <nickc@redhat.com>
63
64         PR gas/16858
65         * config/tc-i386.c (md_apply_fix): Do not adjust value of
66         pc-relative fixes against weak symbols.
67
68 2014-04-26  Alan Modra  <amodra@gmail.com>
69
70         * po/POTFILES.in: Regenerate.
71
72 2014-04-24  Nick Clifton  <nickc@redhat.com>
73
74         * config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
75         based targets.
76
77 2014-04-23  Will Newton  <will.newton@linaro.org>
78
79         * config/tc-arm.c (s_ltorg): Call make_mapping_symbol
80         directly instead of mapping_state.
81
82 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
83
84         * config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
85         (md_longopts): Add xpa and no-xpa command line options.
86         (mips_ases): Add MIPS XPA ASE.
87         (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
88         * doc/as.texinfo: Document the MIPS XPA command line options.
89         * doc/c-mips.texi: Document the MIPS XPA command line options,
90         and assembler directives.
91
92 2014-04-22  Sandra Loosemore  <sandra@codesourcery.com>
93
94         * config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
95         unbreak self-test mode.
96
97 2014-04-22  Max Filippov  <jcmvbkbc@gmail.com>
98
99         * config/tc-xtensa.c (xtensa_handle_align): record alignment for the
100         first section frag.
101
102 2014-04-22  Christian Svensson  <blue@cmd.nu>
103
104         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
105         * configure.in: Likewise.
106         * configure.tgt: Likewise.
107         * doc/as.texinfo: Likewise.
108         * config/obj-coff.h: Likewise.
109         * config/tc-or1k.c: New file.
110         * config/tc-or1k.h: New file.
111         * config/tc-openrisc.c: Delete.
112         * config/tc-openrisc.h: Delete.
113         * config/tc-or32.c: Delete.
114         * config/tc-or32.h: Delete.
115         * Makefile.in: Regenerate.
116         * configure: Regenerate.
117
118 2014-04-16  Alan Modra  <amodra@gmail.com>
119
120         * config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
121         * config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
122
123 2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
124
125         * config/tc-avr.c: Add new flag mlink-relax.
126         (md_show_usage): Add flag and help text.
127         (md_parse_option): Record whether link relax is turned on.
128         (relaxable_section): New.
129         (avr_validate_fix_sub): New.
130         (avr_force_relocation): New.
131         (md_apply_fix): Generate DIFF reloc.
132         (avr_allow_local_subtract): New.
133
134         * config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
135         (TC_FORCE_RELOCATION): Define.
136         (TC_FORCE_RELOCATION_SUB_SAME): Define.
137         (TC_VALIDATE_FIX_SUB): Define.
138         (avr_force_relocation): Declare.
139         (avr_validate_fix_sub): Declare.
140         (md_allow_local_subtract): Define.
141         (avr_allow_local_subtract): Declare.
142
143 2014-04-10  Andrew Bennett  <andrew.bennett@imgtec.com>
144
145         * config/tc-mips.c (mips_cpu_info_table): Add P5600
146         configuation.
147         * doc/c-mips.texi: Document p5600.
148
149 2014-04-09  Nick Clifton  <nickc@redhat.com>
150
151         * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
152         * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
153         * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
154         * read.c (emit_expr_fix): Mark the r parameter as potentially
155         unused.
156
157 2014-04-09  Alan Modra  <amodra@gmail.com>
158
159         * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
160         New static vars.
161         (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
162         (ppc_elf_cons_fix_check): New function.
163         (md_assemble): Set last_insn, last_seg, last_subseg.
164         (ppc_byte, md_apply_fix): Handle warn_476.
165         * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
166         (ppc_elf_cons_fix_check): Declare.
167         * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
168
169 2014-04-09  Alan Modra  <amodra@gmail.com>
170
171         * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
172         * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
173         * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
174         (TC_CONS_FIX_NEW): Add RELOC parameter.
175         * gas/config/tc-arm.c (cons_fix_new_arm): Similarly
176         * gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
177         * gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
178         * gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
179         * gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
180         * gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
181         * gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
182         * gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
183         * gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
184         Similarly.
185         * gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
186         * gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
187         * gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
188         * gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
189         * gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
190         * gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
191         * gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
192         * gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
193         * gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
194         * gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
195         Similarly.
196         * gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
197         * gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
198         Similarly.
199         * gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
200         * gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
201         * gas/config/tc-avr.c (exp_mod_data): Make global.
202         (pexp_mod_data): Delete.
203         (avr_parse_cons_expression): Return exp_mod_data pointer.
204         (avr_cons_fix_new): Add exp_mod_data_t pointer param.
205         (exp_mod_data_t): Move typedef..
206         * gas/config/tc-avr.h: ..to here.
207         (exp_mod_data): Declare.
208         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
209         (avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
210         (TC_CONS_FIX_NEW): Update.
211         * gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
212         (cons_fix_new_hppa): Add hppa_field_selector param.
213         (fix_new_hppa): Adjust.
214         (parse_cons_expression_hppa): Return field selector.
215         * gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
216         (cons_fix_new_hppa): Likewise.
217         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
218         * gas/config/tc-i386.c (got_reloc): Delete static var.
219         (x86_cons_fix_new): Add reloc param.
220         (x86_cons): Return got reloc.
221         * gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
222         (TC_CONS_FIX_NEW): Add RELOC param.
223         * gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param.  Adjust
224         calls.
225         * gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
226         (TC_CONS_FIX_NEW): Add reloc param.
227         * gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
228         Return reloc.
229         (cons_fix_new_microblaze): Add reloc param.
230         * gas/config/tc-microblaze.h: Formatting.
231         (parse_cons_expression_microblaze): Update proto.
232         (cons_fix_new_microblaze): Likewise.
233         * gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
234         (nios2_cons): Return ldo reloc.
235         (nios2_cons_fix_new): Delete.
236         * gas/config/tc-nios2.h (nios2_cons): Update prototype.
237         (nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
238         * gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
239         short.  Make llong use cons.
240         (ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
241         (ppc_elf_cons): Delete.
242         (ppc_elf_parse_cons): New function.
243         (ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
244         (md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
245         * gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
246         (ppc_elf_parse_cons): Declare.
247         * gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
248         (sparc_cons): Return reloc specifier.
249         (cons_fix_new_sparc): Add reloc specifier param.
250         (sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
251         * gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
252         (TC_PARSE_CONS_RETURN_NONE): Define.
253         (sparc_cons, cons_fix_new_sparc): Update prototype.
254         * gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
255         (v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
256         (md_assemble): Likewise.
257         (parse_cons_expression_v850): Return reloc.
258         (cons_fix_new_v850): Add reloc parameter.
259         * gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
260         (cons_fix_new_v850): Likewise.
261         * gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
262         (vax_cons): Return reloc.
263         (vax_cons_fix_new): Add reloc parameter.
264         * gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
265         * gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
266         * gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
267         * gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
268         (emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
269         * gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
270         (do_parse_cons_expression): Adjust.
271         (cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
272         to emit_expr_with_reloc.
273         (emit_expr_with_reloc): New function handling reloc, mostly
274         extracted from..
275         (emit_expr): ..here.
276         (emit_expr_fix): Add reloc param.  Adjust TC_CONS_FIX_NEW invocation.
277         Handle reloc.
278         (parse_mri_cons): Convert to ISO.
279         * gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
280         (TC_PARSE_CONS_RETURN_NONE): Define.
281         (emit_expr_with_reloc): Declare.
282         (emit_expr_fix): Update prototype.
283         * gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
284
285 2014-04-03  Ilya Tocar  <ilya.tocar@intel.com>
286
287         * config/tc-i386.c (cpu_arch): Add .se1.
288         * doc/c-i386.texi: Document .se1/se1.
289
290 2014-04-02  DJ Delorie  <dj@redhat.com>
291
292         * config/tc-rl78.c (md_apply_fix): Add overflow warnings for
293         pc-relative branches.
294
295 2014-04-02  Nick Clifton  <nickc@redhat.com>
296
297         PR gas/16765
298         * config/tc-arm.c (create_unwind_entry): Report an error if an
299         attempt to recreate an unwind directive is encountered.
300
301 2014-03-27  Nick Clifton  <nickc@redhat.com>
302
303         * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
304         sprintf in order to avoid a compile time warning.
305
306 2014-03-26  Nick Clifton  <nickc@redhat.com>
307
308         * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
309         relocation is used on an 8-bit operand or vice versa.
310         (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
311         (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
312
313 2014-03-25  Nick Clifton  <nickc@redhat.com>
314
315         * config/obj-coff-seh.c (obj_coff_seh_code): New function -
316         switches the current segment back to the code segment recorded
317         when seh_proc was last invoked.
318         * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
319
320 2014-03-25  Alan Modra  <amodra@gmail.com>
321
322         * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
323         (md_assemble): Likewise.  Warn.
324
325 2014-03-21  David Weatherford <weath@cadence.com>
326             Max Filippov <jcmvbkbc@gmail.com>
327
328         * config/tc-xtensa.c (xtensa_check_frag_count)
329         xtensa_create_trampoline_frag,
330         xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
331         find_trampoline_seg, search_trampolines, get_best_trampoline,
332         check_and_update_trampolines, add_jump_to_trampoline,
333         dump_trampolines): New functions.
334         (md_parse_option): Add cases for --[no-]trampolines options.
335         (md_assemble, finish_vinsn, xtensa_end): Add call to
336         xtensa_check_frag_count.
337         (xg_assemble_vliw_tokens): Add call to
338         xtensa_maybe_create_trampoline_frag.
339         (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
340         (relax_frag_immed): Relax jump instructions that cannot reach its
341         target.
342         * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
343         relax state.
344         * doc/as.texinfo: Document --[no-]trampolines command-line options.
345         * doc/c-xtensa.texi: Document trampolines relaxation and command
346         line options.
347         * frags.c (get_frag_count, clear_frag_count): New function.
348         (frag_alloc): Increment totalfrags counter.
349         * frags.h (get_frag_count, clear_frag_count): New function.
350
351 2014-03-20  DJ Delorie  <dj@redhat.com>
352
353         * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
354         * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
355         rl78_relax().
356         * config/tc-rl78.h (md_relax_frag): Define.
357         (rl78_relax_frag): Declare.
358         * config/tc-rl78.c (rl78_relax): Add.
359         (md_assemble): Set up the variable frags also when relaxing.
360         (op_type_T): New.
361         (rl78_opcode_type): New.
362         (rl78_frag_fix_value): New.
363         (md_estimate_size_before_relax): New-ish.
364         (rl78_relax_frag): New.
365         (md_convert_frag): New-ish.
366
367 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
368
369         * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
370         * config/tc-mips.c (md_pcrel_from): Remove error message.
371         (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
372         BFD_RELOC_32_PCREL.  Report a specific error message for unhandled
373         PC-relative expressions.  Handle BFD_RELOC_8.
374
375 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
376
377         * config/tc-sparc.c (hpriv_reg_table): Added entries for
378         %hstick_offset and %hstick_enable.
379         * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
380         %hstick_enable hyperprivileged registers.
381
382 2014-03-19  Daniel Gutson <daniel.gutson@tallertechnologies.com>
383             Nick Clifton  <nickc@redhat.com>
384
385         * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
386         CCS syntax compatibility mode is on or off.
387         (asmfunc_states): New enum to represent the asmfunc directive state.
388         (asmfunc_state): New variable holding the asmfunc directive state.
389         (comment_chars): Rename to arm_comment_chars.
390         (line_separator_chars): Rename to arm_line_separator_chars.
391         (s_ccs_ref): New function that handles the .ref directive.
392         (asmfunc_debug): New function.
393         (s_ccs_asmfunc): New function that handles the .asmfunc directive.
394         (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
395         (s_ccs_def): New function that handles the .def directive.
396         (tc_start_label_without_colon): New function.
397         (md_pseudo_table): Added new CCS directives.
398         (arm_ccs_mode): New function that handles the -mccs command line option.
399         (arm_long_opts): Added new -mccs command line option.
400         * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
401         (TC_START_LABEL_WITHOUT_COLON): New macro.
402         (tc_start_label_without_colon): Added extern function declaration.
403         (tc_comment_chars): Define.
404         (tc_line_separator_chars): Define.
405         * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
406         * read.c (read_begin): Likewise.
407         * doc/as.texinfo: Add documentation for the -mccs command line
408         option.
409         * doc/c-arm.texi: Likewise.
410         * doc/internals.texi: Document tc_line_separator_chars.
411         * NEWS: Mention the new feature.
412
413 2014-03-18  Jiong Wang  <jiong.wang@arm.com>
414
415         * config/tc-aarch64.c (aarch64_opts): Add new option
416         "mno-verbose-error".
417         (verbose_error_p): Initialize to 1.
418         * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
419         and -mno-verbose-error.
420
421 2014-03-17  Nick Clifton  <nickc@redhat.com>
422
423         PR gas/16694
424         * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
425         registers as well.
426
427 2014-03-13  Richard Earnshaw  <rearnsha@arm.com>
428             Jiong Wang  <Jiong.Wang@arm.com>
429
430         * doc/c-aarch64.texi: Clean up some formatting issues.
431         (AArch64 Options): Document -mcpu and -march.
432         (AArch64 Extensions): New node.
433
434 2014-03-13  Tristan Gingold  <gingold@adacore.com>
435
436         * config/tc-i386.c (use_big_obj): Declare.
437         (OPTION_MBIG_OBJ): Define.
438         (md_longopts): Add -mbig-obj option.
439         (md_parse_option): Handle it.
440         (md_show_usage): Display help for this option.
441         (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
442         * doc/c-i386.texi: Document the option.
443
444 2014-03-12  Nick Clifton  <nickc@redhat.com>
445
446         PR gas/16688
447         * config/tc-aarch64.c (literal_expression): New structure.
448         (literal_pool): Replace exp array with literal_expression array.
449         (add_to_lit_pool): When adding a bignum cache the big value.
450         (s_ltorg): When emitting a bignum initialise the global bignum
451         array from the cached value.
452
453 2014-03-12  Alan Modra  <amodra@gmail.com>
454
455         * Makefile.in: Regenerate.
456         * config.in: Regenerate.
457         * doc/Makefile.in: Regenerate.
458
459 2014-03-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
460         Vishnu KS <Vishnu.k_s@atmel.com>
461         Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
462         Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
463
464         * gas/tc-avr.c: Add new devices
465         avr25: ata5272, attiny828
466         avr35: ata5505, attiny1634
467         avr4: atmega8a, ata6285, ata6286, atmega48pa
468         avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
469         atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
470         atmega16hva2
471         avr51: atmega128a, atmega1284
472         avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
473         atxmega32e5, atxmega16e5, atxmega8e5
474         avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
475         atxmega64c3, atxmega64d4
476         avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
477         atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
478         atxmega256c3, atxmega384c3, atxmega384d3
479         avrxmega7: atxmega128a4u
480         * doc/c-avr.texi: Ditto.
481
482 2014-03-05  Alan Modra  <amodra@gmail.com>
483
484         Update copyright years.
485
486 2014-03-05  Alan Modra  <amodra@gmail.com>
487
488         * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
489         (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
490
491 2014-03-05  Alan Modra  <amodra@gmail.com>
492
493         * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
494         later.  Merge absolute and relative branch reloc selection.
495         Generate 16-bit relocs for most 16-bit insn fields given a
496         non-constant expression.
497
498 2014-03-05  Alan Modra  <amodra@gmail.com>
499
500         * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
501         (md_assemble): Don't call ppc_is_toc_sym for ELF.
502
503 2014-03-04  Heiher  <r@hev.cc>
504
505         * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
506         Loongson-3A.
507
508 2014-03-03  Nick Clifton  <nickc@redhat.com>
509
510         * config/msp430/msp430.c: Replace known mcu array with known
511         msp430 ISA mcu name array.
512         Accept any name for -mmcu option.
513         Add -mz option to warn about missing NOP following an interrupt
514         status change.
515         (check_for_nop): New.
516         (msp430_operands): Emit a warning, if requested, when an interrupt
517         changing instruction is not followed by a NOP.
518         * doc/c-msp430.c: Document -mz option.
519
520 2014-03-03  Alan Modra  <amodra@gmail.com>
521
522         * config/bfin-lex-wrapper.c: Correct copyright date.
523         * config/obj-fdpicelf.c: Likewise.
524         * config/obj-fdpicelf.h: Likewise.
525         * config/tc-frv.c: Correct copyright punctuation.
526         * config/tc-ip2k.c: Likewise.
527         * config/tc-iq2000.c: Likewise.
528         * config/tc-mep.c: Likewise.
529         * config/tc-tic4x.c: Likewise.
530         * config/tc-tic4x.h: Likewise.
531
532 2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
533
534         * config/tc-avr.c: Remove atxmega16x1.
535
536 2014-02-28  Alan Modra  <amodra@gmail.com>
537
538         * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
539         field for 64-bit dwarf.
540
541 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
542
543         * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
544         * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
545
546 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
547
548         * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
549         * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
550         clflushopt/.clfushopt.
551
552 2014-02-10  Alan Modra  <amodra@gmail.com>
553
554         * po/POTFILES.in: Regenerate.
555         * po/gas.pot: Regenerate.
556
557 2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
558
559         * config/tc-nios2.c (md_apply_fix): Test for new relocs.
560         (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
561         %got_hiadj relocation operators.  Sort table and add comment
562         to explain ordering.
563         (nios2_fix_adjustable): Test for new relocs.
564         * doc/c-nios2.texi (Nios II Relocations): Document new relocation
565         operators.
566
567 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
568
569         * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
570         (nios2_assemble_args_m): Likewise.
571         (md_assemble): Likewise.
572
573 2014-01-24  DJ Delorie  <dj@redhat.com>
574
575         * config/tc-msp430.c (msp430_section): Always flag data sections,
576         regardless of -md.
577         (msp430_frob_section): New.  Make sure all sections are noticed if
578         they have content.
579         (msp430_lcomm): New.  Flag bss if .lcomm is seen.
580         (msp430_comm): New.  Likewise.
581         (md_pseudo_table): Add them.
582         * config/tc-msp430.h (msp430_frob_section): Declare.
583         (tc_frob_section): Define.
584
585 2014-01-23  Nick Clifton  <nickc@redhat.com>
586
587         * config/tc-msp430.c (show_mcu_list): Delete.
588         (md_parse_option): Accept any MCU name.  Accept several more
589         variants for the -mcpu option.
590         (md_show_usage): Do not call show_mcu_list.
591
592 2014-01-22  DJ Delorie  <dj@redhat.com>
593
594         * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
595         * doc/c-msp430.texi (MSP430 Directives): Document it.
596
597 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
598
599         * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
600         gather assert.
601
602 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
603
604         PR gas/16489
605         * config/tc-i386.c (check_VecOperands): Add check for invalid
606         register set in AVX512 gathers.
607
608 2014-01-22  Alan Modra  <amodra@gmail.com>
609
610         * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
611
612 2014-01-21  DJ Delorie  <dj@redhat.com>
613
614         * config/tc-rl78.c (require_end_of_expr): New.
615         (md_operand): Call it.
616         (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
617         as not overflowing.
618
619 2014-01-17  Will Newton  <will.newton@linaro.org>
620
621         * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
622         for the s32.f64 flavours of VCVT.
623
624 2014-01-14  Nick Clifton  <nickc@redhat.com>
625
626         PR gas/16434
627         * config/tc-z80.c (wrong_match): Provide format string to
628         as_warn.
629         (parse_exp_not_indexed): Delete unused variable dummy.
630         (emit_byte): Delete unused variable fixp.
631
632 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
633
634         * config/tc-i386.c (regbnd): Removed.
635         (vec_disp8): Likewise.
636
637 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
638
639         * as.c (parse_args): Update copyright year to 2014.
640
641 2014-01-07  Tom Tromey  <tromey@redhat.com>
642
643         * config/tc-tic30.c (debug): Avoid old VA_* compatibility
644         wrappers.
645
646 2014-01-07  Tom Tromey  <tromey@redhat.com>
647
648         * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
649         use PARAMS.
650
651 2014-01-07  Tom Tromey  <tromey@redhat.com>
652
653         * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
654
655 2013-01-07  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
656
657         * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
658
659 For older changes see ChangeLog-2013
660 \f
661 Copyright (C) 2014 Free Software Foundation, Inc.
662
663 Copying and distribution of this file, with or without modification,
664 are permitted in any medium without royalty provided the copyright
665 notice and this notice are preserved.
666
667 Local Variables:
668 mode: change-log
669 left-margin: 8
670 fill-column: 74
671 version-control: never
672 End: