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