1 2011-06-13 Nick Clifton <nickc@redhat.com>
3 * config/tc-score.c (s3_my_get_expression): Delete unused local
5 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
6 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
7 (s3_do_macro_bcmp): Zero inst_expand array.
8 (s3_do_macro_bcmpz): Likewise.
9 (s3_s_score_end): Delete unused local variable 'dot'.
10 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
11 * config/tc-score7.c (s7_my_get_expression): Delete unused local
13 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
14 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
16 (s7_s_score_end): Delete unused local variable 'dot'.
17 (s7_relax_frag): Delete unused local variable 'relax_size'.
18 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
20 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
22 AVX Programming Reference (June, 2011)
23 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
24 unsupported_vector_index_register.
25 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
26 (check_VecOperands): New.
27 (match_template): Call check_VecOperands. Handle
28 invalid_vsib_address and unsupported_vector_index_register.
29 (build_modrm_byte): Support VecSIB. Check register-only source
30 operand when two source operands are swapped.
31 (i386_index_check): Allow Xmm/Ymm index registers.
33 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
36 2011-06-09 Nick Clifton <nickc@redhat.com>
39 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
41 (check_cinv_options): Remove unused local variables. Make
43 (md_assemble): Remove unused local variable.
45 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
47 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
49 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
52 * config/tc-arm.c (parse_psr): Set m_profile to false when
53 assembling for any architecture.
55 2011-06-02 Jie Zhang jie@codesourcery.com
56 Nathan Sidwell nathan@codesourcery.com
58 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
59 (encode_arm_addr_mode_2): Set default sign of zero here ...
60 (encode_arm_addr_mode_3): ... and here.
61 (encode_arm_cp_address): ... and here.
62 (md_apply_fix): Use default sign of zero here.
64 2011-06-02 Nick Clifton <nickc@redhat.com>
66 * as.c: Fix spelling typo.
68 * config/tc-ppc.c: Likewise.
69 * po/gas.pit: Regenerate.
71 2011-05-31 Paul Brook <paul@codesourcery.com>
73 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
74 (arm_extensions): Allow idiv on ARMv7-R.
75 * doc/c-arm.text: Update idiv extension restrictions.
77 2011-05-31 Paul Brook <paul@codesourcery.com>
79 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
82 2011-05-31 Paul Brook <paul@codesourcery.com>
84 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
87 2011-05-31 Paul Brook <paul@codesourcery.com>
88 Nathan Sidwell <nathan@codesourcery.com>
90 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
91 pc-relative fixes to constants.
92 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
94 2011-05-27 Nick Clifton <nickc@redhat.com>
96 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
98 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
100 * config/tc-s390.c (md_gather_operands): Fix check for floating
101 register pair operands.
103 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
105 * config/tc-s390.c (md_gather_operands): Emit an error for odd
106 numbered registers used as register pair operand.
108 2011-05-23 Nick Clifton <nickc@redhat.com>
110 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
112 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
114 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
115 (tic6x_parse_name): Handle it.
116 (tic6x_fix_new_exp): Handle O_pcr_offset.
117 (tic6x_fix_adjustable): Return 0 for the new relocs.
118 (md_apply_fix): Handle them.
119 (tc_gen_reloc): Likewise.
120 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
122 2011-05-18 Nick Clifton <nickc@redhat.com>
125 * config/tc-tic30.c (ordinal_names): Allow translation of the
128 2011-05-18 Nick Clifton <nickc@redhat.com>
130 * config/tc-arm.c (s_unreq): Reword warning message to make it
132 * config/tc-ia64.c (md_show_usage): Add note for translators.
133 * configure.in (ALL_LINGUAS): Add "fi".
134 * configure: Regenerate.
136 2011-05-18 Tristan Gingold <gingold@adacore.com>
138 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
139 Put size into an union with dw.
140 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
141 (ppc_xcoff_end): Declare.
143 * config/tc-ppc.c: Add includes for xcoff.
144 (ppc_dwsect): New function.
145 (md_pseudo_table): Add dwsect.
146 (struct dw_subsection): New.
148 (ppc_change_debug_section): New function.
149 (ppc_xcoff_end): Ditto.
150 (ppc_function): Adjust for ppc_tc_sy.
151 (ppc_symbol_new_hook): Ditto.
152 (ppc_frob_symbol): Ditto.
153 (ppc_frob_section): Do not set vma for debug sections.
154 (ppc_fix_adjustable): Return true for debug sections.
155 * config/obj-coff.c: Add includes for xcoff.
156 (coff_frob_section): Handle dwarf section.
158 2011-05-17 Nick Clifton <nickc@redhat.com>
160 * po/fi.po: New Finnish translation.
161 * po/fr.po: Updated French translation.
163 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
164 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
165 * cond.c (s_else): Fix typos in error messages.
166 * config/tc-pj.c (md_assemble): Fix typo in error message.
168 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
170 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
172 (md_show_usage): Only mention --pic if the assembler can generate
174 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
175 prerequisite for --pic being a valid option.
177 2011-05-13 Frederic Marchal <fmarchal@perso.be>
180 * config/tc-v850.c (parse_register_list): Correct error string.
182 2011-05-12 Quentin Neill <quentin.neill@amd.com>
184 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
185 (i386_align_code): Ditto
187 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
190 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
191 immediates on 32-bit hosts.
193 2011-05-10 Quentin Neill <quentin.neill@amd.com>
195 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
196 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
197 (i386_align_code): Rename PROCESSOR_BDVER1.
198 (processor_type): Ditto.
199 * doc/c-i386.texi: Add bdver2.
201 2011-05-10 Alan Modra <amodra@gmail.com>
203 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
205 2011-05-09 Paul Brook <paul@codesourcery.com>
207 * config/tc-tic6x.c (streq): Define.
208 (tic6x_get_unwind): New.
209 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
210 s_tic6x_personalityindex, s_tic6x_personality): New functions.
211 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
212 "personality" and "cantunwind".
213 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
214 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
215 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
216 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
217 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
218 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
219 tic6x_cfi_endproc): New.
220 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
221 (tic6x_unwind_info): New.
222 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
224 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
225 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
226 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
227 tc_cfi_section_name): Define.
228 * doc/c-tic6x.texi: Document new unwinding directives.
229 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
231 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
232 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
234 (CFI_EMIT_target): Define.
235 (dot_cfi_sections): Check tc_cfi_section_name.
236 (dot_cfi_startproc): Use tc_cfi_startproc.
237 (dot_cfi_endproc): Use tc_cfi_endproc.
238 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
239 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
240 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
242 2011-05-07 Alan Modra <amodra@gmail.com>
244 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
245 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
246 (struct fde_entry): Rename cseg to cur_seg.
247 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
248 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
249 that #if SUPPORT_FRAME_LINKONCE.
250 (cfi_finish): Likewise.
252 2011-05-06 Tristan Gingold <gingold@adacore.com>
254 * read.c (s_comm_internal): Remove code for OBJ_VMS.
257 * write.c (write_object_file): Ditto.
258 * symbols.c (define_sym_at_dot): Ditto.
261 2011-05-05 Alan Modra <amodra@gmail.com>
263 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
264 file to conditionally compile code added 2011-04-26.
265 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
266 when SUPPORT_FRAME_LINKONCE.
267 (get_cfi_seg): Likewise. Reintroduce old code for when not
268 SUPPORT_FRAME_LINKONCE.
269 (cfi_finish): Move get_cfi_seg calls out of loop when not
270 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
272 2011-05-03 Paul Brook <paul@codesourcery.com>
274 * config/tc-tic6x.c (s_ehtype): New function.
275 (md_pseudo_table): Add "ehtype".
276 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
277 * doc/c-tic6x.texi: Document .ehtype directive.
279 2011-04-26 Kai Tietz <ktietz@redhat.com>
281 * dw2gencfi.c (dwcfi_seg_list): New struct.
282 (dwcfi_hash): New static hash variable.
283 (get_debugseg_name): New.
284 (alloc_debugseg_item): New.
285 (make_debug_seg): New.
286 (dwcfi_hash_insert): New.
287 (dwcfi_hash_find): New.
288 (dwcfi_hash_find_or_make): New.
289 (cfi_insn_data): New member cur_seg.
290 (cie_entry): Likewise.
291 (fde_entry): New cseg and handled members.
292 (alloc_fde_entry): Initialize cseg member.
293 (alloc_cfi_insn_data): Initialize cur_seg member.
294 (dot_cfi_sections): Compare for beginning of
295 section names via strncmp.
297 (cfi_finish): Treat link-once sections.
298 (is_now_linkonce_segment): New local helper.
299 (output_cie): Ignore cie entries not member of current
301 (output_fde): Likewise.
302 (select_cie_for_fde): Likewise.
303 (cfi_change_reg_numbers): Add new argument for current segment
304 and ignore insn elements, if not part of current segment.
305 * ehopt.c (get_cie_info): Use strncmp for
306 section name matching.
307 (heck_eh_frame): Likewise.
309 2011-04-20 Catherine Moore <clm@codesourcery.com>
310 David Ung <davidu@mips.com>
312 * config/mips.c (mips_cl_insn): Add new field complete_p.
313 (create_insn): Initialize complete_p to zero.
315 (fix_24k_align_to): New.
316 (fix_24k_store_info): Declare.
318 (fix_24k_record_store_info): New.
320 (nops_for_insn): Call nops_for_24k.
321 (append_insn): Move O_constant expression handling.
323 2011-04-20 Alan Modra <amodra@gmail.com>
325 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
326 (hash_new_sized): New function, split out from..
329 2011-04-19 Nick Clifton <nickc@redhat.com>
331 * config/tc-arm.c (v7m_psrs): Revert previous delta.
333 2011-04-18 Julian Brown <julian@codesourcery.com>
334 Nick Clifton <nickc@redhat.com>
336 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
337 detect M-profile targets.
338 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
339 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
341 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
343 * config/tc-s390.c (s390_machine): New prototype.
344 (md_pseudo_table): New pseudo-op .machine.
345 (s390_opcode_hash): Initialize to NULL.
346 (s390_parse_cpu): New function.
347 (md_parse_option): Use s390_parse_cpu.
348 (s390_setup_opcodes): New function.
349 (md_begin): Use s390_setup_opcodes.
350 (s390_machine): New hook handling the new .machine pseudo.
352 * doc/c-s390.texi: Document the new pseudo op .machine.
354 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
356 * config/tc-i386.c (i386_mach): Start error message with lower
358 (md_begin): Likewise.
359 (md_parse_option): Likewise.
360 (i386_target_format): Likewise.
361 (check_byte_reg): Likewise.
362 (check_long_reg): Likewise.
363 (check_qword_reg): Likewise.
364 (check_word_reg): Likewise.
366 2011-04-12 Nick Clifton <nickc@redhat.com>
369 * config/tc-arm.c (relax_branch): Do not relax branches to
370 preemptable global symbols.
372 2011-04-11 Julian Brown <julian@codesourcery.com>
374 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
376 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
378 (parse_operands): Likewise.
379 (do_mrs): Tweak error message for constraint.
380 (do_t_mrs): Update constraints for changes to APSR support.
381 (do_t_msr): Likewise. Don't set PSR_f flag here.
382 (psrs): Remove "g", "nzcvq", "nzcvqg".
383 (insns): Tweak entries for msr and mrs instructions.
385 2011-04-11 Kai Tietz <ktietz@redhat.com>
387 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
389 2011-04-11 Nick Clifton <nickc@redhat.com>
391 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
392 * config/tc-i386.h (x86_cons): Always prototype.
394 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
395 in order to avoid a compile time warning.
396 (getprocreg_image): Likewise.
398 2011-04-11 Alan Modra <amodra@gmail.com>
400 * config/tc-cr16.c (getprocreg_image): Correct range check.
401 (getprocregp_image): Likewise.
403 2011-04-06 Joseph Myers <joseph@codesourcery.com>
405 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
406 xscale*be|xscale*b, xscale*): Remove architectures.
407 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
408 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
410 2011-04-01 Tristan Gingold <gingold@adacore.com>
412 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
414 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
416 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
418 (md_begin): Initialize them.
419 (s_tic6x_scomm): New static function.
420 (md_pseudo_table): Add "scomm".
421 (tc_gen_reloc): Really undo all adjustments made by
422 bfd_install_relocation.
423 * doc/c-tic6x.texi: Document the .scomm directive.
425 2011-03-31 Tristan Gingold <gingold@adacore.com>
427 * dwarf2dbg.c (DWARF2_VERSION): Define.
428 (out_debug_line): Use it.
429 (out_debug_aranges): Ditto.
430 (out_debug_info): Ditto.
431 * config/tc-ia64.h (DWARF2_VERSION): Override it.
433 2011-03-30 Michael Snyder <msnyder@vmware.com>
435 * obj-elf.c (obj_elf_section): Free malloced name.
436 * macro.c (get_any_string): Free malloced br_buf.
437 (do_formals): Free 'formal'.
439 2011-03-30 Tristan Gingold <gingold@adacore.com>
441 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
442 to offset only if within is set.
443 (ppc_stabx): Reformat. For stsym stabs, add a check and set
444 within only for symbols.
446 2011-03-29 Richard Henderson <rth@redhat.com>
449 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
450 label; zap alpha_insn_label.
452 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
454 * config/tc-i386.c (handle_quad): Properly handle multiple
457 2011-03-29 Mike Frysinger <vapier@gentoo.org>
459 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
460 reg $2 is the same as dest reg $4.
462 2011-03-29 Mike Frysinger <vapier@gentoo.org>
464 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
465 reg $2 is the same as dest reg $4.
467 2011-03-29 Mike Frysinger <vapier@gentoo.org>
469 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
470 reg $2 is the same as dest reg $4.
472 2011-03-28 Mike Frysinger <vapier@gentoo.org>
474 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
475 reg $1 is the same as dest reg $7.
477 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
479 * config/tc-i386.c (handle_quad): New.
480 (md_pseudo_table): Add "quad".
482 2011-03-26 John Marino <binutils@marino.st>
484 * configure.tgt: Fix support for *-*-dragonfly*.
485 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
486 * config/te-dragonfly.h: New file.
488 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
490 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
491 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
493 * doc/c-avr.texi: Document new device names.
495 2011-03-24 Mike Frysinger <vapier@gentoo.org>
497 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
498 reg $1 is the same as dest reg $7.
499 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
502 2011-03-24 Mike Frysinger <vapier@gentoo.org>
504 * config/bfin-parse.y (check_macfuncs): Clarify error message when
505 P is mismatched. Check destination regno are off by one when P is
506 set, or are equal when P is not set.
508 2011-03-23 Mike Frysinger <vapier@gentoo.org>
510 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
511 the same as dest reg $4.
512 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
514 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
516 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
517 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
518 * doc/c-avr.texi: Document new device names.
520 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
522 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
523 (AVR_INSN): Change definition to match.
524 (avr_opcodes): Likewise, change to match.
525 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
526 (md_show_usage): Add XMEGA architecture names.
527 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
528 Add support for SPM Z+ instruction.
529 * doc/c-avr.texi: Add documentation for XMEGA architectures and
532 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
534 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
536 2011-03-18 Alan Modra <amodra@gmail.com>
538 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
539 on .size expression errors rather than symbols in the size expression.
541 2011-03-18 Alan Modra <amodra@gmail.com>
543 * input-scrub.c (line_numberT): Delete.
544 (input_scrub_close): Reset line counters.
545 * messages.c (as_show_where): Don't print invalid line number.
546 (as_warn_internal, as_bad_internal): Likewise.
548 2011-03-18 Alan Modra <amodra@gmail.com>
550 * read.c (read_a_source_file): Remove md_after_pass_hook.
551 Move "quit" label before set of dot_symbol.
552 * config/tc-d10v.h (md_after_pass_hook): Don't define.
553 * config/tc-d30v.h (md_after_pass_hook): Likewise.
554 * config/tc-m32r.h (md_after_pass_hook): Likewise.
555 (md_cleanup): Define to call m32r_fill_insn.
557 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
559 * config/tc-s390.c (md_parse_option): Add -march=all option which
560 switches to the highest available CPU.
562 2011-03-17 Alan Modra <amodra@gmail.com>
565 * expr.c (operand): Correct passing of "mode" to expr.
566 * read.c (do_org): Allow expr_section.
567 (get_known_segmented_expression): Don't assert anything about the
570 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
572 * as.c (show_usage): Add --size-check=.
573 (parse_args): Add and handle OPTION_SIZE_CHECK.
575 * as.h (flag_size_check): New.
577 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
578 bad .size directive only for --size-check=error.
580 * doc/as.texinfo: Document --size-check=.
582 2011-03-14 Mike Frysinger <vapier@gentoo.org>
584 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
585 bf542/bf544/bf547/bf548/bf549.
587 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
589 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
590 determine whether a relocation is needed.
591 (md_apply_fix, arm_apply_sym_value): Likewise.
593 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
595 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
598 2011-03-11 Nick Clifton <nickc@redhat.com>
600 * remap.c (remap_debug_filename): Always allocate a buffer for the
602 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
603 remap_debug_filename.
605 2011-03-10 Michael Snyder <msnyder@vmware.com>
607 Revert the following change:
608 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
609 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
611 2011-03-10 Alan Modra <amodra@gmail.com>
613 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
614 TARGET_SYMBOL_FIELDS): Don't define.
615 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
617 2011-03-09 Michael Snyder <msnyder@vmware.com>
619 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
620 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
621 (emit_fixed_inc_line_addr): Assign instead of conditional in
624 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
626 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
627 non-constant .size expression.
629 2011-03-02 Nick Clifton <nickc@redhat.com>
631 * ecoff.c: Incldue filenames.h
633 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
635 * depend.c (register_dependency): Use filename_(n)cmp.
636 * dwarf2dbg.c (get_filenum): Likewise.
637 * ecoff.c (add_file): Likewise.
638 (ecoff_generate_asm_lineno): Likewise.
639 * input-scrub.c (new_logical_line_flags): Likewise.
640 * listing.c (file_info): Likewise.
641 (listing_newline): Likewise.
642 * remap.c (remap_debug_filename): Likewise.
643 * stabs.c (generate_asm_file): Likewise.
644 (stabs_generate_asm_lineno): Likewise.
646 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
648 * config/tc-mips.c (append_insn): Disable branch relaxation for
651 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
653 * config/tc-mips.c (macro): Handle M_PREF_AB.
655 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
657 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
659 (RELAX_BRANCH_UNCOND): Adjust accordingly.
660 (RELAX_BRANCH_LIKELY): Likewise.
661 (RELAX_BRANCH_LINK): Likewise.
662 (RELAX_BRANCH_TOOFAR): Likewise.
663 (RELAX_BRANCH_AT): New macro.
664 (append_insn): Encode the temporary register to use in standard
665 MIPS branch relaxation.
666 (relaxed_branch_length): Update according to changes to
668 (md_convert_frag): Use the encoded register as the temporary.
670 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
672 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
673 reject PC-relative relocations.
675 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
677 * config/tc-mips.c (md_convert_frag): Correct message
680 2011-02-28 Alan Modra <amodra@gmail.com>
682 * symbols.c (report_op_error): Remove unnecessary forward declaration.
683 Add "op" parameter. Report operator and operand segments in error
684 message, not operand symbols.
685 (resolve_symbol_value): Always set segment for equated symbols, not
686 just when finalizing. Adjust report_op_error calls.
688 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
690 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
691 if 64bit relocations aren't allowed.
693 2011-02-25 Alan Modra <amodra@gmail.com>
696 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
698 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
700 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
701 initialization of offset_reloc.
703 2011-02-15 Richard Henderson <rth@redhat.com>
705 * dw2gencfi.c (dot_cfi_dummy): New.
706 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
707 * read.c (pobegin): Unconditionally call cfi_pop_insert.
709 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
711 * configure: Regenerate.
713 2011-02-13 Mike Frysinger <vapier@gentoo.org>
715 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
716 * config/bfin-parse.y (BYTEOP2M): Delete token.
717 (asm_1): Remove BYTEOP2M insn matching.
719 2011-02-12 Mike Frysinger <vapier@gentoo.org>
721 * config/bfin-defs.h: Include opcode/bfin.h.
722 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
724 2011-02-11 Mike Frysinger <vapier@gentoo.org>
726 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
727 (Modify Registers): Fix subtracted typo.
728 (.byte2): Extend and swap descriptions with .byte4.
729 (.byte4): Extend and swap descriptions with .byte2.
730 (.db, .dw, .dd): Document behavior.
732 2011-02-11 Mike Frysinger <vapier@gentoo.org>
734 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
736 2011-02-11 Alan Modra <amodra@gmail.com>
738 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
740 2011-02-10 Alan Modra <amodra@gmail.com>
742 * doc/as.texinfo (Overview): Add missing markup around Blackfin
745 2011-02-10 Alan Modra <amodra@gmail.com>
747 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
748 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
749 (Overview <Target PowerPC options>): Add a number of missing options.
750 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
752 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
755 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
758 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
760 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
762 (md_parse_option): Likewise.
764 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
766 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
767 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
768 (TIC6X Options): Don't mention "-matomic".
769 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
770 (md_longopts): Remove corresponding entries.
771 (md_parse_option): Don't handle them.
772 (md_show_usage): Don't document them.
773 (tic6x_atomic): Delete variable.
774 (tic6x_update_features): Always copy tic6x_arch_enable to
776 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
777 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
778 (md_pseudo_table): Remove ".atomic" and ".noatomic".
780 2011-01-31 Nick Clifton <nickc@redhat.com>
782 * write.c (write_contents): Include output file name and bfd error
783 value when reporting the inability to write to the output file.
784 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
785 frag that has a non-zero fill value.
787 2011-01-27 DJ Delorie <dj@redhat.com>
789 * config/tc-rx.c (md_convert_frag): If we can't compute the target
790 address, zero out the values stored in the object file to make
791 objdump's output consistent.
793 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
795 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
796 x86_dwarf2_return_column to 32.
798 2011-01-20 Nick Clifton <nickc@redhat.com>
801 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
804 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
806 * write.c (compress_debug): Return if section size is smaller
809 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
812 * write.c (compress_debug): Return if section size is 0.
814 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
816 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
817 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
818 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
821 2011-01-18 Nick Clifton <nickc@redhat.com>
824 * doc/all.texi: Add NS32K
825 * doc/as.texinfo: Remove target specific details of which
826 characters act as comment initiators and statement separators into
827 individual target specific files.
828 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
829 the hash character at the start of a line.
830 * doc/c-arm.texi (ARM-Chars): Likewise.
831 * doc/c-avr.texi (AVR-Chars): Likewise.
832 * doc/c-d10v.texi (D10V-Chars): Likewise.
833 * doc/c-d30v.texi (D30V-Chars): Likewise.
834 * doc/c-mmix.texi (MMIX-Chars): Likewise.
835 * doc/c-s390.texi (s390 characters): Likewise.
836 * doc/c-sh.texi (SH-Chars): Likewise.
837 * doc/c-sh64.texi (SH64-Chars): Likewise.
838 * doc/c-sparc.texi (SPARC-Chars): Likewise.
839 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
840 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
841 * doc/c-z80.texi (Z80-Chars): Likewise.
842 * doc/c-z8k.texi (Z8000-Chars): Likewise.
843 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
844 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
845 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
846 line separator characters.
847 * doc/c-cr16.texi (CR16 Syntax): Likewise.
848 * doc/c-i386.texi (i386-Chars): Likewise.
849 * doc/c-i860.texi (i860-Chars): Likewise.
850 * doc/c-i960.texi (i960-Chars): Likewise.
851 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
852 * doc/c-lm32.texi (LM32-Chars): likewise.
853 * doc/c-m32c.texi (M32C-Chars): Likewise.
854 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
855 * doc/c-m68k.texi (M68K-Chars): Likewise.
856 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
857 * doc/c-msp430.texi (MSP430-Chars): Likewise.
858 * doc/c-mt.texi (MT-Chars): Likewise.
859 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
860 * doc/c-pj.texi (PJ-Chars): Likewise.
861 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
862 * doc/c-rx.texi (RX-Chars): Likewise.
863 * doc/c-score.texi (SCORE-Chars): Likewise.
864 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
865 * doc/c-v850.texi (V850-Chars): Likewise.
866 * doc/c-vax.texi (VAX-Chars): Likewise.
867 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
869 2011-01-17 Quentin Neill <quentin.neill@amd.com>
871 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
873 * doc/c-i386.texi (i386-TBM): New section.
875 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
877 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
878 (disallow_64bit_reloc): This.
879 (md_assemble): Don't check movabs for x32 mode here.
880 (i386_target_format): Updated.
881 (tc_gen_reloc): Check if 64bit relocations are allowed.
883 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
885 * config/tc-i386.c (disallow_64bit_disp): New.
886 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
887 X86_64_ABI/X86_64_X32_ABI.
888 (md_assemble): Don't allow movabs with relocation in x32 mode.
889 (i386_target_format): Updated.
891 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
893 * config/tc-i386.c (OPTION_N32): Renamed to ...
895 (md_longopts): Replace n32 with x32.
896 (md_parse_option): Updated.
897 (md_show_usage): Likewise.
899 * doc/c-i386.texi: Replace --n32 with --x32.
901 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
903 * config/tc-mips.c (mips_ip): Update error messages. Take an
904 unadjusted offset for "+c" argument.
906 2011-01-10 Nick Clifton <nickc@redhat.com>
908 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
911 2011-01-10 Nick Clifton <nickc@redhat.com>
913 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
916 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
917 Glauber de Oliveira Costa <glommer@gmail.com>
919 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
920 .tlsdescseq directive.
921 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
923 (s_arm_tls_descseq): New directive.
924 (md_pseudo_table): Add it.
925 (encode_branch): Allow TLS_CALL relocs too.
926 (do_t_blx, do_t_branch23): Use encode_branch.
927 (reloc_names): Add tlsdesc and tlscall.
928 (md_apply_fix): Process tls desc relocations.
929 (tc_gen_reloc): Likewise.
930 (arm_fix_adjustable): Likewise.
932 2011-01-07 Quentin Neill <quentin.neill@amd.com>
934 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
936 * doc/c-i386.texi (i386-BMI): New section.
938 2011-01-06 Paul Koning <ni1d@arrl.net>
940 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
941 references to absolute addresses.
943 2011-01-05 DJ Delorie <dj@redhat.com>
945 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
946 instead of an RH_NEG32 one.
948 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
950 * doc/c-i386.texi: Clarify --n32.
952 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
954 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
955 integer registers in VEX.vvvv. Check register-only source
956 operand when two source operands are swapped. Properly update
957 destination when two source operands are swapped.
959 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
961 * gas.c (parse_args): Update copyright to 2011.
963 For older changes see ChangeLog-2010
969 version-control: never