* config/tc-avr.c: Add specified_mcu variable for selected mcu.
[external/binutils.git] / gas / ChangeLog
1 2014-03-29  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2
3         * config/tc-avr.c: Add specified_mcu variable for selected mcu.
4         (enum options): add OPTION_RMW_ISA for -mrmw option.
5         (struct option md_longopts): Add mrmw option.
6         (md_show_usage): add -mrmw option description.
7         (md_parse_option): Update isa details if -mrmw option specified.
8         * doc/c-avr.texi: Add doc for new option -mrmw.
9
10 2014-03-27  Nick Clifton  <nickc@redhat.com>
11
12         * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
13         sprintf in order to avoid a compile time warning.
14
15 2014-03-26  Nick Clifton  <nickc@redhat.com>
16
17         * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
18         relocation is used on an 8-bit operand or vice versa.
19         (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
20         (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
21
22 2014-03-25  Nick Clifton  <nickc@redhat.com>
23
24         * config/obj-coff-seh.c (obj_coff_seh_code): New function -
25         switches the current segment back to the code segment recorded
26         when seh_proc was last invoked.
27         * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
28
29 2014-03-25  Alan Modra  <amodra@gmail.com>
30
31         * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
32         (md_assemble): Likewise.  Warn.
33
34 2014-03-21  David Weatherford <weath@cadence.com>
35             Max Filippov <jcmvbkbc@gmail.com>
36
37         * config/tc-xtensa.c (xtensa_check_frag_count)
38         xtensa_create_trampoline_frag,
39         xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
40         find_trampoline_seg, search_trampolines, get_best_trampoline,
41         check_and_update_trampolines, add_jump_to_trampoline,
42         dump_trampolines): New functions.
43         (md_parse_option): Add cases for --[no-]trampolines options.
44         (md_assemble, finish_vinsn, xtensa_end): Add call to
45         xtensa_check_frag_count.
46         (xg_assemble_vliw_tokens): Add call to
47         xtensa_maybe_create_trampoline_frag.
48         (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
49         (relax_frag_immed): Relax jump instructions that cannot reach its
50         target.
51         * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
52         relax state.
53         * doc/as.texinfo: Document --[no-]trampolines command-line options.
54         * doc/c-xtensa.texi: Document trampolines relaxation and command
55         line options.
56         * frags.c (get_frag_count, clear_frag_count): New function.
57         (frag_alloc): Increment totalfrags counter.
58         * frags.h (get_frag_count, clear_frag_count): New function.
59
60 2014-03-20  DJ Delorie  <dj@redhat.com>
61
62         * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
63         * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
64         rl78_relax().
65         * config/tc-rl78.h (md_relax_frag): Define.
66         (rl78_relax_frag): Declare.
67         * config/tc-rl78.c (rl78_relax): Add.
68         (md_assemble): Set up the variable frags also when relaxing.
69         (op_type_T): New.
70         (rl78_opcode_type): New.
71         (rl78_frag_fix_value): New.
72         (md_estimate_size_before_relax): New-ish.
73         (rl78_relax_frag): New.
74         (md_convert_frag): New-ish.
75
76 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
77
78         * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
79         * config/tc-mips.c (md_pcrel_from): Remove error message.
80         (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
81         BFD_RELOC_32_PCREL.  Report a specific error message for unhandled
82         PC-relative expressions.  Handle BFD_RELOC_8.
83
84 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
85
86         * config/tc-sparc.c (hpriv_reg_table): Added entries for
87         %hstick_offset and %hstick_enable.
88         * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
89         %hstick_enable hyperprivileged registers.
90
91 2014-03-19  Daniel Gutson <daniel.gutson@tallertechnologies.com>
92             Nick Clifton  <nickc@redhat.com>
93
94         * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
95         CCS syntax compatibility mode is on or off.
96         (asmfunc_states): New enum to represent the asmfunc directive state.
97         (asmfunc_state): New variable holding the asmfunc directive state.
98         (comment_chars): Rename to arm_comment_chars.
99         (line_separator_chars): Rename to arm_line_separator_chars.
100         (s_ccs_ref): New function that handles the .ref directive.
101         (asmfunc_debug): New function.
102         (s_ccs_asmfunc): New function that handles the .asmfunc directive.
103         (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
104         (s_ccs_def): New function that handles the .def directive.
105         (tc_start_label_without_colon): New function.
106         (md_pseudo_table): Added new CCS directives.
107         (arm_ccs_mode): New function that handles the -mccs command line option.
108         (arm_long_opts): Added new -mccs command line option.
109         * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
110         (TC_START_LABEL_WITHOUT_COLON): New macro.
111         (tc_start_label_without_colon): Added extern function declaration.
112         (tc_comment_chars): Define.
113         (tc_line_separator_chars): Define.
114         * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
115         * read.c (read_begin): Likewise.
116         * doc/as.texinfo: Add documentation for the -mccs command line
117         option.
118         * doc/c-arm.texi: Likewise.
119         * doc/internals.texi: Document tc_line_separator_chars.
120         * NEWS: Mention the new feature.
121
122 2014-03-18  Jiong Wang  <jiong.wang@arm.com>
123
124         * config/tc-aarch64.c (aarch64_opts): Add new option
125         "mno-verbose-error".
126         (verbose_error_p): Initialize to 1.
127         * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
128         and -mno-verbose-error.
129
130 2014-03-17  Nick Clifton  <nickc@redhat.com>
131
132         PR gas/16694
133         * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
134         registers as well.
135
136 2014-03-13  Richard Earnshaw  <rearnsha@arm.com>
137             Jiong Wang  <Jiong.Wang@arm.com>
138
139         * doc/c-aarch64.texi: Clean up some formatting issues.
140         (AArch64 Options): Document -mcpu and -march.
141         (AArch64 Extensions): New node.
142
143 2014-03-13  Tristan Gingold  <gingold@adacore.com>
144
145         * config/tc-i386.c (use_big_obj): Declare.
146         (OPTION_MBIG_OBJ): Define.
147         (md_longopts): Add -mbig-obj option.
148         (md_parse_option): Handle it.
149         (md_show_usage): Display help for this option.
150         (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
151         * doc/c-i386.texi: Document the option.
152
153 2014-03-12  Nick Clifton  <nickc@redhat.com>
154
155         PR gas/16688
156         * config/tc-aarch64.c (literal_expression): New structure.
157         (literal_pool): Replace exp array with literal_expression array.
158         (add_to_lit_pool): When adding a bignum cache the big value.
159         (s_ltorg): When emitting a bignum initialise the global bignum
160         array from the cached value.
161
162 2014-03-12  Alan Modra  <amodra@gmail.com>
163
164         * Makefile.in: Regenerate.
165         * config.in: Regenerate.
166         * doc/Makefile.in: Regenerate.
167
168 2014-03-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
169         Vishnu KS <Vishnu.k_s@atmel.com>
170         Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
171         Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
172
173         * gas/tc-avr.c: Add new devices
174         avr25: ata5272, attiny828
175         avr35: ata5505, attiny1634
176         avr4: atmega8a, ata6285, ata6286, atmega48pa
177         avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
178         atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
179         atmega16hva2
180         avr51: atmega128a, atmega1284
181         avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
182         atxmega32e5, atxmega16e5, atxmega8e5
183         avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
184         atxmega64c3, atxmega64d4
185         avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
186         atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
187         atxmega256c3, atxmega384c3, atxmega384d3
188         avrxmega7: atxmega128a4u
189         * doc/c-avr.texi: Ditto.
190
191 2014-03-05  Alan Modra  <amodra@gmail.com>
192
193         Update copyright years.
194
195 2014-03-05  Alan Modra  <amodra@gmail.com>
196
197         * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
198         (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
199
200 2014-03-05  Alan Modra  <amodra@gmail.com>
201
202         * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
203         later.  Merge absolute and relative branch reloc selection.
204         Generate 16-bit relocs for most 16-bit insn fields given a
205         non-constant expression.
206
207 2014-03-05  Alan Modra  <amodra@gmail.com>
208
209         * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
210         (md_assemble): Don't call ppc_is_toc_sym for ELF.
211
212 2014-03-04  Heiher  <r@hev.cc>
213
214         * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
215         Loongson-3A.
216
217 2014-03-03  Nick Clifton  <nickc@redhat.com>
218
219         * config/msp430/msp430.c: Replace known mcu array with known
220         msp430 ISA mcu name array.
221         Accept any name for -mmcu option.
222         Add -mz option to warn about missing NOP following an interrupt
223         status change.
224         (check_for_nop): New.
225         (msp430_operands): Emit a warning, if requested, when an interrupt
226         changing instruction is not followed by a NOP.
227         * doc/c-msp430.c: Document -mz option.
228
229 2014-03-03  Alan Modra  <amodra@gmail.com>
230
231         * config/bfin-lex-wrapper.c: Correct copyright date.
232         * config/obj-fdpicelf.c: Likewise.
233         * config/obj-fdpicelf.h: Likewise.
234         * config/tc-frv.c: Correct copyright punctuation.
235         * config/tc-ip2k.c: Likewise.
236         * config/tc-iq2000.c: Likewise.
237         * config/tc-mep.c: Likewise.
238         * config/tc-tic4x.c: Likewise.
239         * config/tc-tic4x.h: Likewise.
240
241 2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
242
243         * config/tc-avr.c: Remove atxmega16x1.
244
245 2014-02-28  Alan Modra  <amodra@gmail.com>
246
247         * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
248         field for 64-bit dwarf.
249
250 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
251
252         * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
253         * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
254
255 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
256
257         * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
258         * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
259         clflushopt/.clfushopt.
260
261 2014-02-10  Alan Modra  <amodra@gmail.com>
262
263         * po/POTFILES.in: Regenerate.
264         * po/gas.pot: Regenerate.
265
266 2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
267
268         * config/tc-nios2.c (md_apply_fix): Test for new relocs.
269         (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
270         %got_hiadj relocation operators.  Sort table and add comment
271         to explain ordering.
272         (nios2_fix_adjustable): Test for new relocs.
273         * doc/c-nios2.texi (Nios II Relocations): Document new relocation
274         operators.
275
276 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
277
278         * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
279         (nios2_assemble_args_m): Likewise.
280         (md_assemble): Likewise.
281
282 2014-01-24  DJ Delorie  <dj@redhat.com>
283
284         * config/tc-msp430.c (msp430_section): Always flag data sections,
285         regardless of -md.
286         (msp430_frob_section): New.  Make sure all sections are noticed if
287         they have content.
288         (msp430_lcomm): New.  Flag bss if .lcomm is seen.
289         (msp430_comm): New.  Likewise.
290         (md_pseudo_table): Add them.
291         * config/tc-msp430.h (msp430_frob_section): Declare.
292         (tc_frob_section): Define.
293
294 2014-01-23  Nick Clifton  <nickc@redhat.com>
295
296         * config/tc-msp430.c (show_mcu_list): Delete.
297         (md_parse_option): Accept any MCU name.  Accept several more
298         variants for the -mcpu option.
299         (md_show_usage): Do not call show_mcu_list.
300
301 2014-01-22  DJ Delorie  <dj@redhat.com>
302
303         * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
304         * doc/c-msp430.texi (MSP430 Directives): Document it.
305
306 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
307
308         * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
309         gather assert.
310
311 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
312
313         PR gas/16489
314         * config/tc-i386.c (check_VecOperands): Add check for invalid
315         register set in AVX512 gathers.
316
317 2014-01-22  Alan Modra  <amodra@gmail.com>
318
319         * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
320
321 2014-01-21  DJ Delorie  <dj@redhat.com>
322
323         * config/tc-rl78.c (require_end_of_expr): New.
324         (md_operand): Call it.
325         (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
326         as not overflowing.
327
328 2014-01-17  Will Newton  <will.newton@linaro.org>
329
330         * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
331         for the s32.f64 flavours of VCVT.
332
333 2014-01-14  Nick Clifton  <nickc@redhat.com>
334
335         PR gas/16434
336         * config/tc-z80.c (wrong_match): Provide format string to
337         as_warn.
338         (parse_exp_not_indexed): Delete unused variable dummy.
339         (emit_byte): Delete unused variable fixp.
340
341 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
342
343         * config/tc-i386.c (regbnd): Removed.
344         (vec_disp8): Likewise.
345
346 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
347
348         * as.c (parse_args): Update copyright year to 2014.
349
350 2014-01-07  Tom Tromey  <tromey@redhat.com>
351
352         * config/tc-tic30.c (debug): Avoid old VA_* compatibility
353         wrappers.
354
355 2014-01-07  Tom Tromey  <tromey@redhat.com>
356
357         * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
358         use PARAMS.
359
360 2014-01-07  Tom Tromey  <tromey@redhat.com>
361
362         * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
363
364 2013-01-07  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
365
366         * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
367
368 For older changes see ChangeLog-2013
369 \f
370 Copyright (C) 2014 Free Software Foundation, Inc.
371
372 Copying and distribution of this file, with or without modification,
373 are permitted in any medium without royalty provided the copyright
374 notice and this notice are preserved.
375
376 Local Variables:
377 mode: change-log
378 left-margin: 8
379 fill-column: 74
380 version-control: never
381 End: