aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-09-17 * config/tc-msp430.c (MAX_OP_LEN): Set to 256.Alan Modra2-16/+20
(msp430_operands): Remove redundant l2[16] within switch-case.
2003-09-16 * configure.in: Handle arm-*-rtems* and thumb-*rtems*.Alan Modra3-3/+8
* configure: Regenerate.
2003-09-14 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.Thiemo Seufer2-30/+49
(macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change the function prototype. (load_register): Likewise. Simplify the checks for sign-extended constants. (macro): Likewise. Fix code generation for 64-bit address constants outside the 32-bit compatibility space. Adjust macro_build_ldst_constoffset calls. (s_cprestore): Adjust macro_build_ldst_constoffset call.
2003-09-12 * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,Bob Wilson3-243/+223
literal_syms): New global variables. (xtensa_define_label, add_target_symbol, xtensa_find_label, map_over_defined_symbols, is_loop_target_label, xtensa_mark_target_fragments, xtensa_move_frag_symbol, xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete. (xtensa_begin_directive): Call md_flush_pending_output. Move symbols from insn_labels to saved_insn_labels when entering a literal region. (xtensa_end_directive): Call md_flush_pending_output. Restore insn_labels list when leaving a literal region. (xtensa_literal_position): Call xtensa_clear_insn_labels. (xtensa_literal_pseudo): Add check to disallow .literal inside a literal region. Move insn_labels to saved_insn_labels and then restore insn_labels on exit. (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with code to set is_loop_target or is_branch_target flag on the symbol (xtensa_create_literal_symbol): Call xtensa_add_literal_sym. (xtensa_add_literal_sym, xtensa_add_insn_label, xtensa_clear_insn_labels): New functions. (xtensa_move_labels): Remove old_frag and old_offset arguments. Add loops_ok argument. Rewrite to use insn_labels list instead of calling xtensa_find_label and to check the is_loop_target flag on symbols when loops_ok is false. (xtensa_frob_label): Remove call to xtensa_define_label. Add call to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust call to xtensa_move_labels. Propagate is_branch_target and is_loop_target flags from symbols to frags. (xtensa_flush_pending_output): Call xtensa_clear_insn_labels. (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when aligning a loop instruction. Adjust call to xtensa_move_labels for aligning entry instructions. Add call to xtensa_clear_insn_labels. (xtensa_end): Remove call to xtensa_mark_target_fragments. (xtensa_move_literals): Replace xtensa_move_frag_symbols call with code to use new literal_syms list. * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and is_branch_target flags.
2003-09-10 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): RemoveBob Wilson2-50/+45
"move_labels" argument and corresponding call to xtensa_move_labels. (md_assemble): Add a separate call to xtensa_move_labels and remove argument for call to xtensa_mark_literal_pool_location. (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix calls to xtensa_mark_literal_pool_location. (xtensa_create_local_symbol): Delete and inline the code into... (xtensa_create_literal_symbol): ...here. (xtensa_frob_label): Combine conditionals. (expression_maybe_register, xtensa_symbol_new_hook, fix_new_exp_in_seg): Use symbol_get_tc.
2003-09-09 * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code forBob Wilson2-196/+9
combining identical literals. (expression_maybe_register): Remove call to find_lit_sym_translation. (is_duplicate_expression, cache_literal, is_duplicate_literal, add_lit_sym_translation, find_lit_sym_translation): Delete.
2003-09-07Fix description of comment character for PPC.Nick Clifton2-1/+5
2003-09-06 PR savannah/4358:Stephane Carrez2-1/+7
* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid overflow complain.
2003-09-05gas/Richard Sandiford6-9/+49
* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION. gas/testsuite/ * gas/frv/reloc1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2003-09-04Add binutils support for v850e1 processorNick Clifton8-3/+133
2003-09-04 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existingAlan Modra2-8/+19
ppc_cpu selection rather than replacing. (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu. (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
2003-09-03Add *kfreebsd-gnu configuration supportNick Clifton5-15/+31
2003-09-03Use bfd_map_over_sections to walk section chain.Nick Clifton64-89/+88
Do not dump the contents of an empty section.
2003-09-02 * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILESDaniel Jacobowitz6-4058/+9706
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT. Specify AC_CONFIG_AUX_DIR. * aclocal.m4: Regenerated with aclocal-1.7. * configure: Regenerated with autoconf 2.57. * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
2003-09-01* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns forMaciej W. Rozycki5-192/+200
little-endian. * gas/mips/elf-rel-got-n64.d: Likewise. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-08-29s/.cfi_gnu_window_save/.cfi_window_save/gJakub Jelinek5-6/+6
2003-08-29 * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.Jakub Jelinek11-4/+251
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save. (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK nor tc_cfi_emit_pcrel_expr are defined. (output_fde): Use tc_cfi_emit_pcrel_expr if available and DIFF_EXPR_OK is not defined. * config/tc-sparc.h (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, tc_cfi_emit_pcrel_expr): Define. (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum, sparc_cfi_emit_pcrel_expr): New prototypes. (sparc_cie_data_alignment): New decl. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. * config/tc-sparc.c: Include dw2gencfi.h. (sparc_cie_data_alignment): New variable. (md_begin): Initialize it. (sparc_cfi_frame_initial_instructions): New function. (sparc_regname_to_dw2regnum): Likewise. (sparc_cfi_emit_pcrel_expr): Likewise. * doc/as.texinfo: Document .cfi_gnu_window_save. * config/tc-sparc.c (s_common): Cast last argument to long and change format string to shut up warning. testsuite/ * gas/cfi/cfi-sparc-1.s: New test. * gas/cfi/cfi-sparc-1.d: New test. * gas/cfi/cfi-sparc64-1.s: New test. * gas/cfi/cfi-sparc64-1.d: New test. * gas/cfi/cfi.exp: Run them.
2003-08-262003-08-25 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-2/+6
* doc/c-i860.texi: Update text about relocatable address expansions.
2003-08-252003-08-24 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-2/+8
* config/tc-i860.c (md_assemble): Use isrc2 from the original instruction when expanding E_ADDR.
2003-08-21Updated translationsNick Clifton2-156/+132
2003-08-19 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL andAlan Modra2-1/+6
PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
2003-08-19Add support for unindexed form of Addressing Mode 5Nick Clifton6-9/+150
2003-08-19 * config/tc-ppc.c (md_parse_option): Handle -m440.Alan Modra3-1/+15
(md_apply_fix3): Warning fix. (md_show_usage): Add -m440. * doc/c-ppc.texi: Document -m440.
2003-08-17include/opcode/ChangeLog:Jason Eckhardt5-3/+32
2003-08-16 Jason Eckhardt <jle@rice.edu> * i860.h (fmov.ds): Expand as famov.ds. (fmov.sd): Expand as famov.sd. (pfmov.ds): Expand as pfamov.ds. gas/testsuite/ChangeLog: 2003-08-16 Jason Eckhardt <jle@rice.edu> * gas/i860/pseudo-ops01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above. * gas/i860/README.i860: Mention that pseudo-ops need more testing and remove the align fill defect from the list.
2003-08-16 * read.c (s_print): Check for NULL.Alan Modra2-53/+58
2003-08-16 * write.c (fixup_segment): When handling an expression involvingAlan Modra2-9/+9
the subtraction of two symbols in the same segment, don't clear fx_pcrel except for TC_M68K.
2003-08-14Update regexp for destination address of unrelocated branch instructions soNick Clifton3-5/+11
that they point to themselves.
2003-08-14 * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLERAlan Modra3-241/+29
code. * config/tc-i386.c: Likewise. (RELOC_ENUM): Don't define. Replace throughout with enum.
2003-08-14fix typoAlan Modra1-28/+28
2003-08-14 * dep-in.sed: Remove libintl.h. Ignore include/fpoen-*.hAlan Modra4-60/+76
* Makefile.am (POTFILES.in): Unset LC_COLLATE. Run "make dep-am". * Makefile.in: Regenerate.
2003-08-08gas/Andreas Schwab7-1/+160
* config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.
2003-08-08Add MSP430 variantsNick Clifton2-20/+40
2003-08-072003-08-07 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-0/+27
* config/tc-i860.c (i860_check_label): New function. * config/tc-i860.h (i860_check_label): New prototype. (tc_check_label): Define macro as i860_check_label.
2003-08-072003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-7/+53
* config/tc-i860.c (s_align_wrapper): New function and prototype. (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove surrounding OBJ_ELF ifdef, and re-format slightly. * doc/c-i860.texi: Document the special .align syntax available in Intel mode.
2003-08-06gas:Jason Eckhardt7-0/+79
2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_handle_align): New function. * config/tc-i860.h (HANDLE_ALIGN): Define macro. (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dir-align01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above.
2003-08-06gas:Jason Eckhardt5-4/+22
2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_process_insn): Check that instructions with their dual-bit set are 8-byte aligned. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dual02-err.l: Update expected error message. * gas/i860/README.i860: Remove dual02-err from known failure list.
2003-08-06Updated French translationsNick Clifton2-591/+70
2003-08-062003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-3/+5
* gas/i860/README.i860: Remove dual01 from the known failures.
2003-08-062003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-6/+21
* config/tc-i860.c (i860_process_insn): Don't handle dual-bit setting during flop argument parsing. Instead, do it after instruction is fully parsed.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+7
* doc/c-i860.texi: Mention that .dual, .enddual, and .atmp directives are only available in Intel syntax mode.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt8-0/+95
* gas/i860/dir-intel01.{s,d}: New files. * gas/i860/dir-intel02.{s,d}: New files. * gas/i860/dir-intel03-err.{s,l}: New files. * gas/i860/i860.exp: Execute the above new tests.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-3/+24
* config/tc-i860.c (s_dual): Accept .dual directive only in the Intel syntax mode. (s_enddual): Likewise for .enddual. (s_atmp): Likewise for .atmp.
2003-08-04 * config/tc-i386.c (i386_intel_operand): Always call i386_index_checkAlan Modra2-4/+10
for memory operands. Pass the full operand_string to i386_index_check.
2003-08-042003-08-03 Jason Eckhardt <jle@rice.edu>Jason Eckhardt33-32/+36
* gas/i860/*.d: Prefix name with "i860".
2003-08-042003-08-03 Jason Eckhardt <jle@rice.edu>Jason Eckhardt9-14/+223
* gas/i860/dual01.{s,d}: New files. * gas/i860/dual02-err.{s,l}: New files. * gas/i860/dual03.{s,d}: New files. * gas/i860/i860.exp: Execute the above new tests. * gas/i860/README.i860: Update.
2003-08-02Adjust for objdump -d change.Alan Modra22-24/+24
2003-08-022003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+31
* gas/i860/README.i860: New file.
2003-08-022003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-99/+131
* config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences. (target_intel_syntax): Declare variable. (OPTION_INTEL_SYNTAX): Declare macro. (md_longopts): Add option -mintel-syntax. (md_parse_option): Set target_intel_syntax. (md_show_usage): Add -mintel-syntax usage. (md_begin): Set reg_prefix based on target_intel_syntax. (i860_process_insn): Skip register prefix only if there is one. Parse relocatable expressions in either Intel or AT&T syntax based on target_intel_syntax instead of the SYNTAX_SVR4 macro. * doc/c-i860.texi: Document -mintel-syntax option and give blurb about the differences in syntax.
2003-08-01 * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaroundAlan Modra2-10/+7
to all arches.
2003-07-30 * config/tc-sh.c (md_assemble): For branches, check & updateJoern Rennecke2-0/+11
valid_arch here.