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