aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-10-15 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):Thiemo Seufer2-9/+14
Fix indentation. Better error message.
2003-10-14bfd ChangeLog:Bob Wilson2-5/+9
2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf32-xtensa.c (get_is_linkonce_section): Delete. (xtensa_is_property_section, xtensa_is_littable_section): Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize linkonce sections containing ".xt.insn" and ".xt.lit" substrings. (xtensa_get_property_section_name): Check section name instead of calling get_is_linkonce_section. Remove unused bfd parameter. Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate linkonce section names by appending ".xt.insn" or ".xt.lit". (xtensa_read_table_entries): Remove bfd argument in call to xtensa_get_property_section_name. Free section name when done. (elf_xtensa_combine_prop_entries): Free leaking table. gas ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd argument in call to xtensa_get_property_section_name. Formatting. include ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf/xtensa.h: Formatting. Fix comments about property section names for linkonce sections.
2003-10-11 * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extraKaz Kojima2-1/+6
parenthesis.
2003-10-11 * config/tc-sh.c: Convert to ISO C90. Remove unnecessaryKaz Kojima5-353/+182
prototypes and casts. * config/tc-sh.h: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh64.h: Likewise.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-48/+53
* gas/frv/allinsn.s: Use preoperly aligned registers. * gas/frv/allinsn.d: Update expected results.
2003-10-082003-10-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+114
* config/tc-frv.c (fr550_check_insn_acc_range): New function. (fr550_check_acc_range): New function. (md_assemble): Call fr550_check_acc_range.
2003-10-082003-10-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+11
* lib/gas-defs.exp (gas_run): Always log the command being run. (gas_start): Likewise. (regexp_diff): Make error reporting about non-existent files consistent.
2003-10-08* as.c (use_gnu_debug_info_extensions) : New variable.Nick Clifton6-3/+44
(parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'. (show_usage) : Document --gstabs+ option. * as.h (use_gnu_debug_info_extensions) : New extern declaration. * stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set add the compilation directory to the stabs debug info. * doc/as.texinfo : Document --gstabs+ option. * NEWS: Mention new feature.
2003-10-06Change target of hppa-netbsd portNick Clifton3-16/+34
2003-10-06Fix macro tests to ignore section symbolsNick Clifton5-0/+17
2003-10-06Add i386-knetbsd-gnu triplet.Nick Clifton3-2/+9
2003-10-05Revert -f changeNick Clifton2-8/+6
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler16-13/+171
* gas/z8k/calr-backf.s: New file. * gas/z8k/calr-forwf.s: New file. * gas/z8k/calr.d: New file. * gas/z8k/calr.s: New file. * gas/z8k/djnz-backf.s: New file. * gas/z8k/djnz-backf2.s: New file. * gas/z8k/djnz.d: New file. * gas/z8k/djnz.s: New file. * gas/z8k/jr-back.d: New file. * gas/z8k/jr-forw.d: New file. * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps for jr-back.d. * gas/z8k/jr-backf.s: Fix displacement length. * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps for jr-forw.d. * gas/z8k/jr-forwf.s: Fix displacement length. * gas/z8k/z8k.exp: Run new tests.
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler2-10/+59
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness. (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases. (md_pcrel_from): This function now gets called. Supply return value.
2003-10-04Convert to ISO C90Nick Clifton2-261/+254
2003-10-04(std_shortopts): Remove 'f'.Nick Clifton2-1/+13
(std_longopts): Add 'f'. Doing this prevents -f<foo> being acecpted as an alias for -f
2003-10-04(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.Nick Clifton2-1/+6
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):Thiemo Seufer2-9/+15
Unbreak overflow checks.
2003-10-012003-10-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+6
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extensionThiemo Seufer13-10/+972
tests. (load_register): Likewise. (macro): Likewise. * gas/mips/ldstla-32-shared.d: New file. * gas/mips/ldstla-32.d: New file. * gas/mips/ldstla-32.s: New file. * gas/mips/ldstla-n32-shared.d: New file. * gas/mips/ldstla-n32.d: New file. * gas/mips/ldstla-n32.s: New file. * gas/mips/ldstla-n64-shared.d: New file. * gas/mips/ldstla-n64.d: New file. * gas/mips/ldstla-n64.s: New file. * gas/mips/mips.exp: Add ld-st-la tests.
2003-09-30[ gas/ChangeLog ]Chris Demetriou11-4/+71
2003-09-30 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_ip): Capitalize first word of existing condition code warning, and add condition code warnings for .ps instructions, and for bc1any[24][tf]. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * lib/gas-defs.exp (run_dump_test): If stderr file is specified and there was no stderr output, compare anyway (i.e., cause a test failure). * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. * gas/mips/mips64-mips3d.l: New file. * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for changes to mips64-mips3d.s. * gas/mips/mips64-mips3d-incl.d: Likewise. * gas/mips/set-arch.l: New file. * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. * gas/mips/mips5.l: Make error messages match source.
2003-09-302003-09-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* NEWS: Mention support for MIPS64 Release 2.
2003-09-30[ binutils/ChangeLog ]Chris Demetriou2-0/+6
2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ gas/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou18-15/+1016
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-292003-09-29 Dave Brolley <brolley@redhat.com>Dave Brolley3-5/+10
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. * gas/frv/allinsn.d (nldqi): Ditto.
2003-09-27 * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.Dave Anglin2-7/+9
2003-09-262003-09-26 Matt Thomas <matt@3am-software.com>Jason Thorpe2-2/+13
* config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'. (OPTION_PIC): Define. (md_longopts): Add "pic" option. (md_parse_option): Change 'K' to OPTION_PIC.
2003-09-262003-09-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu22-32/+111
* gas/ia64/alias-ilp32.d: New file. * gas/ia64/secname-ilp32.d: Likewise. * gas/ia64/unwind-ilp32.d: Likewise. * gas/ia64/dependency-1.d: Support ILP32. * gas/ia64/dv-branch.d: Likewise. * gas/ia64/dv-imply.d: Likewise. * gas/ia64/dv-mutex.d: Likewise. * gas/ia64/dv-safe.d: Likewise. * gas/ia64/dv-srlz.d: Likewise. * gas/ia64/global.d: Likewise. * gas/ia64/ldxmov-1.d: Likewise. * gas/ia64/ltoff22x-1.d:Likewise. * gas/ia64/opc-a.d: Likewise. * gas/ia64/opc-b.d: Likewise. * gas/ia64/opc-f.d: Likewise. * gas/ia64/opc-i.d: Likewise. * gas/ia64/opc-m.d: Likewise. * gas/ia64/opc-x.d: Likewise. * gas/ia64/order.d: Likewise. * gas/ia64/regs.d: Likewise. * gas/ia64/tls.d: Likewise. * gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and "alias-ilp32" for ia64-*-hpux*.
2003-09-25 * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2-0/+17
defaults.
2003-09-23 * config/obj-elf.c (obj_elf_change_section): Adjust forAlan Modra2-16/+31
_bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS to be set when defaults are not. Don't set attr from defaults if old_sec.
2003-09-19 * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer4-0/+9
* gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
2003-09-19 * gas/mips/rm7000.s: Let objdump print trailing dots.Thiemo Seufer2-0/+6
2003-09-19 * gas/mips/empic3_e.s: Fix typo.Thiemo Seufer2-2/+6
2003-09-18 * config/tc-mips.c (macro_build_ldst_constoffset): Don't silentlyThiemo Seufer2-0/+25
truncate values which won't fit im 32 bits. (load_register): Likewise. (macro): Likewise.
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