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