1 2011-05-31 Paul Brook <paul@codesourcery.com>
3 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
6 2011-05-31 Paul Brook <paul@codesourcery.com>
7 Nathan Sidwell <nathan@codesourcery.com>
9 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
10 pc-relative fixes to constants.
11 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
13 2011-05-27 Nick Clifton <nickc@redhat.com>
15 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
17 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19 * config/tc-s390.c (md_gather_operands): Fix check for floating
20 register pair operands.
22 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24 * config/tc-s390.c (md_gather_operands): Emit an error for odd
25 numbered registers used as register pair operand.
27 2011-05-23 Nick Clifton <nickc@redhat.com>
29 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
31 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
33 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
34 (tic6x_parse_name): Handle it.
35 (tic6x_fix_new_exp): Handle O_pcr_offset.
36 (tic6x_fix_adjustable): Return 0 for the new relocs.
37 (md_apply_fix): Handle them.
38 (tc_gen_reloc): Likewise.
39 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
41 2011-05-18 Nick Clifton <nickc@redhat.com>
44 * config/tc-tic30.c (ordinal_names): Allow translation of the
47 2011-05-18 Nick Clifton <nickc@redhat.com>
49 * config/tc-arm.c (s_unreq): Reword warning message to make it
51 * config/tc-ia64.c (md_show_usage): Add note for translators.
52 * configure.in (ALL_LINGUAS): Add "fi".
53 * configure: Regenerate.
55 2011-05-18 Tristan Gingold <gingold@adacore.com>
57 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
58 Put size into an union with dw.
59 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
60 (ppc_xcoff_end): Declare.
62 * config/tc-ppc.c: Add includes for xcoff.
63 (ppc_dwsect): New function.
64 (md_pseudo_table): Add dwsect.
65 (struct dw_subsection): New.
67 (ppc_change_debug_section): New function.
68 (ppc_xcoff_end): Ditto.
69 (ppc_function): Adjust for ppc_tc_sy.
70 (ppc_symbol_new_hook): Ditto.
71 (ppc_frob_symbol): Ditto.
72 (ppc_frob_section): Do not set vma for debug sections.
73 (ppc_fix_adjustable): Return true for debug sections.
74 * config/obj-coff.c: Add includes for xcoff.
75 (coff_frob_section): Handle dwarf section.
77 2011-05-17 Nick Clifton <nickc@redhat.com>
79 * po/fi.po: New Finnish translation.
80 * po/fr.po: Updated French translation.
82 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
83 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
84 * cond.c (s_else): Fix typos in error messages.
85 * config/tc-pj.c (md_assemble): Fix typo in error message.
87 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
89 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
91 (md_show_usage): Only mention --pic if the assembler can generate
93 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
94 prerequisite for --pic being a valid option.
96 2011-05-13 Frederic Marchal <fmarchal@perso.be>
99 * config/tc-v850.c (parse_register_list): Correct error string.
101 2011-05-12 Quentin Neill <quentin.neill@amd.com>
103 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
104 (i386_align_code): Ditto
106 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
109 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
110 immediates on 32-bit hosts.
112 2011-05-10 Quentin Neill <quentin.neill@amd.com>
114 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
115 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
116 (i386_align_code): Rename PROCESSOR_BDVER1.
117 (processor_type): Ditto.
118 * doc/c-i386.texi: Add bdver2.
120 2011-05-10 Alan Modra <amodra@gmail.com>
122 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
124 2011-05-09 Paul Brook <paul@codesourcery.com>
126 * config/tc-tic6x.c (streq): Define.
127 (tic6x_get_unwind): New.
128 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
129 s_tic6x_personalityindex, s_tic6x_personality): New functions.
130 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
131 "personality" and "cantunwind".
132 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
133 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
134 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
135 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
136 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
137 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
138 tic6x_cfi_endproc): New.
139 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
140 (tic6x_unwind_info): New.
141 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
143 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
144 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
145 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
146 tc_cfi_section_name): Define.
147 * doc/c-tic6x.texi: Document new unwinding directives.
148 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
150 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
151 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
153 (CFI_EMIT_target): Define.
154 (dot_cfi_sections): Check tc_cfi_section_name.
155 (dot_cfi_startproc): Use tc_cfi_startproc.
156 (dot_cfi_endproc): Use tc_cfi_endproc.
157 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
158 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
159 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
161 2011-05-07 Alan Modra <amodra@gmail.com>
163 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
164 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
165 (struct fde_entry): Rename cseg to cur_seg.
166 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
167 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
168 that #if SUPPORT_FRAME_LINKONCE.
169 (cfi_finish): Likewise.
171 2011-05-06 Tristan Gingold <gingold@adacore.com>
173 * read.c (s_comm_internal): Remove code for OBJ_VMS.
176 * write.c (write_object_file): Ditto.
177 * symbols.c (define_sym_at_dot): Ditto.
180 2011-05-05 Alan Modra <amodra@gmail.com>
182 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
183 file to conditionally compile code added 2011-04-26.
184 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
185 when SUPPORT_FRAME_LINKONCE.
186 (get_cfi_seg): Likewise. Reintroduce old code for when not
187 SUPPORT_FRAME_LINKONCE.
188 (cfi_finish): Move get_cfi_seg calls out of loop when not
189 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
191 2011-05-03 Paul Brook <paul@codesourcery.com>
193 * config/tc-tic6x.c (s_ehtype): New function.
194 (md_pseudo_table): Add "ehtype".
195 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
196 * doc/c-tic6x.texi: Document .ehtype directive.
198 2011-04-26 Kai Tietz <ktietz@redhat.com>
200 * dw2gencfi.c (dwcfi_seg_list): New struct.
201 (dwcfi_hash): New static hash variable.
202 (get_debugseg_name): New.
203 (alloc_debugseg_item): New.
204 (make_debug_seg): New.
205 (dwcfi_hash_insert): New.
206 (dwcfi_hash_find): New.
207 (dwcfi_hash_find_or_make): New.
208 (cfi_insn_data): New member cur_seg.
209 (cie_entry): Likewise.
210 (fde_entry): New cseg and handled members.
211 (alloc_fde_entry): Initialize cseg member.
212 (alloc_cfi_insn_data): Initialize cur_seg member.
213 (dot_cfi_sections): Compare for beginning of
214 section names via strncmp.
216 (cfi_finish): Treat link-once sections.
217 (is_now_linkonce_segment): New local helper.
218 (output_cie): Ignore cie entries not member of current
220 (output_fde): Likewise.
221 (select_cie_for_fde): Likewise.
222 (cfi_change_reg_numbers): Add new argument for current segment
223 and ignore insn elements, if not part of current segment.
224 * ehopt.c (get_cie_info): Use strncmp for
225 section name matching.
226 (heck_eh_frame): Likewise.
228 2011-04-20 Catherine Moore <clm@codesourcery.com>
229 David Ung <davidu@mips.com>
231 * config/mips.c (mips_cl_insn): Add new field complete_p.
232 (create_insn): Initialize complete_p to zero.
234 (fix_24k_align_to): New.
235 (fix_24k_store_info): Declare.
237 (fix_24k_record_store_info): New.
239 (nops_for_insn): Call nops_for_24k.
240 (append_insn): Move O_constant expression handling.
242 2011-04-20 Alan Modra <amodra@gmail.com>
244 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
245 (hash_new_sized): New function, split out from..
248 2011-04-19 Nick Clifton <nickc@redhat.com>
250 * config/tc-arm.c (v7m_psrs): Revert previous delta.
252 2011-04-18 Julian Brown <julian@codesourcery.com>
253 Nick Clifton <nickc@redhat.com>
255 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
256 detect M-profile targets.
257 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
258 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
260 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
262 * config/tc-s390.c (s390_machine): New prototype.
263 (md_pseudo_table): New pseudo-op .machine.
264 (s390_opcode_hash): Initialize to NULL.
265 (s390_parse_cpu): New function.
266 (md_parse_option): Use s390_parse_cpu.
267 (s390_setup_opcodes): New function.
268 (md_begin): Use s390_setup_opcodes.
269 (s390_machine): New hook handling the new .machine pseudo.
271 * doc/c-s390.texi: Document the new pseudo op .machine.
273 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
275 * config/tc-i386.c (i386_mach): Start error message with lower
277 (md_begin): Likewise.
278 (md_parse_option): Likewise.
279 (i386_target_format): Likewise.
280 (check_byte_reg): Likewise.
281 (check_long_reg): Likewise.
282 (check_qword_reg): Likewise.
283 (check_word_reg): Likewise.
285 2011-04-12 Nick Clifton <nickc@redhat.com>
288 * config/tc-arm.c (relax_branch): Do not relax branches to
289 preemptable global symbols.
291 2011-04-11 Julian Brown <julian@codesourcery.com>
293 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
295 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
297 (parse_operands): Likewise.
298 (do_mrs): Tweak error message for constraint.
299 (do_t_mrs): Update constraints for changes to APSR support.
300 (do_t_msr): Likewise. Don't set PSR_f flag here.
301 (psrs): Remove "g", "nzcvq", "nzcvqg".
302 (insns): Tweak entries for msr and mrs instructions.
304 2011-04-11 Kai Tietz <ktietz@redhat.com>
306 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
308 2011-04-11 Nick Clifton <nickc@redhat.com>
310 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
311 * config/tc-i386.h (x86_cons): Always prototype.
313 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
314 in order to avoid a compile time warning.
315 (getprocreg_image): Likewise.
317 2011-04-11 Alan Modra <amodra@gmail.com>
319 * config/tc-cr16.c (getprocreg_image): Correct range check.
320 (getprocregp_image): Likewise.
322 2011-04-06 Joseph Myers <joseph@codesourcery.com>
324 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
325 xscale*be|xscale*b, xscale*): Remove architectures.
326 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
327 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
329 2011-04-01 Tristan Gingold <gingold@adacore.com>
331 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
333 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
335 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
337 (md_begin): Initialize them.
338 (s_tic6x_scomm): New static function.
339 (md_pseudo_table): Add "scomm".
340 (tc_gen_reloc): Really undo all adjustments made by
341 bfd_install_relocation.
342 * doc/c-tic6x.texi: Document the .scomm directive.
344 2011-03-31 Tristan Gingold <gingold@adacore.com>
346 * dwarf2dbg.c (DWARF2_VERSION): Define.
347 (out_debug_line): Use it.
348 (out_debug_aranges): Ditto.
349 (out_debug_info): Ditto.
350 * config/tc-ia64.h (DWARF2_VERSION): Override it.
352 2011-03-30 Michael Snyder <msnyder@vmware.com>
354 * obj-elf.c (obj_elf_section): Free malloced name.
355 * macro.c (get_any_string): Free malloced br_buf.
356 (do_formals): Free 'formal'.
358 2011-03-30 Tristan Gingold <gingold@adacore.com>
360 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
361 to offset only if within is set.
362 (ppc_stabx): Reformat. For stsym stabs, add a check and set
363 within only for symbols.
365 2011-03-29 Richard Henderson <rth@redhat.com>
368 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
369 label; zap alpha_insn_label.
371 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
373 * config/tc-i386.c (handle_quad): Properly handle multiple
376 2011-03-29 Mike Frysinger <vapier@gentoo.org>
378 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
379 reg $2 is the same as dest reg $4.
381 2011-03-29 Mike Frysinger <vapier@gentoo.org>
383 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
384 reg $2 is the same as dest reg $4.
386 2011-03-29 Mike Frysinger <vapier@gentoo.org>
388 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
389 reg $2 is the same as dest reg $4.
391 2011-03-28 Mike Frysinger <vapier@gentoo.org>
393 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
394 reg $1 is the same as dest reg $7.
396 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
398 * config/tc-i386.c (handle_quad): New.
399 (md_pseudo_table): Add "quad".
401 2011-03-26 John Marino <binutils@marino.st>
403 * configure.tgt: Fix support for *-*-dragonfly*.
404 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
405 * config/te-dragonfly.h: New file.
407 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
409 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
410 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
412 * doc/c-avr.texi: Document new device names.
414 2011-03-24 Mike Frysinger <vapier@gentoo.org>
416 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
417 reg $1 is the same as dest reg $7.
418 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
421 2011-03-24 Mike Frysinger <vapier@gentoo.org>
423 * config/bfin-parse.y (check_macfuncs): Clarify error message when
424 P is mismatched. Check destination regno are off by one when P is
425 set, or are equal when P is not set.
427 2011-03-23 Mike Frysinger <vapier@gentoo.org>
429 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
430 the same as dest reg $4.
431 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
433 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
435 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
436 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
437 * doc/c-avr.texi: Document new device names.
439 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
441 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
442 (AVR_INSN): Change definition to match.
443 (avr_opcodes): Likewise, change to match.
444 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
445 (md_show_usage): Add XMEGA architecture names.
446 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
447 Add support for SPM Z+ instruction.
448 * doc/c-avr.texi: Add documentation for XMEGA architectures and
451 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
453 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
455 2011-03-18 Alan Modra <amodra@gmail.com>
457 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
458 on .size expression errors rather than symbols in the size expression.
460 2011-03-18 Alan Modra <amodra@gmail.com>
462 * input-scrub.c (line_numberT): Delete.
463 (input_scrub_close): Reset line counters.
464 * messages.c (as_show_where): Don't print invalid line number.
465 (as_warn_internal, as_bad_internal): Likewise.
467 2011-03-18 Alan Modra <amodra@gmail.com>
469 * read.c (read_a_source_file): Remove md_after_pass_hook.
470 Move "quit" label before set of dot_symbol.
471 * config/tc-d10v.h (md_after_pass_hook): Don't define.
472 * config/tc-d30v.h (md_after_pass_hook): Likewise.
473 * config/tc-m32r.h (md_after_pass_hook): Likewise.
474 (md_cleanup): Define to call m32r_fill_insn.
476 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
478 * config/tc-s390.c (md_parse_option): Add -march=all option which
479 switches to the highest available CPU.
481 2011-03-17 Alan Modra <amodra@gmail.com>
484 * expr.c (operand): Correct passing of "mode" to expr.
485 * read.c (do_org): Allow expr_section.
486 (get_known_segmented_expression): Don't assert anything about the
489 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
491 * as.c (show_usage): Add --size-check=.
492 (parse_args): Add and handle OPTION_SIZE_CHECK.
494 * as.h (flag_size_check): New.
496 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
497 bad .size directive only for --size-check=error.
499 * doc/as.texinfo: Document --size-check=.
501 2011-03-14 Mike Frysinger <vapier@gentoo.org>
503 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
504 bf542/bf544/bf547/bf548/bf549.
506 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
508 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
509 determine whether a relocation is needed.
510 (md_apply_fix, arm_apply_sym_value): Likewise.
512 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
514 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
517 2011-03-11 Nick Clifton <nickc@redhat.com>
519 * remap.c (remap_debug_filename): Always allocate a buffer for the
521 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
522 remap_debug_filename.
524 2011-03-10 Michael Snyder <msnyder@vmware.com>
526 Revert the following change:
527 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
528 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
530 2011-03-10 Alan Modra <amodra@gmail.com>
532 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
533 TARGET_SYMBOL_FIELDS): Don't define.
534 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
536 2011-03-09 Michael Snyder <msnyder@vmware.com>
538 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
539 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
540 (emit_fixed_inc_line_addr): Assign instead of conditional in
543 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
545 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
546 non-constant .size expression.
548 2011-03-02 Nick Clifton <nickc@redhat.com>
550 * ecoff.c: Incldue filenames.h
552 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
554 * depend.c (register_dependency): Use filename_(n)cmp.
555 * dwarf2dbg.c (get_filenum): Likewise.
556 * ecoff.c (add_file): Likewise.
557 (ecoff_generate_asm_lineno): Likewise.
558 * input-scrub.c (new_logical_line_flags): Likewise.
559 * listing.c (file_info): Likewise.
560 (listing_newline): Likewise.
561 * remap.c (remap_debug_filename): Likewise.
562 * stabs.c (generate_asm_file): Likewise.
563 (stabs_generate_asm_lineno): Likewise.
565 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
567 * config/tc-mips.c (append_insn): Disable branch relaxation for
570 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
572 * config/tc-mips.c (macro): Handle M_PREF_AB.
574 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
576 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
578 (RELAX_BRANCH_UNCOND): Adjust accordingly.
579 (RELAX_BRANCH_LIKELY): Likewise.
580 (RELAX_BRANCH_LINK): Likewise.
581 (RELAX_BRANCH_TOOFAR): Likewise.
582 (RELAX_BRANCH_AT): New macro.
583 (append_insn): Encode the temporary register to use in standard
584 MIPS branch relaxation.
585 (relaxed_branch_length): Update according to changes to
587 (md_convert_frag): Use the encoded register as the temporary.
589 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
591 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
592 reject PC-relative relocations.
594 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
596 * config/tc-mips.c (md_convert_frag): Correct message
599 2011-02-28 Alan Modra <amodra@gmail.com>
601 * symbols.c (report_op_error): Remove unnecessary forward declaration.
602 Add "op" parameter. Report operator and operand segments in error
603 message, not operand symbols.
604 (resolve_symbol_value): Always set segment for equated symbols, not
605 just when finalizing. Adjust report_op_error calls.
607 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
609 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
610 if 64bit relocations aren't allowed.
612 2011-02-25 Alan Modra <amodra@gmail.com>
615 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
617 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
619 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
620 initialization of offset_reloc.
622 2011-02-15 Richard Henderson <rth@redhat.com>
624 * dw2gencfi.c (dot_cfi_dummy): New.
625 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
626 * read.c (pobegin): Unconditionally call cfi_pop_insert.
628 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
630 * configure: Regenerate.
632 2011-02-13 Mike Frysinger <vapier@gentoo.org>
634 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
635 * config/bfin-parse.y (BYTEOP2M): Delete token.
636 (asm_1): Remove BYTEOP2M insn matching.
638 2011-02-12 Mike Frysinger <vapier@gentoo.org>
640 * config/bfin-defs.h: Include opcode/bfin.h.
641 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
643 2011-02-11 Mike Frysinger <vapier@gentoo.org>
645 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
646 (Modify Registers): Fix subtracted typo.
647 (.byte2): Extend and swap descriptions with .byte4.
648 (.byte4): Extend and swap descriptions with .byte2.
649 (.db, .dw, .dd): Document behavior.
651 2011-02-11 Mike Frysinger <vapier@gentoo.org>
653 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
655 2011-02-11 Alan Modra <amodra@gmail.com>
657 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
659 2011-02-10 Alan Modra <amodra@gmail.com>
661 * doc/as.texinfo (Overview): Add missing markup around Blackfin
664 2011-02-10 Alan Modra <amodra@gmail.com>
666 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
667 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
668 (Overview <Target PowerPC options>): Add a number of missing options.
669 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
671 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
674 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
677 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
679 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
681 (md_parse_option): Likewise.
683 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
685 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
686 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
687 (TIC6X Options): Don't mention "-matomic".
688 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
689 (md_longopts): Remove corresponding entries.
690 (md_parse_option): Don't handle them.
691 (md_show_usage): Don't document them.
692 (tic6x_atomic): Delete variable.
693 (tic6x_update_features): Always copy tic6x_arch_enable to
695 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
696 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
697 (md_pseudo_table): Remove ".atomic" and ".noatomic".
699 2011-01-31 Nick Clifton <nickc@redhat.com>
701 * write.c (write_contents): Include output file name and bfd error
702 value when reporting the inability to write to the output file.
703 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
704 frag that has a non-zero fill value.
706 2011-01-27 DJ Delorie <dj@redhat.com>
708 * config/tc-rx.c (md_convert_frag): If we can't compute the target
709 address, zero out the values stored in the object file to make
710 objdump's output consistent.
712 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
714 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
715 x86_dwarf2_return_column to 32.
717 2011-01-20 Nick Clifton <nickc@redhat.com>
720 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
723 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
725 * write.c (compress_debug): Return if section size is smaller
728 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
731 * write.c (compress_debug): Return if section size is 0.
733 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
735 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
736 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
737 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
740 2011-01-18 Nick Clifton <nickc@redhat.com>
743 * doc/all.texi: Add NS32K
744 * doc/as.texinfo: Remove target specific details of which
745 characters act as comment initiators and statement separators into
746 individual target specific files.
747 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
748 the hash character at the start of a line.
749 * doc/c-arm.texi (ARM-Chars): Likewise.
750 * doc/c-avr.texi (AVR-Chars): Likewise.
751 * doc/c-d10v.texi (D10V-Chars): Likewise.
752 * doc/c-d30v.texi (D30V-Chars): Likewise.
753 * doc/c-mmix.texi (MMIX-Chars): Likewise.
754 * doc/c-s390.texi (s390 characters): Likewise.
755 * doc/c-sh.texi (SH-Chars): Likewise.
756 * doc/c-sh64.texi (SH64-Chars): Likewise.
757 * doc/c-sparc.texi (SPARC-Chars): Likewise.
758 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
759 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
760 * doc/c-z80.texi (Z80-Chars): Likewise.
761 * doc/c-z8k.texi (Z8000-Chars): Likewise.
762 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
763 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
764 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
765 line separator characters.
766 * doc/c-cr16.texi (CR16 Syntax): Likewise.
767 * doc/c-i386.texi (i386-Chars): Likewise.
768 * doc/c-i860.texi (i860-Chars): Likewise.
769 * doc/c-i960.texi (i960-Chars): Likewise.
770 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
771 * doc/c-lm32.texi (LM32-Chars): likewise.
772 * doc/c-m32c.texi (M32C-Chars): Likewise.
773 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
774 * doc/c-m68k.texi (M68K-Chars): Likewise.
775 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
776 * doc/c-msp430.texi (MSP430-Chars): Likewise.
777 * doc/c-mt.texi (MT-Chars): Likewise.
778 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
779 * doc/c-pj.texi (PJ-Chars): Likewise.
780 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
781 * doc/c-rx.texi (RX-Chars): Likewise.
782 * doc/c-score.texi (SCORE-Chars): Likewise.
783 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
784 * doc/c-v850.texi (V850-Chars): Likewise.
785 * doc/c-vax.texi (VAX-Chars): Likewise.
786 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
788 2011-01-17 Quentin Neill <quentin.neill@amd.com>
790 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
792 * doc/c-i386.texi (i386-TBM): New section.
794 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
796 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
797 (disallow_64bit_reloc): This.
798 (md_assemble): Don't check movabs for x32 mode here.
799 (i386_target_format): Updated.
800 (tc_gen_reloc): Check if 64bit relocations are allowed.
802 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
804 * config/tc-i386.c (disallow_64bit_disp): New.
805 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
806 X86_64_ABI/X86_64_X32_ABI.
807 (md_assemble): Don't allow movabs with relocation in x32 mode.
808 (i386_target_format): Updated.
810 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
812 * config/tc-i386.c (OPTION_N32): Renamed to ...
814 (md_longopts): Replace n32 with x32.
815 (md_parse_option): Updated.
816 (md_show_usage): Likewise.
818 * doc/c-i386.texi: Replace --n32 with --x32.
820 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
822 * config/tc-mips.c (mips_ip): Update error messages. Take an
823 unadjusted offset for "+c" argument.
825 2011-01-10 Nick Clifton <nickc@redhat.com>
827 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
830 2011-01-10 Nick Clifton <nickc@redhat.com>
832 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
835 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
836 Glauber de Oliveira Costa <glommer@gmail.com>
838 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
839 .tlsdescseq directive.
840 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
842 (s_arm_tls_descseq): New directive.
843 (md_pseudo_table): Add it.
844 (encode_branch): Allow TLS_CALL relocs too.
845 (do_t_blx, do_t_branch23): Use encode_branch.
846 (reloc_names): Add tlsdesc and tlscall.
847 (md_apply_fix): Process tls desc relocations.
848 (tc_gen_reloc): Likewise.
849 (arm_fix_adjustable): Likewise.
851 2011-01-07 Quentin Neill <quentin.neill@amd.com>
853 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
855 * doc/c-i386.texi (i386-BMI): New section.
857 2011-01-06 Paul Koning <ni1d@arrl.net>
859 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
860 references to absolute addresses.
862 2011-01-05 DJ Delorie <dj@redhat.com>
864 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
865 instead of an RH_NEG32 one.
867 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
869 * doc/c-i386.texi: Clarify --n32.
871 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
873 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
874 integer registers in VEX.vvvv. Check register-only source
875 operand when two source operands are swapped. Properly update
876 destination when two source operands are swapped.
878 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
880 * gas.c (parse_args): Update copyright to 2011.
882 For older changes see ChangeLog-2010
888 version-control: never