1 2011-06-14 Alan Modra <amodra@gmail.com>
3 * po/POTFILES.in: Regenerate.
5 2011-06-13 Walter Lee <walt@tilera.com>
7 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
9 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
11 * Makefile.in: Regenerate.
12 * configure.tgt (tilepro-*-*): New.
13 (tilegx-*-*): Likewise.
14 * config/tc-tilegx.c: New file.
15 * config/tc-tilegx.h: Likewise.
16 * config/tc-tilepro.h: Likewise.
17 * config/tc-tilepro.c: Likewise.
18 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
20 * doc/Makefile.in: Regenerate.
21 * doc/all.texi (TILEGX): Define.
23 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
24 c-tilegx.texi and c-tilepro.texi.
25 * doc/c-tilegx.texi: New.
26 * doc/c-tilepro.texi: New.
28 2011-06-13 Nick Clifton <nickc@redhat.com>
31 * config/tc-arm.c (do_shift): Do not allow shift operations at the
32 end of a register based shift insn.
33 (do_t_shift): Likewise.
35 2011-06-13 Nick Clifton <nickc@redhat.com>
37 * config/tc-score.c (s3_my_get_expression): Delete unused local
39 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
40 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
41 (s3_do_macro_bcmp): Zero inst_expand array.
42 (s3_do_macro_bcmpz): Likewise.
43 (s3_s_score_end): Delete unused local variable 'dot'.
44 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
45 * config/tc-score7.c (s7_my_get_expression): Delete unused local
47 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
48 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
50 (s7_s_score_end): Delete unused local variable 'dot'.
51 (s7_relax_frag): Delete unused local variable 'relax_size'.
52 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
54 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
56 AVX Programming Reference (June, 2011)
57 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
58 unsupported_vector_index_register.
59 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
60 (check_VecOperands): New.
61 (match_template): Call check_VecOperands. Handle
62 invalid_vsib_address and unsupported_vector_index_register.
63 (build_modrm_byte): Support VecSIB. Check register-only source
64 operand when two source operands are swapped.
65 (i386_index_check): Allow Xmm/Ymm index registers.
67 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
70 2011-06-09 Nick Clifton <nickc@redhat.com>
73 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
75 (check_cinv_options): Remove unused local variables. Make
77 (md_assemble): Remove unused local variable.
79 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
81 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
83 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
86 * config/tc-arm.c (parse_psr): Set m_profile to false when
87 assembling for any architecture.
89 2011-06-02 Jie Zhang jie@codesourcery.com
90 Nathan Sidwell nathan@codesourcery.com
92 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
93 (encode_arm_addr_mode_2): Set default sign of zero here ...
94 (encode_arm_addr_mode_3): ... and here.
95 (encode_arm_cp_address): ... and here.
96 (md_apply_fix): Use default sign of zero here.
98 2011-06-02 Nick Clifton <nickc@redhat.com>
100 * as.c: Fix spelling typo.
102 * config/tc-ppc.c: Likewise.
103 * po/gas.pit: Regenerate.
105 2011-05-31 Paul Brook <paul@codesourcery.com>
107 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
108 (arm_extensions): Allow idiv on ARMv7-R.
109 * doc/c-arm.text: Update idiv extension restrictions.
111 2011-05-31 Paul Brook <paul@codesourcery.com>
113 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
116 2011-05-31 Paul Brook <paul@codesourcery.com>
118 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
121 2011-05-31 Paul Brook <paul@codesourcery.com>
122 Nathan Sidwell <nathan@codesourcery.com>
124 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
125 pc-relative fixes to constants.
126 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
128 2011-05-27 Nick Clifton <nickc@redhat.com>
130 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
132 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
134 * config/tc-s390.c (md_gather_operands): Fix check for floating
135 register pair operands.
137 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
139 * config/tc-s390.c (md_gather_operands): Emit an error for odd
140 numbered registers used as register pair operand.
142 2011-05-23 Nick Clifton <nickc@redhat.com>
144 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
146 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
148 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
149 (tic6x_parse_name): Handle it.
150 (tic6x_fix_new_exp): Handle O_pcr_offset.
151 (tic6x_fix_adjustable): Return 0 for the new relocs.
152 (md_apply_fix): Handle them.
153 (tc_gen_reloc): Likewise.
154 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
156 2011-05-18 Nick Clifton <nickc@redhat.com>
159 * config/tc-tic30.c (ordinal_names): Allow translation of the
162 2011-05-18 Nick Clifton <nickc@redhat.com>
164 * config/tc-arm.c (s_unreq): Reword warning message to make it
166 * config/tc-ia64.c (md_show_usage): Add note for translators.
167 * configure.in (ALL_LINGUAS): Add "fi".
168 * configure: Regenerate.
170 2011-05-18 Tristan Gingold <gingold@adacore.com>
172 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
173 Put size into an union with dw.
174 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
175 (ppc_xcoff_end): Declare.
177 * config/tc-ppc.c: Add includes for xcoff.
178 (ppc_dwsect): New function.
179 (md_pseudo_table): Add dwsect.
180 (struct dw_subsection): New.
182 (ppc_change_debug_section): New function.
183 (ppc_xcoff_end): Ditto.
184 (ppc_function): Adjust for ppc_tc_sy.
185 (ppc_symbol_new_hook): Ditto.
186 (ppc_frob_symbol): Ditto.
187 (ppc_frob_section): Do not set vma for debug sections.
188 (ppc_fix_adjustable): Return true for debug sections.
189 * config/obj-coff.c: Add includes for xcoff.
190 (coff_frob_section): Handle dwarf section.
192 2011-05-17 Nick Clifton <nickc@redhat.com>
194 * po/fi.po: New Finnish translation.
195 * po/fr.po: Updated French translation.
197 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
198 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
199 * cond.c (s_else): Fix typos in error messages.
200 * config/tc-pj.c (md_assemble): Fix typo in error message.
202 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
204 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
206 (md_show_usage): Only mention --pic if the assembler can generate
208 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
209 prerequisite for --pic being a valid option.
211 2011-05-13 Frederic Marchal <fmarchal@perso.be>
214 * config/tc-v850.c (parse_register_list): Correct error string.
216 2011-05-12 Quentin Neill <quentin.neill@amd.com>
218 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
219 (i386_align_code): Ditto
221 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
224 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
225 immediates on 32-bit hosts.
227 2011-05-10 Quentin Neill <quentin.neill@amd.com>
229 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
230 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
231 (i386_align_code): Rename PROCESSOR_BDVER1.
232 (processor_type): Ditto.
233 * doc/c-i386.texi: Add bdver2.
235 2011-05-10 Alan Modra <amodra@gmail.com>
237 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
239 2011-05-09 Paul Brook <paul@codesourcery.com>
241 * config/tc-tic6x.c (streq): Define.
242 (tic6x_get_unwind): New.
243 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
244 s_tic6x_personalityindex, s_tic6x_personality): New functions.
245 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
246 "personality" and "cantunwind".
247 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
248 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
249 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
250 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
251 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
252 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
253 tic6x_cfi_endproc): New.
254 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
255 (tic6x_unwind_info): New.
256 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
258 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
259 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
260 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
261 tc_cfi_section_name): Define.
262 * doc/c-tic6x.texi: Document new unwinding directives.
263 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
265 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
266 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
268 (CFI_EMIT_target): Define.
269 (dot_cfi_sections): Check tc_cfi_section_name.
270 (dot_cfi_startproc): Use tc_cfi_startproc.
271 (dot_cfi_endproc): Use tc_cfi_endproc.
272 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
273 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
274 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
276 2011-05-07 Alan Modra <amodra@gmail.com>
278 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
279 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
280 (struct fde_entry): Rename cseg to cur_seg.
281 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
282 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
283 that #if SUPPORT_FRAME_LINKONCE.
284 (cfi_finish): Likewise.
286 2011-05-06 Tristan Gingold <gingold@adacore.com>
288 * read.c (s_comm_internal): Remove code for OBJ_VMS.
291 * write.c (write_object_file): Ditto.
292 * symbols.c (define_sym_at_dot): Ditto.
295 2011-05-05 Alan Modra <amodra@gmail.com>
297 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
298 file to conditionally compile code added 2011-04-26.
299 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
300 when SUPPORT_FRAME_LINKONCE.
301 (get_cfi_seg): Likewise. Reintroduce old code for when not
302 SUPPORT_FRAME_LINKONCE.
303 (cfi_finish): Move get_cfi_seg calls out of loop when not
304 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
306 2011-05-03 Paul Brook <paul@codesourcery.com>
308 * config/tc-tic6x.c (s_ehtype): New function.
309 (md_pseudo_table): Add "ehtype".
310 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
311 * doc/c-tic6x.texi: Document .ehtype directive.
313 2011-04-26 Kai Tietz <ktietz@redhat.com>
315 * dw2gencfi.c (dwcfi_seg_list): New struct.
316 (dwcfi_hash): New static hash variable.
317 (get_debugseg_name): New.
318 (alloc_debugseg_item): New.
319 (make_debug_seg): New.
320 (dwcfi_hash_insert): New.
321 (dwcfi_hash_find): New.
322 (dwcfi_hash_find_or_make): New.
323 (cfi_insn_data): New member cur_seg.
324 (cie_entry): Likewise.
325 (fde_entry): New cseg and handled members.
326 (alloc_fde_entry): Initialize cseg member.
327 (alloc_cfi_insn_data): Initialize cur_seg member.
328 (dot_cfi_sections): Compare for beginning of
329 section names via strncmp.
331 (cfi_finish): Treat link-once sections.
332 (is_now_linkonce_segment): New local helper.
333 (output_cie): Ignore cie entries not member of current
335 (output_fde): Likewise.
336 (select_cie_for_fde): Likewise.
337 (cfi_change_reg_numbers): Add new argument for current segment
338 and ignore insn elements, if not part of current segment.
339 * ehopt.c (get_cie_info): Use strncmp for
340 section name matching.
341 (heck_eh_frame): Likewise.
343 2011-04-20 Catherine Moore <clm@codesourcery.com>
344 David Ung <davidu@mips.com>
346 * config/mips.c (mips_cl_insn): Add new field complete_p.
347 (create_insn): Initialize complete_p to zero.
349 (fix_24k_align_to): New.
350 (fix_24k_store_info): Declare.
352 (fix_24k_record_store_info): New.
354 (nops_for_insn): Call nops_for_24k.
355 (append_insn): Move O_constant expression handling.
357 2011-04-20 Alan Modra <amodra@gmail.com>
359 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
360 (hash_new_sized): New function, split out from..
363 2011-04-19 Nick Clifton <nickc@redhat.com>
365 * config/tc-arm.c (v7m_psrs): Revert previous delta.
367 2011-04-18 Julian Brown <julian@codesourcery.com>
368 Nick Clifton <nickc@redhat.com>
370 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
371 detect M-profile targets.
372 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
373 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
375 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
377 * config/tc-s390.c (s390_machine): New prototype.
378 (md_pseudo_table): New pseudo-op .machine.
379 (s390_opcode_hash): Initialize to NULL.
380 (s390_parse_cpu): New function.
381 (md_parse_option): Use s390_parse_cpu.
382 (s390_setup_opcodes): New function.
383 (md_begin): Use s390_setup_opcodes.
384 (s390_machine): New hook handling the new .machine pseudo.
386 * doc/c-s390.texi: Document the new pseudo op .machine.
388 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
390 * config/tc-i386.c (i386_mach): Start error message with lower
392 (md_begin): Likewise.
393 (md_parse_option): Likewise.
394 (i386_target_format): Likewise.
395 (check_byte_reg): Likewise.
396 (check_long_reg): Likewise.
397 (check_qword_reg): Likewise.
398 (check_word_reg): Likewise.
400 2011-04-12 Nick Clifton <nickc@redhat.com>
403 * config/tc-arm.c (relax_branch): Do not relax branches to
404 preemptable global symbols.
406 2011-04-11 Julian Brown <julian@codesourcery.com>
408 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
410 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
412 (parse_operands): Likewise.
413 (do_mrs): Tweak error message for constraint.
414 (do_t_mrs): Update constraints for changes to APSR support.
415 (do_t_msr): Likewise. Don't set PSR_f flag here.
416 (psrs): Remove "g", "nzcvq", "nzcvqg".
417 (insns): Tweak entries for msr and mrs instructions.
419 2011-04-11 Kai Tietz <ktietz@redhat.com>
421 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
423 2011-04-11 Nick Clifton <nickc@redhat.com>
425 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
426 * config/tc-i386.h (x86_cons): Always prototype.
428 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
429 in order to avoid a compile time warning.
430 (getprocreg_image): Likewise.
432 2011-04-11 Alan Modra <amodra@gmail.com>
434 * config/tc-cr16.c (getprocreg_image): Correct range check.
435 (getprocregp_image): Likewise.
437 2011-04-06 Joseph Myers <joseph@codesourcery.com>
439 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
440 xscale*be|xscale*b, xscale*): Remove architectures.
441 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
442 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
444 2011-04-01 Tristan Gingold <gingold@adacore.com>
446 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
448 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
450 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
452 (md_begin): Initialize them.
453 (s_tic6x_scomm): New static function.
454 (md_pseudo_table): Add "scomm".
455 (tc_gen_reloc): Really undo all adjustments made by
456 bfd_install_relocation.
457 * doc/c-tic6x.texi: Document the .scomm directive.
459 2011-03-31 Tristan Gingold <gingold@adacore.com>
461 * dwarf2dbg.c (DWARF2_VERSION): Define.
462 (out_debug_line): Use it.
463 (out_debug_aranges): Ditto.
464 (out_debug_info): Ditto.
465 * config/tc-ia64.h (DWARF2_VERSION): Override it.
467 2011-03-30 Michael Snyder <msnyder@vmware.com>
469 * obj-elf.c (obj_elf_section): Free malloced name.
470 * macro.c (get_any_string): Free malloced br_buf.
471 (do_formals): Free 'formal'.
473 2011-03-30 Tristan Gingold <gingold@adacore.com>
475 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
476 to offset only if within is set.
477 (ppc_stabx): Reformat. For stsym stabs, add a check and set
478 within only for symbols.
480 2011-03-29 Richard Henderson <rth@redhat.com>
483 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
484 label; zap alpha_insn_label.
486 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
488 * config/tc-i386.c (handle_quad): Properly handle multiple
491 2011-03-29 Mike Frysinger <vapier@gentoo.org>
493 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
494 reg $2 is the same as dest reg $4.
496 2011-03-29 Mike Frysinger <vapier@gentoo.org>
498 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
499 reg $2 is the same as dest reg $4.
501 2011-03-29 Mike Frysinger <vapier@gentoo.org>
503 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
504 reg $2 is the same as dest reg $4.
506 2011-03-28 Mike Frysinger <vapier@gentoo.org>
508 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
509 reg $1 is the same as dest reg $7.
511 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
513 * config/tc-i386.c (handle_quad): New.
514 (md_pseudo_table): Add "quad".
516 2011-03-26 John Marino <binutils@marino.st>
518 * configure.tgt: Fix support for *-*-dragonfly*.
519 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
520 * config/te-dragonfly.h: New file.
522 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
524 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
525 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
527 * doc/c-avr.texi: Document new device names.
529 2011-03-24 Mike Frysinger <vapier@gentoo.org>
531 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
532 reg $1 is the same as dest reg $7.
533 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
536 2011-03-24 Mike Frysinger <vapier@gentoo.org>
538 * config/bfin-parse.y (check_macfuncs): Clarify error message when
539 P is mismatched. Check destination regno are off by one when P is
540 set, or are equal when P is not set.
542 2011-03-23 Mike Frysinger <vapier@gentoo.org>
544 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
545 the same as dest reg $4.
546 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
548 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
550 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
551 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
552 * doc/c-avr.texi: Document new device names.
554 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
556 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
557 (AVR_INSN): Change definition to match.
558 (avr_opcodes): Likewise, change to match.
559 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
560 (md_show_usage): Add XMEGA architecture names.
561 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
562 Add support for SPM Z+ instruction.
563 * doc/c-avr.texi: Add documentation for XMEGA architectures and
566 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
568 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
570 2011-03-18 Alan Modra <amodra@gmail.com>
572 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
573 on .size expression errors rather than symbols in the size expression.
575 2011-03-18 Alan Modra <amodra@gmail.com>
577 * input-scrub.c (line_numberT): Delete.
578 (input_scrub_close): Reset line counters.
579 * messages.c (as_show_where): Don't print invalid line number.
580 (as_warn_internal, as_bad_internal): Likewise.
582 2011-03-18 Alan Modra <amodra@gmail.com>
584 * read.c (read_a_source_file): Remove md_after_pass_hook.
585 Move "quit" label before set of dot_symbol.
586 * config/tc-d10v.h (md_after_pass_hook): Don't define.
587 * config/tc-d30v.h (md_after_pass_hook): Likewise.
588 * config/tc-m32r.h (md_after_pass_hook): Likewise.
589 (md_cleanup): Define to call m32r_fill_insn.
591 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
593 * config/tc-s390.c (md_parse_option): Add -march=all option which
594 switches to the highest available CPU.
596 2011-03-17 Alan Modra <amodra@gmail.com>
599 * expr.c (operand): Correct passing of "mode" to expr.
600 * read.c (do_org): Allow expr_section.
601 (get_known_segmented_expression): Don't assert anything about the
604 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
606 * as.c (show_usage): Add --size-check=.
607 (parse_args): Add and handle OPTION_SIZE_CHECK.
609 * as.h (flag_size_check): New.
611 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
612 bad .size directive only for --size-check=error.
614 * doc/as.texinfo: Document --size-check=.
616 2011-03-14 Mike Frysinger <vapier@gentoo.org>
618 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
619 bf542/bf544/bf547/bf548/bf549.
621 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
623 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
624 determine whether a relocation is needed.
625 (md_apply_fix, arm_apply_sym_value): Likewise.
627 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
629 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
632 2011-03-11 Nick Clifton <nickc@redhat.com>
634 * remap.c (remap_debug_filename): Always allocate a buffer for the
636 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
637 remap_debug_filename.
639 2011-03-10 Michael Snyder <msnyder@vmware.com>
641 Revert the following change:
642 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
643 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
645 2011-03-10 Alan Modra <amodra@gmail.com>
647 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
648 TARGET_SYMBOL_FIELDS): Don't define.
649 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
651 2011-03-09 Michael Snyder <msnyder@vmware.com>
653 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
654 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
655 (emit_fixed_inc_line_addr): Assign instead of conditional in
658 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
660 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
661 non-constant .size expression.
663 2011-03-02 Nick Clifton <nickc@redhat.com>
665 * ecoff.c: Incldue filenames.h
667 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
669 * depend.c (register_dependency): Use filename_(n)cmp.
670 * dwarf2dbg.c (get_filenum): Likewise.
671 * ecoff.c (add_file): Likewise.
672 (ecoff_generate_asm_lineno): Likewise.
673 * input-scrub.c (new_logical_line_flags): Likewise.
674 * listing.c (file_info): Likewise.
675 (listing_newline): Likewise.
676 * remap.c (remap_debug_filename): Likewise.
677 * stabs.c (generate_asm_file): Likewise.
678 (stabs_generate_asm_lineno): Likewise.
680 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
682 * config/tc-mips.c (append_insn): Disable branch relaxation for
685 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
687 * config/tc-mips.c (macro): Handle M_PREF_AB.
689 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
691 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
693 (RELAX_BRANCH_UNCOND): Adjust accordingly.
694 (RELAX_BRANCH_LIKELY): Likewise.
695 (RELAX_BRANCH_LINK): Likewise.
696 (RELAX_BRANCH_TOOFAR): Likewise.
697 (RELAX_BRANCH_AT): New macro.
698 (append_insn): Encode the temporary register to use in standard
699 MIPS branch relaxation.
700 (relaxed_branch_length): Update according to changes to
702 (md_convert_frag): Use the encoded register as the temporary.
704 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
706 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
707 reject PC-relative relocations.
709 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
711 * config/tc-mips.c (md_convert_frag): Correct message
714 2011-02-28 Alan Modra <amodra@gmail.com>
716 * symbols.c (report_op_error): Remove unnecessary forward declaration.
717 Add "op" parameter. Report operator and operand segments in error
718 message, not operand symbols.
719 (resolve_symbol_value): Always set segment for equated symbols, not
720 just when finalizing. Adjust report_op_error calls.
722 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
724 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
725 if 64bit relocations aren't allowed.
727 2011-02-25 Alan Modra <amodra@gmail.com>
730 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
732 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
734 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
735 initialization of offset_reloc.
737 2011-02-15 Richard Henderson <rth@redhat.com>
739 * dw2gencfi.c (dot_cfi_dummy): New.
740 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
741 * read.c (pobegin): Unconditionally call cfi_pop_insert.
743 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
745 * configure: Regenerate.
747 2011-02-13 Mike Frysinger <vapier@gentoo.org>
749 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
750 * config/bfin-parse.y (BYTEOP2M): Delete token.
751 (asm_1): Remove BYTEOP2M insn matching.
753 2011-02-12 Mike Frysinger <vapier@gentoo.org>
755 * config/bfin-defs.h: Include opcode/bfin.h.
756 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
758 2011-02-11 Mike Frysinger <vapier@gentoo.org>
760 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
761 (Modify Registers): Fix subtracted typo.
762 (.byte2): Extend and swap descriptions with .byte4.
763 (.byte4): Extend and swap descriptions with .byte2.
764 (.db, .dw, .dd): Document behavior.
766 2011-02-11 Mike Frysinger <vapier@gentoo.org>
768 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
770 2011-02-11 Alan Modra <amodra@gmail.com>
772 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
774 2011-02-10 Alan Modra <amodra@gmail.com>
776 * doc/as.texinfo (Overview): Add missing markup around Blackfin
779 2011-02-10 Alan Modra <amodra@gmail.com>
781 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
782 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
783 (Overview <Target PowerPC options>): Add a number of missing options.
784 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
786 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
789 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
792 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
794 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
796 (md_parse_option): Likewise.
798 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
800 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
801 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
802 (TIC6X Options): Don't mention "-matomic".
803 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
804 (md_longopts): Remove corresponding entries.
805 (md_parse_option): Don't handle them.
806 (md_show_usage): Don't document them.
807 (tic6x_atomic): Delete variable.
808 (tic6x_update_features): Always copy tic6x_arch_enable to
810 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
811 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
812 (md_pseudo_table): Remove ".atomic" and ".noatomic".
814 2011-01-31 Nick Clifton <nickc@redhat.com>
816 * write.c (write_contents): Include output file name and bfd error
817 value when reporting the inability to write to the output file.
818 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
819 frag that has a non-zero fill value.
821 2011-01-27 DJ Delorie <dj@redhat.com>
823 * config/tc-rx.c (md_convert_frag): If we can't compute the target
824 address, zero out the values stored in the object file to make
825 objdump's output consistent.
827 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
829 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
830 x86_dwarf2_return_column to 32.
832 2011-01-20 Nick Clifton <nickc@redhat.com>
835 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
838 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
840 * write.c (compress_debug): Return if section size is smaller
843 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
846 * write.c (compress_debug): Return if section size is 0.
848 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
850 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
851 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
852 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
855 2011-01-18 Nick Clifton <nickc@redhat.com>
858 * doc/all.texi: Add NS32K
859 * doc/as.texinfo: Remove target specific details of which
860 characters act as comment initiators and statement separators into
861 individual target specific files.
862 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
863 the hash character at the start of a line.
864 * doc/c-arm.texi (ARM-Chars): Likewise.
865 * doc/c-avr.texi (AVR-Chars): Likewise.
866 * doc/c-d10v.texi (D10V-Chars): Likewise.
867 * doc/c-d30v.texi (D30V-Chars): Likewise.
868 * doc/c-mmix.texi (MMIX-Chars): Likewise.
869 * doc/c-s390.texi (s390 characters): Likewise.
870 * doc/c-sh.texi (SH-Chars): Likewise.
871 * doc/c-sh64.texi (SH64-Chars): Likewise.
872 * doc/c-sparc.texi (SPARC-Chars): Likewise.
873 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
874 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
875 * doc/c-z80.texi (Z80-Chars): Likewise.
876 * doc/c-z8k.texi (Z8000-Chars): Likewise.
877 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
878 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
879 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
880 line separator characters.
881 * doc/c-cr16.texi (CR16 Syntax): Likewise.
882 * doc/c-i386.texi (i386-Chars): Likewise.
883 * doc/c-i860.texi (i860-Chars): Likewise.
884 * doc/c-i960.texi (i960-Chars): Likewise.
885 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
886 * doc/c-lm32.texi (LM32-Chars): likewise.
887 * doc/c-m32c.texi (M32C-Chars): Likewise.
888 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
889 * doc/c-m68k.texi (M68K-Chars): Likewise.
890 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
891 * doc/c-msp430.texi (MSP430-Chars): Likewise.
892 * doc/c-mt.texi (MT-Chars): Likewise.
893 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
894 * doc/c-pj.texi (PJ-Chars): Likewise.
895 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
896 * doc/c-rx.texi (RX-Chars): Likewise.
897 * doc/c-score.texi (SCORE-Chars): Likewise.
898 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
899 * doc/c-v850.texi (V850-Chars): Likewise.
900 * doc/c-vax.texi (VAX-Chars): Likewise.
901 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
903 2011-01-17 Quentin Neill <quentin.neill@amd.com>
905 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
907 * doc/c-i386.texi (i386-TBM): New section.
909 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
911 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
912 (disallow_64bit_reloc): This.
913 (md_assemble): Don't check movabs for x32 mode here.
914 (i386_target_format): Updated.
915 (tc_gen_reloc): Check if 64bit relocations are allowed.
917 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
919 * config/tc-i386.c (disallow_64bit_disp): New.
920 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
921 X86_64_ABI/X86_64_X32_ABI.
922 (md_assemble): Don't allow movabs with relocation in x32 mode.
923 (i386_target_format): Updated.
925 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
927 * config/tc-i386.c (OPTION_N32): Renamed to ...
929 (md_longopts): Replace n32 with x32.
930 (md_parse_option): Updated.
931 (md_show_usage): Likewise.
933 * doc/c-i386.texi: Replace --n32 with --x32.
935 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
937 * config/tc-mips.c (mips_ip): Update error messages. Take an
938 unadjusted offset for "+c" argument.
940 2011-01-10 Nick Clifton <nickc@redhat.com>
942 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
945 2011-01-10 Nick Clifton <nickc@redhat.com>
947 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
950 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
951 Glauber de Oliveira Costa <glommer@gmail.com>
953 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
954 .tlsdescseq directive.
955 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
957 (s_arm_tls_descseq): New directive.
958 (md_pseudo_table): Add it.
959 (encode_branch): Allow TLS_CALL relocs too.
960 (do_t_blx, do_t_branch23): Use encode_branch.
961 (reloc_names): Add tlsdesc and tlscall.
962 (md_apply_fix): Process tls desc relocations.
963 (tc_gen_reloc): Likewise.
964 (arm_fix_adjustable): Likewise.
966 2011-01-07 Quentin Neill <quentin.neill@amd.com>
968 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
970 * doc/c-i386.texi (i386-BMI): New section.
972 2011-01-06 Paul Koning <ni1d@arrl.net>
974 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
975 references to absolute addresses.
977 2011-01-05 DJ Delorie <dj@redhat.com>
979 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
980 instead of an RH_NEG32 one.
982 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
984 * doc/c-i386.texi: Clarify --n32.
986 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
988 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
989 integer registers in VEX.vvvv. Check register-only source
990 operand when two source operands are swapped. Properly update
991 destination when two source operands are swapped.
993 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
995 * gas.c (parse_args): Update copyright to 2011.
997 For older changes see ChangeLog-2010
1003 version-control: never