1 2011-06-28 Tristan Gingold <gingold@adacore.com>
3 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
7 2011-06-28 Tristan Gingold <gingold@adacore.com>
9 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
10 (alpha_evax_proc_data): New variable.
11 (s_alpha_ent): Prevent nested function. Remove has_insert call.
12 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
13 error. Do not search in the hash table. Check if match with .ent.
14 (s_alpha_name): Remove unused variable.
15 (md_begin): Remove initialization of alpha_evax_proc_hash.
17 2011-06-27 Tristan Gingold <gingold@adacore.com>
19 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
20 Locally declare basesym. Add comments. Do not set literal_pool_size.
21 (load_expression): Adjust call to add_to_link_pool.
22 (s_alpha_pdesc): Define pdesc symbol using dot.
23 Do not set literal_pool_size.
24 (s_alpha_end): Use NULL instead of 0.
26 2011-06-27 Tristan Gingold <gingold@adacore.com>
28 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
30 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
32 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
34 2011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
36 * config/tc-mips.c (fix_24k_record_store_info): If the previous
37 instruction was a store, and the next instructions are unknown,
40 2011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
43 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
44 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
45 (mips_emit_delays, start_noreorder): Update accordingly.
46 (append_insn): Likewise. Revert original fix for this PR
47 and use the ignore parameter instead.
49 2011-06-24 Tristan Gingold <gingold@adacore.com>
52 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
54 2011-06-24 Tristan Gingold <gingold@adacore.com>
56 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
59 2011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
62 * config/tc-mips.c (append_insn): Only consider hazards between the
63 pre-noreorder block and ip.
65 2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
67 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
68 in vcvt instruction between floating-point and fixed-point.
69 (operand_parse_code): Add "OP_oI32z".
70 (parse_operands): OP_oI32z case added.
72 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
74 * configure.tgt: Revert x32 change.
76 2011-06-20 Nick Clifton <nickc@redhat.com>
78 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
79 * doc/Makefile.in: Regenerate.
80 * doc/all.texi: Set XSTORMY16.
81 * doc/c-xstormy16.texi: New file.
83 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
85 * configure.tgt: Support x32.
87 2011-06-15 Nick Clifton <nickc@redhat.com>
89 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
91 2011-06-14 Tristan Gingold <gingold@adacore.com>
93 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
94 (tc_new_dot_label): Define.
95 (ppc_new_dot_label): Declare.
96 * config/tc-ppc.c (ppc_frob_label): Set within target field.
97 (ppc_fix_adjustable): Use this field to adjust the reloc.
98 (ppc_new_dot_label): New function.
100 2011-06-14 Alan Modra <amodra@gmail.com>
102 * po/POTFILES.in: Regenerate.
104 2011-06-13 Walter Lee <walt@tilera.com>
106 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
108 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
110 * Makefile.in: Regenerate.
111 * configure.tgt (tilepro-*-*): New.
112 (tilegx-*-*): Likewise.
113 * config/tc-tilegx.c: New file.
114 * config/tc-tilegx.h: Likewise.
115 * config/tc-tilepro.h: Likewise.
116 * config/tc-tilepro.c: Likewise.
117 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
119 * doc/Makefile.in: Regenerate.
120 * doc/all.texi (TILEGX): Define.
122 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
123 c-tilegx.texi and c-tilepro.texi.
124 * doc/c-tilegx.texi: New.
125 * doc/c-tilepro.texi: New.
127 2011-06-13 Nick Clifton <nickc@redhat.com>
130 * config/tc-arm.c (do_shift): Do not allow shift operations at the
131 end of a register based shift insn.
132 (do_t_shift): Likewise.
134 2011-06-13 Nick Clifton <nickc@redhat.com>
136 * config/tc-score.c (s3_my_get_expression): Delete unused local
138 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
139 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
140 (s3_do_macro_bcmp): Zero inst_expand array.
141 (s3_do_macro_bcmpz): Likewise.
142 (s3_s_score_end): Delete unused local variable 'dot'.
143 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
144 * config/tc-score7.c (s7_my_get_expression): Delete unused local
146 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
147 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
149 (s7_s_score_end): Delete unused local variable 'dot'.
150 (s7_relax_frag): Delete unused local variable 'relax_size'.
151 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
153 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
155 AVX Programming Reference (June, 2011)
156 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
157 unsupported_vector_index_register.
158 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
159 (check_VecOperands): New.
160 (match_template): Call check_VecOperands. Handle
161 invalid_vsib_address and unsupported_vector_index_register.
162 (build_modrm_byte): Support VecSIB. Check register-only source
163 operand when two source operands are swapped.
164 (i386_index_check): Allow Xmm/Ymm index registers.
166 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
167 and invpcid./invpcid.
169 2011-06-09 Nick Clifton <nickc@redhat.com>
172 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
174 (check_cinv_options): Remove unused local variables. Make
176 (md_assemble): Remove unused local variable.
178 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
180 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
182 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
185 * config/tc-arm.c (parse_psr): Set m_profile to false when
186 assembling for any architecture.
188 2011-06-02 Jie Zhang jie@codesourcery.com
189 Nathan Sidwell nathan@codesourcery.com
191 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
192 (encode_arm_addr_mode_2): Set default sign of zero here ...
193 (encode_arm_addr_mode_3): ... and here.
194 (encode_arm_cp_address): ... and here.
195 (md_apply_fix): Use default sign of zero here.
197 2011-06-02 Nick Clifton <nickc@redhat.com>
199 * as.c: Fix spelling typo.
201 * config/tc-ppc.c: Likewise.
202 * po/gas.pit: Regenerate.
204 2011-05-31 Paul Brook <paul@codesourcery.com>
206 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
207 (arm_extensions): Allow idiv on ARMv7-R.
208 * doc/c-arm.text: Update idiv extension restrictions.
210 2011-05-31 Paul Brook <paul@codesourcery.com>
212 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
215 2011-05-31 Paul Brook <paul@codesourcery.com>
217 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
220 2011-05-31 Paul Brook <paul@codesourcery.com>
221 Nathan Sidwell <nathan@codesourcery.com>
223 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
224 pc-relative fixes to constants.
225 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
227 2011-05-27 Nick Clifton <nickc@redhat.com>
229 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
231 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
233 * config/tc-s390.c (md_gather_operands): Fix check for floating
234 register pair operands.
236 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
238 * config/tc-s390.c (md_gather_operands): Emit an error for odd
239 numbered registers used as register pair operand.
241 2011-05-23 Nick Clifton <nickc@redhat.com>
243 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
245 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
247 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
248 (tic6x_parse_name): Handle it.
249 (tic6x_fix_new_exp): Handle O_pcr_offset.
250 (tic6x_fix_adjustable): Return 0 for the new relocs.
251 (md_apply_fix): Handle them.
252 (tc_gen_reloc): Likewise.
253 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
255 2011-05-18 Nick Clifton <nickc@redhat.com>
258 * config/tc-tic30.c (ordinal_names): Allow translation of the
261 2011-05-18 Nick Clifton <nickc@redhat.com>
263 * config/tc-arm.c (s_unreq): Reword warning message to make it
265 * config/tc-ia64.c (md_show_usage): Add note for translators.
266 * configure.in (ALL_LINGUAS): Add "fi".
267 * configure: Regenerate.
269 2011-05-18 Tristan Gingold <gingold@adacore.com>
271 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
272 Put size into an union with dw.
273 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
274 (ppc_xcoff_end): Declare.
276 * config/tc-ppc.c: Add includes for xcoff.
277 (ppc_dwsect): New function.
278 (md_pseudo_table): Add dwsect.
279 (struct dw_subsection): New.
281 (ppc_change_debug_section): New function.
282 (ppc_xcoff_end): Ditto.
283 (ppc_function): Adjust for ppc_tc_sy.
284 (ppc_symbol_new_hook): Ditto.
285 (ppc_frob_symbol): Ditto.
286 (ppc_frob_section): Do not set vma for debug sections.
287 (ppc_fix_adjustable): Return true for debug sections.
288 * config/obj-coff.c: Add includes for xcoff.
289 (coff_frob_section): Handle dwarf section.
291 2011-05-17 Nick Clifton <nickc@redhat.com>
293 * po/fi.po: New Finnish translation.
294 * po/fr.po: Updated French translation.
296 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
297 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
298 * cond.c (s_else): Fix typos in error messages.
299 * config/tc-pj.c (md_assemble): Fix typo in error message.
301 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
303 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
305 (md_show_usage): Only mention --pic if the assembler can generate
307 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
308 prerequisite for --pic being a valid option.
310 2011-05-13 Frederic Marchal <fmarchal@perso.be>
313 * config/tc-v850.c (parse_register_list): Correct error string.
315 2011-05-12 Quentin Neill <quentin.neill@amd.com>
317 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
318 (i386_align_code): Ditto
320 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
323 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
324 immediates on 32-bit hosts.
326 2011-05-10 Quentin Neill <quentin.neill@amd.com>
328 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
329 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
330 (i386_align_code): Rename PROCESSOR_BDVER1.
331 (processor_type): Ditto.
332 * doc/c-i386.texi: Add bdver2.
334 2011-05-10 Alan Modra <amodra@gmail.com>
336 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
338 2011-05-09 Paul Brook <paul@codesourcery.com>
340 * config/tc-tic6x.c (streq): Define.
341 (tic6x_get_unwind): New.
342 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
343 s_tic6x_personalityindex, s_tic6x_personality): New functions.
344 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
345 "personality" and "cantunwind".
346 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
347 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
348 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
349 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
350 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
351 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
352 tic6x_cfi_endproc): New.
353 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
354 (tic6x_unwind_info): New.
355 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
357 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
358 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
359 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
360 tc_cfi_section_name): Define.
361 * doc/c-tic6x.texi: Document new unwinding directives.
362 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
364 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
365 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
367 (CFI_EMIT_target): Define.
368 (dot_cfi_sections): Check tc_cfi_section_name.
369 (dot_cfi_startproc): Use tc_cfi_startproc.
370 (dot_cfi_endproc): Use tc_cfi_endproc.
371 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
372 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
373 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
375 2011-05-07 Alan Modra <amodra@gmail.com>
377 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
378 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
379 (struct fde_entry): Rename cseg to cur_seg.
380 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
381 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
382 that #if SUPPORT_FRAME_LINKONCE.
383 (cfi_finish): Likewise.
385 2011-05-06 Tristan Gingold <gingold@adacore.com>
387 * read.c (s_comm_internal): Remove code for OBJ_VMS.
390 * write.c (write_object_file): Ditto.
391 * symbols.c (define_sym_at_dot): Ditto.
394 2011-05-05 Alan Modra <amodra@gmail.com>
396 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
397 file to conditionally compile code added 2011-04-26.
398 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
399 when SUPPORT_FRAME_LINKONCE.
400 (get_cfi_seg): Likewise. Reintroduce old code for when not
401 SUPPORT_FRAME_LINKONCE.
402 (cfi_finish): Move get_cfi_seg calls out of loop when not
403 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
405 2011-05-03 Paul Brook <paul@codesourcery.com>
407 * config/tc-tic6x.c (s_ehtype): New function.
408 (md_pseudo_table): Add "ehtype".
409 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
410 * doc/c-tic6x.texi: Document .ehtype directive.
412 2011-04-26 Kai Tietz <ktietz@redhat.com>
414 * dw2gencfi.c (dwcfi_seg_list): New struct.
415 (dwcfi_hash): New static hash variable.
416 (get_debugseg_name): New.
417 (alloc_debugseg_item): New.
418 (make_debug_seg): New.
419 (dwcfi_hash_insert): New.
420 (dwcfi_hash_find): New.
421 (dwcfi_hash_find_or_make): New.
422 (cfi_insn_data): New member cur_seg.
423 (cie_entry): Likewise.
424 (fde_entry): New cseg and handled members.
425 (alloc_fde_entry): Initialize cseg member.
426 (alloc_cfi_insn_data): Initialize cur_seg member.
427 (dot_cfi_sections): Compare for beginning of
428 section names via strncmp.
430 (cfi_finish): Treat link-once sections.
431 (is_now_linkonce_segment): New local helper.
432 (output_cie): Ignore cie entries not member of current
434 (output_fde): Likewise.
435 (select_cie_for_fde): Likewise.
436 (cfi_change_reg_numbers): Add new argument for current segment
437 and ignore insn elements, if not part of current segment.
438 * ehopt.c (get_cie_info): Use strncmp for
439 section name matching.
440 (heck_eh_frame): Likewise.
442 2011-04-20 Catherine Moore <clm@codesourcery.com>
443 David Ung <davidu@mips.com>
445 * config/mips.c (mips_cl_insn): Add new field complete_p.
446 (create_insn): Initialize complete_p to zero.
448 (fix_24k_align_to): New.
449 (fix_24k_store_info): Declare.
451 (fix_24k_record_store_info): New.
453 (nops_for_insn): Call nops_for_24k.
454 (append_insn): Move O_constant expression handling.
456 2011-04-20 Alan Modra <amodra@gmail.com>
458 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
459 (hash_new_sized): New function, split out from..
462 2011-04-19 Nick Clifton <nickc@redhat.com>
464 * config/tc-arm.c (v7m_psrs): Revert previous delta.
466 2011-04-18 Julian Brown <julian@codesourcery.com>
467 Nick Clifton <nickc@redhat.com>
469 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
470 detect M-profile targets.
471 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
472 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
474 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
476 * config/tc-s390.c (s390_machine): New prototype.
477 (md_pseudo_table): New pseudo-op .machine.
478 (s390_opcode_hash): Initialize to NULL.
479 (s390_parse_cpu): New function.
480 (md_parse_option): Use s390_parse_cpu.
481 (s390_setup_opcodes): New function.
482 (md_begin): Use s390_setup_opcodes.
483 (s390_machine): New hook handling the new .machine pseudo.
485 * doc/c-s390.texi: Document the new pseudo op .machine.
487 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
489 * config/tc-i386.c (i386_mach): Start error message with lower
491 (md_begin): Likewise.
492 (md_parse_option): Likewise.
493 (i386_target_format): Likewise.
494 (check_byte_reg): Likewise.
495 (check_long_reg): Likewise.
496 (check_qword_reg): Likewise.
497 (check_word_reg): Likewise.
499 2011-04-12 Nick Clifton <nickc@redhat.com>
502 * config/tc-arm.c (relax_branch): Do not relax branches to
503 preemptable global symbols.
505 2011-04-11 Julian Brown <julian@codesourcery.com>
507 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
509 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
511 (parse_operands): Likewise.
512 (do_mrs): Tweak error message for constraint.
513 (do_t_mrs): Update constraints for changes to APSR support.
514 (do_t_msr): Likewise. Don't set PSR_f flag here.
515 (psrs): Remove "g", "nzcvq", "nzcvqg".
516 (insns): Tweak entries for msr and mrs instructions.
518 2011-04-11 Kai Tietz <ktietz@redhat.com>
520 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
522 2011-04-11 Nick Clifton <nickc@redhat.com>
524 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
525 * config/tc-i386.h (x86_cons): Always prototype.
527 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
528 in order to avoid a compile time warning.
529 (getprocreg_image): Likewise.
531 2011-04-11 Alan Modra <amodra@gmail.com>
533 * config/tc-cr16.c (getprocreg_image): Correct range check.
534 (getprocregp_image): Likewise.
536 2011-04-06 Joseph Myers <joseph@codesourcery.com>
538 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
539 xscale*be|xscale*b, xscale*): Remove architectures.
540 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
541 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
543 2011-04-01 Tristan Gingold <gingold@adacore.com>
545 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
547 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
549 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
551 (md_begin): Initialize them.
552 (s_tic6x_scomm): New static function.
553 (md_pseudo_table): Add "scomm".
554 (tc_gen_reloc): Really undo all adjustments made by
555 bfd_install_relocation.
556 * doc/c-tic6x.texi: Document the .scomm directive.
558 2011-03-31 Tristan Gingold <gingold@adacore.com>
560 * dwarf2dbg.c (DWARF2_VERSION): Define.
561 (out_debug_line): Use it.
562 (out_debug_aranges): Ditto.
563 (out_debug_info): Ditto.
564 * config/tc-ia64.h (DWARF2_VERSION): Override it.
566 2011-03-30 Michael Snyder <msnyder@vmware.com>
568 * obj-elf.c (obj_elf_section): Free malloced name.
569 * macro.c (get_any_string): Free malloced br_buf.
570 (do_formals): Free 'formal'.
572 2011-03-30 Tristan Gingold <gingold@adacore.com>
574 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
575 to offset only if within is set.
576 (ppc_stabx): Reformat. For stsym stabs, add a check and set
577 within only for symbols.
579 2011-03-29 Richard Henderson <rth@redhat.com>
582 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
583 label; zap alpha_insn_label.
585 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
587 * config/tc-i386.c (handle_quad): Properly handle multiple
590 2011-03-29 Mike Frysinger <vapier@gentoo.org>
592 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
593 reg $2 is the same as dest reg $4.
595 2011-03-29 Mike Frysinger <vapier@gentoo.org>
597 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
598 reg $2 is the same as dest reg $4.
600 2011-03-29 Mike Frysinger <vapier@gentoo.org>
602 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
603 reg $2 is the same as dest reg $4.
605 2011-03-28 Mike Frysinger <vapier@gentoo.org>
607 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
608 reg $1 is the same as dest reg $7.
610 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
612 * config/tc-i386.c (handle_quad): New.
613 (md_pseudo_table): Add "quad".
615 2011-03-26 John Marino <binutils@marino.st>
617 * configure.tgt: Fix support for *-*-dragonfly*.
618 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
619 * config/te-dragonfly.h: New file.
621 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
623 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
624 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
626 * doc/c-avr.texi: Document new device names.
628 2011-03-24 Mike Frysinger <vapier@gentoo.org>
630 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
631 reg $1 is the same as dest reg $7.
632 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
635 2011-03-24 Mike Frysinger <vapier@gentoo.org>
637 * config/bfin-parse.y (check_macfuncs): Clarify error message when
638 P is mismatched. Check destination regno are off by one when P is
639 set, or are equal when P is not set.
641 2011-03-23 Mike Frysinger <vapier@gentoo.org>
643 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
644 the same as dest reg $4.
645 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
647 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
649 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
650 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
651 * doc/c-avr.texi: Document new device names.
653 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
655 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
656 (AVR_INSN): Change definition to match.
657 (avr_opcodes): Likewise, change to match.
658 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
659 (md_show_usage): Add XMEGA architecture names.
660 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
661 Add support for SPM Z+ instruction.
662 * doc/c-avr.texi: Add documentation for XMEGA architectures and
665 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
667 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
669 2011-03-18 Alan Modra <amodra@gmail.com>
671 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
672 on .size expression errors rather than symbols in the size expression.
674 2011-03-18 Alan Modra <amodra@gmail.com>
676 * input-scrub.c (line_numberT): Delete.
677 (input_scrub_close): Reset line counters.
678 * messages.c (as_show_where): Don't print invalid line number.
679 (as_warn_internal, as_bad_internal): Likewise.
681 2011-03-18 Alan Modra <amodra@gmail.com>
683 * read.c (read_a_source_file): Remove md_after_pass_hook.
684 Move "quit" label before set of dot_symbol.
685 * config/tc-d10v.h (md_after_pass_hook): Don't define.
686 * config/tc-d30v.h (md_after_pass_hook): Likewise.
687 * config/tc-m32r.h (md_after_pass_hook): Likewise.
688 (md_cleanup): Define to call m32r_fill_insn.
690 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
692 * config/tc-s390.c (md_parse_option): Add -march=all option which
693 switches to the highest available CPU.
695 2011-03-17 Alan Modra <amodra@gmail.com>
698 * expr.c (operand): Correct passing of "mode" to expr.
699 * read.c (do_org): Allow expr_section.
700 (get_known_segmented_expression): Don't assert anything about the
703 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
705 * as.c (show_usage): Add --size-check=.
706 (parse_args): Add and handle OPTION_SIZE_CHECK.
708 * as.h (flag_size_check): New.
710 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
711 bad .size directive only for --size-check=error.
713 * doc/as.texinfo: Document --size-check=.
715 2011-03-14 Mike Frysinger <vapier@gentoo.org>
717 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
718 bf542/bf544/bf547/bf548/bf549.
720 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
722 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
723 determine whether a relocation is needed.
724 (md_apply_fix, arm_apply_sym_value): Likewise.
726 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
728 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
731 2011-03-11 Nick Clifton <nickc@redhat.com>
733 * remap.c (remap_debug_filename): Always allocate a buffer for the
735 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
736 remap_debug_filename.
738 2011-03-10 Michael Snyder <msnyder@vmware.com>
740 Revert the following change:
741 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
742 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
744 2011-03-10 Alan Modra <amodra@gmail.com>
746 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
747 TARGET_SYMBOL_FIELDS): Don't define.
748 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
750 2011-03-09 Michael Snyder <msnyder@vmware.com>
752 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
753 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
754 (emit_fixed_inc_line_addr): Assign instead of conditional in
757 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
759 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
760 non-constant .size expression.
762 2011-03-02 Nick Clifton <nickc@redhat.com>
764 * ecoff.c: Incldue filenames.h
766 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
768 * depend.c (register_dependency): Use filename_(n)cmp.
769 * dwarf2dbg.c (get_filenum): Likewise.
770 * ecoff.c (add_file): Likewise.
771 (ecoff_generate_asm_lineno): Likewise.
772 * input-scrub.c (new_logical_line_flags): Likewise.
773 * listing.c (file_info): Likewise.
774 (listing_newline): Likewise.
775 * remap.c (remap_debug_filename): Likewise.
776 * stabs.c (generate_asm_file): Likewise.
777 (stabs_generate_asm_lineno): Likewise.
779 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
781 * config/tc-mips.c (append_insn): Disable branch relaxation for
784 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
786 * config/tc-mips.c (macro): Handle M_PREF_AB.
788 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
790 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
792 (RELAX_BRANCH_UNCOND): Adjust accordingly.
793 (RELAX_BRANCH_LIKELY): Likewise.
794 (RELAX_BRANCH_LINK): Likewise.
795 (RELAX_BRANCH_TOOFAR): Likewise.
796 (RELAX_BRANCH_AT): New macro.
797 (append_insn): Encode the temporary register to use in standard
798 MIPS branch relaxation.
799 (relaxed_branch_length): Update according to changes to
801 (md_convert_frag): Use the encoded register as the temporary.
803 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
805 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
806 reject PC-relative relocations.
808 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
810 * config/tc-mips.c (md_convert_frag): Correct message
813 2011-02-28 Alan Modra <amodra@gmail.com>
815 * symbols.c (report_op_error): Remove unnecessary forward declaration.
816 Add "op" parameter. Report operator and operand segments in error
817 message, not operand symbols.
818 (resolve_symbol_value): Always set segment for equated symbols, not
819 just when finalizing. Adjust report_op_error calls.
821 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
823 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
824 if 64bit relocations aren't allowed.
826 2011-02-25 Alan Modra <amodra@gmail.com>
829 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
831 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
833 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
834 initialization of offset_reloc.
836 2011-02-15 Richard Henderson <rth@redhat.com>
838 * dw2gencfi.c (dot_cfi_dummy): New.
839 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
840 * read.c (pobegin): Unconditionally call cfi_pop_insert.
842 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
844 * configure: Regenerate.
846 2011-02-13 Mike Frysinger <vapier@gentoo.org>
848 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
849 * config/bfin-parse.y (BYTEOP2M): Delete token.
850 (asm_1): Remove BYTEOP2M insn matching.
852 2011-02-12 Mike Frysinger <vapier@gentoo.org>
854 * config/bfin-defs.h: Include opcode/bfin.h.
855 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
857 2011-02-11 Mike Frysinger <vapier@gentoo.org>
859 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
860 (Modify Registers): Fix subtracted typo.
861 (.byte2): Extend and swap descriptions with .byte4.
862 (.byte4): Extend and swap descriptions with .byte2.
863 (.db, .dw, .dd): Document behavior.
865 2011-02-11 Mike Frysinger <vapier@gentoo.org>
867 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
869 2011-02-11 Alan Modra <amodra@gmail.com>
871 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
873 2011-02-10 Alan Modra <amodra@gmail.com>
875 * doc/as.texinfo (Overview): Add missing markup around Blackfin
878 2011-02-10 Alan Modra <amodra@gmail.com>
880 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
881 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
882 (Overview <Target PowerPC options>): Add a number of missing options.
883 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
885 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
888 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
891 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
893 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
895 (md_parse_option): Likewise.
897 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
899 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
900 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
901 (TIC6X Options): Don't mention "-matomic".
902 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
903 (md_longopts): Remove corresponding entries.
904 (md_parse_option): Don't handle them.
905 (md_show_usage): Don't document them.
906 (tic6x_atomic): Delete variable.
907 (tic6x_update_features): Always copy tic6x_arch_enable to
909 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
910 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
911 (md_pseudo_table): Remove ".atomic" and ".noatomic".
913 2011-01-31 Nick Clifton <nickc@redhat.com>
915 * write.c (write_contents): Include output file name and bfd error
916 value when reporting the inability to write to the output file.
917 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
918 frag that has a non-zero fill value.
920 2011-01-27 DJ Delorie <dj@redhat.com>
922 * config/tc-rx.c (md_convert_frag): If we can't compute the target
923 address, zero out the values stored in the object file to make
924 objdump's output consistent.
926 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
928 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
929 x86_dwarf2_return_column to 32.
931 2011-01-20 Nick Clifton <nickc@redhat.com>
934 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
937 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
939 * write.c (compress_debug): Return if section size is smaller
942 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
945 * write.c (compress_debug): Return if section size is 0.
947 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
949 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
950 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
951 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
954 2011-01-18 Nick Clifton <nickc@redhat.com>
957 * doc/all.texi: Add NS32K
958 * doc/as.texinfo: Remove target specific details of which
959 characters act as comment initiators and statement separators into
960 individual target specific files.
961 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
962 the hash character at the start of a line.
963 * doc/c-arm.texi (ARM-Chars): Likewise.
964 * doc/c-avr.texi (AVR-Chars): Likewise.
965 * doc/c-d10v.texi (D10V-Chars): Likewise.
966 * doc/c-d30v.texi (D30V-Chars): Likewise.
967 * doc/c-mmix.texi (MMIX-Chars): Likewise.
968 * doc/c-s390.texi (s390 characters): Likewise.
969 * doc/c-sh.texi (SH-Chars): Likewise.
970 * doc/c-sh64.texi (SH64-Chars): Likewise.
971 * doc/c-sparc.texi (SPARC-Chars): Likewise.
972 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
973 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
974 * doc/c-z80.texi (Z80-Chars): Likewise.
975 * doc/c-z8k.texi (Z8000-Chars): Likewise.
976 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
977 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
978 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
979 line separator characters.
980 * doc/c-cr16.texi (CR16 Syntax): Likewise.
981 * doc/c-i386.texi (i386-Chars): Likewise.
982 * doc/c-i860.texi (i860-Chars): Likewise.
983 * doc/c-i960.texi (i960-Chars): Likewise.
984 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
985 * doc/c-lm32.texi (LM32-Chars): likewise.
986 * doc/c-m32c.texi (M32C-Chars): Likewise.
987 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
988 * doc/c-m68k.texi (M68K-Chars): Likewise.
989 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
990 * doc/c-msp430.texi (MSP430-Chars): Likewise.
991 * doc/c-mt.texi (MT-Chars): Likewise.
992 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
993 * doc/c-pj.texi (PJ-Chars): Likewise.
994 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
995 * doc/c-rx.texi (RX-Chars): Likewise.
996 * doc/c-score.texi (SCORE-Chars): Likewise.
997 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
998 * doc/c-v850.texi (V850-Chars): Likewise.
999 * doc/c-vax.texi (VAX-Chars): Likewise.
1000 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1002 2011-01-17 Quentin Neill <quentin.neill@amd.com>
1004 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1006 * doc/c-i386.texi (i386-TBM): New section.
1008 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1010 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1011 (disallow_64bit_reloc): This.
1012 (md_assemble): Don't check movabs for x32 mode here.
1013 (i386_target_format): Updated.
1014 (tc_gen_reloc): Check if 64bit relocations are allowed.
1016 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1018 * config/tc-i386.c (disallow_64bit_disp): New.
1019 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1020 X86_64_ABI/X86_64_X32_ABI.
1021 (md_assemble): Don't allow movabs with relocation in x32 mode.
1022 (i386_target_format): Updated.
1024 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1026 * config/tc-i386.c (OPTION_N32): Renamed to ...
1028 (md_longopts): Replace n32 with x32.
1029 (md_parse_option): Updated.
1030 (md_show_usage): Likewise.
1032 * doc/c-i386.texi: Replace --n32 with --x32.
1034 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1036 * config/tc-mips.c (mips_ip): Update error messages. Take an
1037 unadjusted offset for "+c" argument.
1039 2011-01-10 Nick Clifton <nickc@redhat.com>
1041 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1044 2011-01-10 Nick Clifton <nickc@redhat.com>
1046 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1049 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1050 Glauber de Oliveira Costa <glommer@gmail.com>
1052 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1053 .tlsdescseq directive.
1054 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1056 (s_arm_tls_descseq): New directive.
1057 (md_pseudo_table): Add it.
1058 (encode_branch): Allow TLS_CALL relocs too.
1059 (do_t_blx, do_t_branch23): Use encode_branch.
1060 (reloc_names): Add tlsdesc and tlscall.
1061 (md_apply_fix): Process tls desc relocations.
1062 (tc_gen_reloc): Likewise.
1063 (arm_fix_adjustable): Likewise.
1065 2011-01-07 Quentin Neill <quentin.neill@amd.com>
1067 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1069 * doc/c-i386.texi (i386-BMI): New section.
1071 2011-01-06 Paul Koning <ni1d@arrl.net>
1073 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1074 references to absolute addresses.
1076 2011-01-05 DJ Delorie <dj@redhat.com>
1078 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1079 instead of an RH_NEG32 one.
1081 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1083 * doc/c-i386.texi: Clarify --n32.
1085 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1087 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1088 integer registers in VEX.vvvv. Check register-only source
1089 operand when two source operands are swapped. Properly update
1090 destination when two source operands are swapped.
1092 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1094 * gas.c (parse_args): Update copyright to 2011.
1096 For older changes see ChangeLog-2010
1102 version-control: never