1 2011-06-14 Tristan Gingold <gingold@adacore.com>
3 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
4 (tc_new_dot_label): Define.
5 (ppc_new_dot_label): Declare.
6 * config/tc-ppc.c (ppc_frob_label): Set within target field.
7 (ppc_fix_adjustable): Use this field to adjust the reloc.
8 (ppc_new_dot_label): New function.
10 2011-06-14 Alan Modra <amodra@gmail.com>
12 * po/POTFILES.in: Regenerate.
14 2011-06-13 Walter Lee <walt@tilera.com>
16 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
18 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
20 * Makefile.in: Regenerate.
21 * configure.tgt (tilepro-*-*): New.
22 (tilegx-*-*): Likewise.
23 * config/tc-tilegx.c: New file.
24 * config/tc-tilegx.h: Likewise.
25 * config/tc-tilepro.h: Likewise.
26 * config/tc-tilepro.c: Likewise.
27 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
29 * doc/Makefile.in: Regenerate.
30 * doc/all.texi (TILEGX): Define.
32 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
33 c-tilegx.texi and c-tilepro.texi.
34 * doc/c-tilegx.texi: New.
35 * doc/c-tilepro.texi: New.
37 2011-06-13 Nick Clifton <nickc@redhat.com>
40 * config/tc-arm.c (do_shift): Do not allow shift operations at the
41 end of a register based shift insn.
42 (do_t_shift): Likewise.
44 2011-06-13 Nick Clifton <nickc@redhat.com>
46 * config/tc-score.c (s3_my_get_expression): Delete unused local
48 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
49 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
50 (s3_do_macro_bcmp): Zero inst_expand array.
51 (s3_do_macro_bcmpz): Likewise.
52 (s3_s_score_end): Delete unused local variable 'dot'.
53 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
54 * config/tc-score7.c (s7_my_get_expression): Delete unused local
56 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
57 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
59 (s7_s_score_end): Delete unused local variable 'dot'.
60 (s7_relax_frag): Delete unused local variable 'relax_size'.
61 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
63 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
65 AVX Programming Reference (June, 2011)
66 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
67 unsupported_vector_index_register.
68 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
69 (check_VecOperands): New.
70 (match_template): Call check_VecOperands. Handle
71 invalid_vsib_address and unsupported_vector_index_register.
72 (build_modrm_byte): Support VecSIB. Check register-only source
73 operand when two source operands are swapped.
74 (i386_index_check): Allow Xmm/Ymm index registers.
76 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
79 2011-06-09 Nick Clifton <nickc@redhat.com>
82 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
84 (check_cinv_options): Remove unused local variables. Make
86 (md_assemble): Remove unused local variable.
88 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
90 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
92 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
95 * config/tc-arm.c (parse_psr): Set m_profile to false when
96 assembling for any architecture.
98 2011-06-02 Jie Zhang jie@codesourcery.com
99 Nathan Sidwell nathan@codesourcery.com
101 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
102 (encode_arm_addr_mode_2): Set default sign of zero here ...
103 (encode_arm_addr_mode_3): ... and here.
104 (encode_arm_cp_address): ... and here.
105 (md_apply_fix): Use default sign of zero here.
107 2011-06-02 Nick Clifton <nickc@redhat.com>
109 * as.c: Fix spelling typo.
111 * config/tc-ppc.c: Likewise.
112 * po/gas.pit: Regenerate.
114 2011-05-31 Paul Brook <paul@codesourcery.com>
116 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
117 (arm_extensions): Allow idiv on ARMv7-R.
118 * doc/c-arm.text: Update idiv extension restrictions.
120 2011-05-31 Paul Brook <paul@codesourcery.com>
122 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
125 2011-05-31 Paul Brook <paul@codesourcery.com>
127 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
130 2011-05-31 Paul Brook <paul@codesourcery.com>
131 Nathan Sidwell <nathan@codesourcery.com>
133 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
134 pc-relative fixes to constants.
135 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
137 2011-05-27 Nick Clifton <nickc@redhat.com>
139 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
141 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
143 * config/tc-s390.c (md_gather_operands): Fix check for floating
144 register pair operands.
146 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
148 * config/tc-s390.c (md_gather_operands): Emit an error for odd
149 numbered registers used as register pair operand.
151 2011-05-23 Nick Clifton <nickc@redhat.com>
153 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
155 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
157 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
158 (tic6x_parse_name): Handle it.
159 (tic6x_fix_new_exp): Handle O_pcr_offset.
160 (tic6x_fix_adjustable): Return 0 for the new relocs.
161 (md_apply_fix): Handle them.
162 (tc_gen_reloc): Likewise.
163 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
165 2011-05-18 Nick Clifton <nickc@redhat.com>
168 * config/tc-tic30.c (ordinal_names): Allow translation of the
171 2011-05-18 Nick Clifton <nickc@redhat.com>
173 * config/tc-arm.c (s_unreq): Reword warning message to make it
175 * config/tc-ia64.c (md_show_usage): Add note for translators.
176 * configure.in (ALL_LINGUAS): Add "fi".
177 * configure: Regenerate.
179 2011-05-18 Tristan Gingold <gingold@adacore.com>
181 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
182 Put size into an union with dw.
183 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
184 (ppc_xcoff_end): Declare.
186 * config/tc-ppc.c: Add includes for xcoff.
187 (ppc_dwsect): New function.
188 (md_pseudo_table): Add dwsect.
189 (struct dw_subsection): New.
191 (ppc_change_debug_section): New function.
192 (ppc_xcoff_end): Ditto.
193 (ppc_function): Adjust for ppc_tc_sy.
194 (ppc_symbol_new_hook): Ditto.
195 (ppc_frob_symbol): Ditto.
196 (ppc_frob_section): Do not set vma for debug sections.
197 (ppc_fix_adjustable): Return true for debug sections.
198 * config/obj-coff.c: Add includes for xcoff.
199 (coff_frob_section): Handle dwarf section.
201 2011-05-17 Nick Clifton <nickc@redhat.com>
203 * po/fi.po: New Finnish translation.
204 * po/fr.po: Updated French translation.
206 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
207 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
208 * cond.c (s_else): Fix typos in error messages.
209 * config/tc-pj.c (md_assemble): Fix typo in error message.
211 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
213 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
215 (md_show_usage): Only mention --pic if the assembler can generate
217 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
218 prerequisite for --pic being a valid option.
220 2011-05-13 Frederic Marchal <fmarchal@perso.be>
223 * config/tc-v850.c (parse_register_list): Correct error string.
225 2011-05-12 Quentin Neill <quentin.neill@amd.com>
227 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
228 (i386_align_code): Ditto
230 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
233 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
234 immediates on 32-bit hosts.
236 2011-05-10 Quentin Neill <quentin.neill@amd.com>
238 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
239 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
240 (i386_align_code): Rename PROCESSOR_BDVER1.
241 (processor_type): Ditto.
242 * doc/c-i386.texi: Add bdver2.
244 2011-05-10 Alan Modra <amodra@gmail.com>
246 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
248 2011-05-09 Paul Brook <paul@codesourcery.com>
250 * config/tc-tic6x.c (streq): Define.
251 (tic6x_get_unwind): New.
252 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
253 s_tic6x_personalityindex, s_tic6x_personality): New functions.
254 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
255 "personality" and "cantunwind".
256 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
257 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
258 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
259 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
260 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
261 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
262 tic6x_cfi_endproc): New.
263 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
264 (tic6x_unwind_info): New.
265 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
267 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
268 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
269 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
270 tc_cfi_section_name): Define.
271 * doc/c-tic6x.texi: Document new unwinding directives.
272 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
274 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
275 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
277 (CFI_EMIT_target): Define.
278 (dot_cfi_sections): Check tc_cfi_section_name.
279 (dot_cfi_startproc): Use tc_cfi_startproc.
280 (dot_cfi_endproc): Use tc_cfi_endproc.
281 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
282 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
283 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
285 2011-05-07 Alan Modra <amodra@gmail.com>
287 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
288 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
289 (struct fde_entry): Rename cseg to cur_seg.
290 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
291 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
292 that #if SUPPORT_FRAME_LINKONCE.
293 (cfi_finish): Likewise.
295 2011-05-06 Tristan Gingold <gingold@adacore.com>
297 * read.c (s_comm_internal): Remove code for OBJ_VMS.
300 * write.c (write_object_file): Ditto.
301 * symbols.c (define_sym_at_dot): Ditto.
304 2011-05-05 Alan Modra <amodra@gmail.com>
306 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
307 file to conditionally compile code added 2011-04-26.
308 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
309 when SUPPORT_FRAME_LINKONCE.
310 (get_cfi_seg): Likewise. Reintroduce old code for when not
311 SUPPORT_FRAME_LINKONCE.
312 (cfi_finish): Move get_cfi_seg calls out of loop when not
313 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
315 2011-05-03 Paul Brook <paul@codesourcery.com>
317 * config/tc-tic6x.c (s_ehtype): New function.
318 (md_pseudo_table): Add "ehtype".
319 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
320 * doc/c-tic6x.texi: Document .ehtype directive.
322 2011-04-26 Kai Tietz <ktietz@redhat.com>
324 * dw2gencfi.c (dwcfi_seg_list): New struct.
325 (dwcfi_hash): New static hash variable.
326 (get_debugseg_name): New.
327 (alloc_debugseg_item): New.
328 (make_debug_seg): New.
329 (dwcfi_hash_insert): New.
330 (dwcfi_hash_find): New.
331 (dwcfi_hash_find_or_make): New.
332 (cfi_insn_data): New member cur_seg.
333 (cie_entry): Likewise.
334 (fde_entry): New cseg and handled members.
335 (alloc_fde_entry): Initialize cseg member.
336 (alloc_cfi_insn_data): Initialize cur_seg member.
337 (dot_cfi_sections): Compare for beginning of
338 section names via strncmp.
340 (cfi_finish): Treat link-once sections.
341 (is_now_linkonce_segment): New local helper.
342 (output_cie): Ignore cie entries not member of current
344 (output_fde): Likewise.
345 (select_cie_for_fde): Likewise.
346 (cfi_change_reg_numbers): Add new argument for current segment
347 and ignore insn elements, if not part of current segment.
348 * ehopt.c (get_cie_info): Use strncmp for
349 section name matching.
350 (heck_eh_frame): Likewise.
352 2011-04-20 Catherine Moore <clm@codesourcery.com>
353 David Ung <davidu@mips.com>
355 * config/mips.c (mips_cl_insn): Add new field complete_p.
356 (create_insn): Initialize complete_p to zero.
358 (fix_24k_align_to): New.
359 (fix_24k_store_info): Declare.
361 (fix_24k_record_store_info): New.
363 (nops_for_insn): Call nops_for_24k.
364 (append_insn): Move O_constant expression handling.
366 2011-04-20 Alan Modra <amodra@gmail.com>
368 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
369 (hash_new_sized): New function, split out from..
372 2011-04-19 Nick Clifton <nickc@redhat.com>
374 * config/tc-arm.c (v7m_psrs): Revert previous delta.
376 2011-04-18 Julian Brown <julian@codesourcery.com>
377 Nick Clifton <nickc@redhat.com>
379 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
380 detect M-profile targets.
381 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
382 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
384 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
386 * config/tc-s390.c (s390_machine): New prototype.
387 (md_pseudo_table): New pseudo-op .machine.
388 (s390_opcode_hash): Initialize to NULL.
389 (s390_parse_cpu): New function.
390 (md_parse_option): Use s390_parse_cpu.
391 (s390_setup_opcodes): New function.
392 (md_begin): Use s390_setup_opcodes.
393 (s390_machine): New hook handling the new .machine pseudo.
395 * doc/c-s390.texi: Document the new pseudo op .machine.
397 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
399 * config/tc-i386.c (i386_mach): Start error message with lower
401 (md_begin): Likewise.
402 (md_parse_option): Likewise.
403 (i386_target_format): Likewise.
404 (check_byte_reg): Likewise.
405 (check_long_reg): Likewise.
406 (check_qword_reg): Likewise.
407 (check_word_reg): Likewise.
409 2011-04-12 Nick Clifton <nickc@redhat.com>
412 * config/tc-arm.c (relax_branch): Do not relax branches to
413 preemptable global symbols.
415 2011-04-11 Julian Brown <julian@codesourcery.com>
417 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
419 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
421 (parse_operands): Likewise.
422 (do_mrs): Tweak error message for constraint.
423 (do_t_mrs): Update constraints for changes to APSR support.
424 (do_t_msr): Likewise. Don't set PSR_f flag here.
425 (psrs): Remove "g", "nzcvq", "nzcvqg".
426 (insns): Tweak entries for msr and mrs instructions.
428 2011-04-11 Kai Tietz <ktietz@redhat.com>
430 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
432 2011-04-11 Nick Clifton <nickc@redhat.com>
434 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
435 * config/tc-i386.h (x86_cons): Always prototype.
437 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
438 in order to avoid a compile time warning.
439 (getprocreg_image): Likewise.
441 2011-04-11 Alan Modra <amodra@gmail.com>
443 * config/tc-cr16.c (getprocreg_image): Correct range check.
444 (getprocregp_image): Likewise.
446 2011-04-06 Joseph Myers <joseph@codesourcery.com>
448 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
449 xscale*be|xscale*b, xscale*): Remove architectures.
450 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
451 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
453 2011-04-01 Tristan Gingold <gingold@adacore.com>
455 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
457 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
459 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
461 (md_begin): Initialize them.
462 (s_tic6x_scomm): New static function.
463 (md_pseudo_table): Add "scomm".
464 (tc_gen_reloc): Really undo all adjustments made by
465 bfd_install_relocation.
466 * doc/c-tic6x.texi: Document the .scomm directive.
468 2011-03-31 Tristan Gingold <gingold@adacore.com>
470 * dwarf2dbg.c (DWARF2_VERSION): Define.
471 (out_debug_line): Use it.
472 (out_debug_aranges): Ditto.
473 (out_debug_info): Ditto.
474 * config/tc-ia64.h (DWARF2_VERSION): Override it.
476 2011-03-30 Michael Snyder <msnyder@vmware.com>
478 * obj-elf.c (obj_elf_section): Free malloced name.
479 * macro.c (get_any_string): Free malloced br_buf.
480 (do_formals): Free 'formal'.
482 2011-03-30 Tristan Gingold <gingold@adacore.com>
484 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
485 to offset only if within is set.
486 (ppc_stabx): Reformat. For stsym stabs, add a check and set
487 within only for symbols.
489 2011-03-29 Richard Henderson <rth@redhat.com>
492 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
493 label; zap alpha_insn_label.
495 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
497 * config/tc-i386.c (handle_quad): Properly handle multiple
500 2011-03-29 Mike Frysinger <vapier@gentoo.org>
502 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
503 reg $2 is the same as dest reg $4.
505 2011-03-29 Mike Frysinger <vapier@gentoo.org>
507 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
508 reg $2 is the same as dest reg $4.
510 2011-03-29 Mike Frysinger <vapier@gentoo.org>
512 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
513 reg $2 is the same as dest reg $4.
515 2011-03-28 Mike Frysinger <vapier@gentoo.org>
517 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
518 reg $1 is the same as dest reg $7.
520 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
522 * config/tc-i386.c (handle_quad): New.
523 (md_pseudo_table): Add "quad".
525 2011-03-26 John Marino <binutils@marino.st>
527 * configure.tgt: Fix support for *-*-dragonfly*.
528 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
529 * config/te-dragonfly.h: New file.
531 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
533 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
534 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
536 * doc/c-avr.texi: Document new device names.
538 2011-03-24 Mike Frysinger <vapier@gentoo.org>
540 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
541 reg $1 is the same as dest reg $7.
542 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
545 2011-03-24 Mike Frysinger <vapier@gentoo.org>
547 * config/bfin-parse.y (check_macfuncs): Clarify error message when
548 P is mismatched. Check destination regno are off by one when P is
549 set, or are equal when P is not set.
551 2011-03-23 Mike Frysinger <vapier@gentoo.org>
553 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
554 the same as dest reg $4.
555 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
557 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
559 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
560 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
561 * doc/c-avr.texi: Document new device names.
563 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
565 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
566 (AVR_INSN): Change definition to match.
567 (avr_opcodes): Likewise, change to match.
568 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
569 (md_show_usage): Add XMEGA architecture names.
570 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
571 Add support for SPM Z+ instruction.
572 * doc/c-avr.texi: Add documentation for XMEGA architectures and
575 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
577 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
579 2011-03-18 Alan Modra <amodra@gmail.com>
581 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
582 on .size expression errors rather than symbols in the size expression.
584 2011-03-18 Alan Modra <amodra@gmail.com>
586 * input-scrub.c (line_numberT): Delete.
587 (input_scrub_close): Reset line counters.
588 * messages.c (as_show_where): Don't print invalid line number.
589 (as_warn_internal, as_bad_internal): Likewise.
591 2011-03-18 Alan Modra <amodra@gmail.com>
593 * read.c (read_a_source_file): Remove md_after_pass_hook.
594 Move "quit" label before set of dot_symbol.
595 * config/tc-d10v.h (md_after_pass_hook): Don't define.
596 * config/tc-d30v.h (md_after_pass_hook): Likewise.
597 * config/tc-m32r.h (md_after_pass_hook): Likewise.
598 (md_cleanup): Define to call m32r_fill_insn.
600 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
602 * config/tc-s390.c (md_parse_option): Add -march=all option which
603 switches to the highest available CPU.
605 2011-03-17 Alan Modra <amodra@gmail.com>
608 * expr.c (operand): Correct passing of "mode" to expr.
609 * read.c (do_org): Allow expr_section.
610 (get_known_segmented_expression): Don't assert anything about the
613 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
615 * as.c (show_usage): Add --size-check=.
616 (parse_args): Add and handle OPTION_SIZE_CHECK.
618 * as.h (flag_size_check): New.
620 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
621 bad .size directive only for --size-check=error.
623 * doc/as.texinfo: Document --size-check=.
625 2011-03-14 Mike Frysinger <vapier@gentoo.org>
627 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
628 bf542/bf544/bf547/bf548/bf549.
630 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
632 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
633 determine whether a relocation is needed.
634 (md_apply_fix, arm_apply_sym_value): Likewise.
636 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
638 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
641 2011-03-11 Nick Clifton <nickc@redhat.com>
643 * remap.c (remap_debug_filename): Always allocate a buffer for the
645 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
646 remap_debug_filename.
648 2011-03-10 Michael Snyder <msnyder@vmware.com>
650 Revert the following change:
651 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
652 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
654 2011-03-10 Alan Modra <amodra@gmail.com>
656 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
657 TARGET_SYMBOL_FIELDS): Don't define.
658 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
660 2011-03-09 Michael Snyder <msnyder@vmware.com>
662 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
663 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
664 (emit_fixed_inc_line_addr): Assign instead of conditional in
667 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
669 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
670 non-constant .size expression.
672 2011-03-02 Nick Clifton <nickc@redhat.com>
674 * ecoff.c: Incldue filenames.h
676 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
678 * depend.c (register_dependency): Use filename_(n)cmp.
679 * dwarf2dbg.c (get_filenum): Likewise.
680 * ecoff.c (add_file): Likewise.
681 (ecoff_generate_asm_lineno): Likewise.
682 * input-scrub.c (new_logical_line_flags): Likewise.
683 * listing.c (file_info): Likewise.
684 (listing_newline): Likewise.
685 * remap.c (remap_debug_filename): Likewise.
686 * stabs.c (generate_asm_file): Likewise.
687 (stabs_generate_asm_lineno): Likewise.
689 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
691 * config/tc-mips.c (append_insn): Disable branch relaxation for
694 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
696 * config/tc-mips.c (macro): Handle M_PREF_AB.
698 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
700 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
702 (RELAX_BRANCH_UNCOND): Adjust accordingly.
703 (RELAX_BRANCH_LIKELY): Likewise.
704 (RELAX_BRANCH_LINK): Likewise.
705 (RELAX_BRANCH_TOOFAR): Likewise.
706 (RELAX_BRANCH_AT): New macro.
707 (append_insn): Encode the temporary register to use in standard
708 MIPS branch relaxation.
709 (relaxed_branch_length): Update according to changes to
711 (md_convert_frag): Use the encoded register as the temporary.
713 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
715 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
716 reject PC-relative relocations.
718 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
720 * config/tc-mips.c (md_convert_frag): Correct message
723 2011-02-28 Alan Modra <amodra@gmail.com>
725 * symbols.c (report_op_error): Remove unnecessary forward declaration.
726 Add "op" parameter. Report operator and operand segments in error
727 message, not operand symbols.
728 (resolve_symbol_value): Always set segment for equated symbols, not
729 just when finalizing. Adjust report_op_error calls.
731 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
733 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
734 if 64bit relocations aren't allowed.
736 2011-02-25 Alan Modra <amodra@gmail.com>
739 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
741 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
743 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
744 initialization of offset_reloc.
746 2011-02-15 Richard Henderson <rth@redhat.com>
748 * dw2gencfi.c (dot_cfi_dummy): New.
749 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
750 * read.c (pobegin): Unconditionally call cfi_pop_insert.
752 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
754 * configure: Regenerate.
756 2011-02-13 Mike Frysinger <vapier@gentoo.org>
758 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
759 * config/bfin-parse.y (BYTEOP2M): Delete token.
760 (asm_1): Remove BYTEOP2M insn matching.
762 2011-02-12 Mike Frysinger <vapier@gentoo.org>
764 * config/bfin-defs.h: Include opcode/bfin.h.
765 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
767 2011-02-11 Mike Frysinger <vapier@gentoo.org>
769 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
770 (Modify Registers): Fix subtracted typo.
771 (.byte2): Extend and swap descriptions with .byte4.
772 (.byte4): Extend and swap descriptions with .byte2.
773 (.db, .dw, .dd): Document behavior.
775 2011-02-11 Mike Frysinger <vapier@gentoo.org>
777 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
779 2011-02-11 Alan Modra <amodra@gmail.com>
781 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
783 2011-02-10 Alan Modra <amodra@gmail.com>
785 * doc/as.texinfo (Overview): Add missing markup around Blackfin
788 2011-02-10 Alan Modra <amodra@gmail.com>
790 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
791 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
792 (Overview <Target PowerPC options>): Add a number of missing options.
793 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
795 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
798 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
801 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
803 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
805 (md_parse_option): Likewise.
807 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
809 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
810 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
811 (TIC6X Options): Don't mention "-matomic".
812 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
813 (md_longopts): Remove corresponding entries.
814 (md_parse_option): Don't handle them.
815 (md_show_usage): Don't document them.
816 (tic6x_atomic): Delete variable.
817 (tic6x_update_features): Always copy tic6x_arch_enable to
819 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
820 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
821 (md_pseudo_table): Remove ".atomic" and ".noatomic".
823 2011-01-31 Nick Clifton <nickc@redhat.com>
825 * write.c (write_contents): Include output file name and bfd error
826 value when reporting the inability to write to the output file.
827 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
828 frag that has a non-zero fill value.
830 2011-01-27 DJ Delorie <dj@redhat.com>
832 * config/tc-rx.c (md_convert_frag): If we can't compute the target
833 address, zero out the values stored in the object file to make
834 objdump's output consistent.
836 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
838 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
839 x86_dwarf2_return_column to 32.
841 2011-01-20 Nick Clifton <nickc@redhat.com>
844 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
847 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
849 * write.c (compress_debug): Return if section size is smaller
852 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
855 * write.c (compress_debug): Return if section size is 0.
857 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
859 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
860 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
861 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
864 2011-01-18 Nick Clifton <nickc@redhat.com>
867 * doc/all.texi: Add NS32K
868 * doc/as.texinfo: Remove target specific details of which
869 characters act as comment initiators and statement separators into
870 individual target specific files.
871 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
872 the hash character at the start of a line.
873 * doc/c-arm.texi (ARM-Chars): Likewise.
874 * doc/c-avr.texi (AVR-Chars): Likewise.
875 * doc/c-d10v.texi (D10V-Chars): Likewise.
876 * doc/c-d30v.texi (D30V-Chars): Likewise.
877 * doc/c-mmix.texi (MMIX-Chars): Likewise.
878 * doc/c-s390.texi (s390 characters): Likewise.
879 * doc/c-sh.texi (SH-Chars): Likewise.
880 * doc/c-sh64.texi (SH64-Chars): Likewise.
881 * doc/c-sparc.texi (SPARC-Chars): Likewise.
882 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
883 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
884 * doc/c-z80.texi (Z80-Chars): Likewise.
885 * doc/c-z8k.texi (Z8000-Chars): Likewise.
886 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
887 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
888 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
889 line separator characters.
890 * doc/c-cr16.texi (CR16 Syntax): Likewise.
891 * doc/c-i386.texi (i386-Chars): Likewise.
892 * doc/c-i860.texi (i860-Chars): Likewise.
893 * doc/c-i960.texi (i960-Chars): Likewise.
894 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
895 * doc/c-lm32.texi (LM32-Chars): likewise.
896 * doc/c-m32c.texi (M32C-Chars): Likewise.
897 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
898 * doc/c-m68k.texi (M68K-Chars): Likewise.
899 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
900 * doc/c-msp430.texi (MSP430-Chars): Likewise.
901 * doc/c-mt.texi (MT-Chars): Likewise.
902 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
903 * doc/c-pj.texi (PJ-Chars): Likewise.
904 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
905 * doc/c-rx.texi (RX-Chars): Likewise.
906 * doc/c-score.texi (SCORE-Chars): Likewise.
907 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
908 * doc/c-v850.texi (V850-Chars): Likewise.
909 * doc/c-vax.texi (VAX-Chars): Likewise.
910 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
912 2011-01-17 Quentin Neill <quentin.neill@amd.com>
914 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
916 * doc/c-i386.texi (i386-TBM): New section.
918 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
920 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
921 (disallow_64bit_reloc): This.
922 (md_assemble): Don't check movabs for x32 mode here.
923 (i386_target_format): Updated.
924 (tc_gen_reloc): Check if 64bit relocations are allowed.
926 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
928 * config/tc-i386.c (disallow_64bit_disp): New.
929 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
930 X86_64_ABI/X86_64_X32_ABI.
931 (md_assemble): Don't allow movabs with relocation in x32 mode.
932 (i386_target_format): Updated.
934 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
936 * config/tc-i386.c (OPTION_N32): Renamed to ...
938 (md_longopts): Replace n32 with x32.
939 (md_parse_option): Updated.
940 (md_show_usage): Likewise.
942 * doc/c-i386.texi: Replace --n32 with --x32.
944 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
946 * config/tc-mips.c (mips_ip): Update error messages. Take an
947 unadjusted offset for "+c" argument.
949 2011-01-10 Nick Clifton <nickc@redhat.com>
951 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
954 2011-01-10 Nick Clifton <nickc@redhat.com>
956 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
959 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
960 Glauber de Oliveira Costa <glommer@gmail.com>
962 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
963 .tlsdescseq directive.
964 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
966 (s_arm_tls_descseq): New directive.
967 (md_pseudo_table): Add it.
968 (encode_branch): Allow TLS_CALL relocs too.
969 (do_t_blx, do_t_branch23): Use encode_branch.
970 (reloc_names): Add tlsdesc and tlscall.
971 (md_apply_fix): Process tls desc relocations.
972 (tc_gen_reloc): Likewise.
973 (arm_fix_adjustable): Likewise.
975 2011-01-07 Quentin Neill <quentin.neill@amd.com>
977 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
979 * doc/c-i386.texi (i386-BMI): New section.
981 2011-01-06 Paul Koning <ni1d@arrl.net>
983 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
984 references to absolute addresses.
986 2011-01-05 DJ Delorie <dj@redhat.com>
988 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
989 instead of an RH_NEG32 one.
991 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
993 * doc/c-i386.texi: Clarify --n32.
995 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
997 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
998 integer registers in VEX.vvvv. Check register-only source
999 operand when two source operands are swapped. Properly update
1000 destination when two source operands are swapped.
1002 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1004 * gas.c (parse_args): Update copyright to 2011.
1006 For older changes see ChangeLog-2010
1012 version-control: never