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