aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-11-13remove diff indicatorsTimothy Wall1-1/+0
2001-11-13Fix tic54x testsuite failures and Lmem disassembly bugs.Timothy Wall15-481/+431
2001-11-13 * config/obj-elf.c (obj_elf_version): Ensure terminating NUL isAlan Modra2-13/+12
put in note section. Use sizeof instead of hard-coded constants.
2001-11-12 * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.Thiemo Seufer4-77/+98
(md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation. Sort options a bit more logical. (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64, OPTION_MABI only for elf targets. * gas/mips/mips.exp: Change naming of some conditionals to reflect the object format they actually mean. Don't try mips-abi32 and mips-abi32-pic tests for ecoff.
2001-11-12 * config/tc-mips.c (set_at): Add cast needed for varargs.Thiemo Seufer2-181/+248
(load_register): Likewise. (macro): Likewise. Some code reformatting. (macro2): Add cast needed for varargs. (mips16_macro): Likewise.
2001-11-12 * config/tc-mips.c (md_assemble): Remove superflous casts.Thiemo Seufer2-42/+38
(append_insn): Likewise. (mips16_macro_build): Likewise. (macro): Likewise. (mips16_ip): Likewise. (s_cpload): Likewise. (mips_relax_frag): Likewise.
2001-11-12 * config/tc-mips.c (mips_abi_level): Move in front ofThiemo Seufer2-79/+95
mips_set_options. (mips_set_options): Add members gp32, fp32, abi. (file_mips_gp32): New flag. (file_mips_fp32): New flag. (mips_opts): Initialize the new members. (mips_gp32): Remove. (mips_fp32): Remove. (HAVE_32BIT_GPRS): Use the new values from mips_opts. (HAVE_32BIT_FPRS): Likewise. (HAVE_NEWABI): Likewise. (HAVE_64BIT_OBJECTS): Likewise. (md_begin): Likewise. Save default (file) values. (md_parse_option): Use the new values from mips_opts. (s_mipsset): Likewise. Fix logic to keep the ABI selection if possible. Let .set mipsN work together with .set push/pop. Enhance error messages. (mips_elf_final_processing): Use file_mips_* for header processing.
2001-11-11 * gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d:Hans-Peter Nilsson4-90/+28
Prune and generalize, adjusting to generic ELF file layout changes.
2001-11-10 * config/tc-avr.c (mcu_types): Update for new devices.Denis Chertykov2-9/+25
2001-11-09 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' forStephane Carrez4-333/+394
the page man title. * doc/Makefile.in: Rebuild. * doc/as.texinfo: Do not put man SEEALSO in document; Use @command for commands, @option for options; Reorganize usage to clearly identify target specific options.
2001-11-08 * config/tc-mips.c (mips_force_relocation): Remove duplicate code.Thiemo Seufer2-7/+4
2001-11-062001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Eric Christopher2-15/+19
* config/tc-mips.c (my_getSmallParser): Fix small parser bug.
2001-11-05Force got and plt relocations.Martin Schwidefsky3-13/+67
2001-11-04[ gas/ChangeLog ]Chris Demetriou5-4/+14
2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.in (mips-*-netbsd*): Add support for target. * configure: Regenerate. [ gas/testsuite/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. (aout): Don't set if *-*-netbsd*. [ ld/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Add support for targets.
2001-11-02Add French translationNick Clifton4-3/+9249
2001-11-02* tc-arm.c: Re-arrange prototypes by architecture.Richard Earnshaw2-144/+178
(insns): Re-arrange instructions by archtitecture. Pld instruction is part of ARMv5E. (tinsns): blx and bkpt are part of ARMv5T. (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename to do_fpa_*. All callers changed. * tc-arm.c (insns): Add two temporary instructions to handle ldrd/strd.
2001-11-02Fix testsuites for bigendian sh-linuxNick Clifton2-0/+10
2001-11-01 * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storageStephane Carrez2-4/+12
for bra/bsr and use frag_variant(), this ensure that the possible 16-bit BFD_RELOC_16 will be in the same frag.
2001-11-01 * gas/m68hc11/opers12.s: Add test for disassembler bug with movbStephane Carrez4-0/+53
instruction. * gas/m68hc11/opers12.d: Likewise. * gas/m68hc11/opers12-dwarf2.d: Likewise.
2001-11-01[ bfd/ChangeLog ]Chris Demetriou11-57/+531
2001-10-31 Chris Demetriou <cgd@demetriou.com> * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative relocations properly. [ gas/ChangeLog ] 2001-10-31 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded PIC code, assume pointers the same size as GPRs. (macro): In M_LA_AB handling for embedded PIC code, support "la $treg,foo-bar($breg)". In load/store handling (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)" which is used by the compiler for switch statements. In load/store double multi-instruction macro handling (label ldd_std) add a comment that no special handling is currently done for embedded PIC. (mips_ip): In 'o' (16-bit offset) case, only accept 16 bit offsets. [ gas/testsuite/ChangeLog ] 2001-10-31 Chris Demetriou <cgd@broadcom.com> * gas/mips/empic.s: Undo damage inflicted on 2000-12-02. * gas/mips/empic.d: Likewise. * gas/mips/elempic.d: Likewise (it was copied into other files). * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/empic2.s: New test to check new 'la' and 'lw' (and related ops) syntax, test loads with large offsets. * gas/mips/emcic2.d: Likewise. * gas/mips/mips.exp: Run the new test on ELF platforms.
2001-10-31General cleanup of feature definitions.Richard Earnshaw2-209/+250
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete. (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete. (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete. (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines. (ARM_EXT_V{5,5E}): Synchronize with above. (ARM_ARCH_V*): Define a complete set in terms of above features. (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture. (FPU_FPA_EXT_V[12]): Define. (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above. (FPU_ANY): Define. (FPU_DEFAULT): Default to FPA. (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for Thumb, this is now ARM_ARCH_V5T. (insns): Rework for new feature defines. (tinsns): Likewise. (opcode_select, do_ldst, md_begin, md_parse_option): Likewise.
2001-10-31Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targetsNick Clifton5-179/+212
2001-10-31Update to match latest listing behaviourNick Clifton6-5/+8
2001-10-31Regenerate dependencies and Makefile.inHans-Peter Nilsson2-46/+52
2001-10-31 * gas/mmix/tst.s: Delete unused file.Hans-Peter Nilsson15-23/+9
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s, gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s, gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s, gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s, gas/mmix/fb-2.s: Remove trailing empty lines.
2001-10-30Add MMIX supportNick Clifton272-252/+12950
2001-10-252001-10-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+6
* gas/mips/ld-empic.d: Remove extra whitespace at beginning of file introduced in the change on 2001-05-15.
2001-10-242001-10-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+7
* config/tc-mips.c (hilo_interlocks, cop_interlocks): Make these evaluate to true if mips_arch indicates SB-1.
2001-10-242001-10-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou11-60/+64
* gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte". Delete use of ".size". * gas/mips/mips-abi32.s: Likewise. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp32.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp32-fp64.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp32.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp64.s: Likewise.
2001-10-23[opcodes/ChangeLog]Chris Demetriou9-2/+23
2001-10-21 Chris Demetriou <cgd@broadcom.com> * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and "bltzall" as writing GPR 31 (since they do). * mips-dis.c (print_insn_arg): Calculate info->target where appropriate. (print_insn_mips): Fill in instruction info. (print_mips16_insn_arg): Remove unneded variable 'val'. Removed duplicated instruction target calculations, calculate once and print that result. Use same idiom for masking the jump segment bits as is used in print_insn_arg. [gas/testsuite/ChangeLog] 2001-10-21 Chris Demetriou <cgd@broadcom.com> * gas/mips/beq.s: Add zero words at end of instructions so that objdump will print "..." when disassembling. * gas/mips/beq.d: Update for disassembler changes which force branch delay-slot nops to be printed. * gas/mips/bge.d: Ditto. * gas/mips/bgeu.d: Ditto. * gas/mips/blt.d: Ditto. * gas/mips/bltu.d: Ditto. * gas/mips/jal-svr4pic.d: Ditto. * gas/mips/jal-xgot.d: Ditto.
2001-10-23 * as.c (parse_args): Print the date as well for --version.Alan Modra2-1/+5
2001-10-212001-10-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* gas/elf/ehopt0.s: Lose ",@progbits".
2001-10-212001-10-20 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+8
* config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom SB-1 CPU for consistency. (mips_cpu_info_table): Tweak comment about SB-1.
2001-10-202001-10-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+9
* config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit. (cirrus_parse_offset): Likewise.
2001-10-19Restore line_comment_chars after a SNAFU.Nick Clifton2-1/+5
2001-10-18Remove semicolon from ARM comment chars listNick Clifton2-1/+6
2001-10-18Correct date of commit to last entryHans-Peter Nilsson1-1/+1
2001-10-18 * write.c (fixup_segment): Handle fixups for SEC_MERGE sections asHans-Peter Nilsson2-0/+8
for undefined symbols.
2001-10-18[gas/testsuite/ChangeLog]Chris Demetriou4-0/+36
2001-10-17 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (sb1-ext-ps): New test to test SB-1 core's paired-single extensions to the MIPS64 ISA. * gas/mips/sb1-ext-ps.d: New file. * gas/mips/sb1-ext-ps.s: New file. [include/opcode/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips.h (INSN_SB1): New cpu-specific instruction bit. (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1 if cpu is CPU_SB1. [opcodes/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_isa_type): Make the ISA used to disassemble SB-1 binaries include instructions specific to the SB-1. * mips-opc.c (SB1): New definition. (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", "recip.ps", "rsqrt.ps", and "sqrt.ps".
2001-10-172001-10-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* doc/as.texinfo (MIPS ISA options): Added accidentally omitted "-mips64" option to list of options.
2001-10-17[gas/ChangeLog]Matthew Green6-2/+43
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400, -m7410, -m7450 and -m7455 options. [gas/testsuite/ChangeLog] * gas/ppc/altivec.s: New test for AltiVec. * gas/ppc/altivec.d: New file. * gas/ppc/ppc.exp: Test altivec.s [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE64): Fix typo. [opcodes/ChangeLog] * ppc-opc.c (STRM): New AltiVec operand. (XDSS): New AltiVec instruction form. (mtvscr): Correct operand list. (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
2001-10-17 * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.Alan Modra2-83/+104
(ppc_size): Select PPC_OPCODE_64 if 64 bit. (md_begin): Don't set ppc_size here. (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE. (md_shortopts): Constify. (md_longopts): Likewise. (md_longopts_size): Likewise. (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies 64-bit opcodes. (ppc_machine): Explain why this function is a nop.
2001-10-17 * bit_fix.h: Comment typo fix.Alan Modra5-7/+10
* config/tc-mips.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
2001-10-17 * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place soAlan Modra4-229/+199
that autoheader doesn't duplicate config.in entries. (DEFAULT_ARCH): Ditto. * configure: Regenerate. * config.in: Regenerate.
2001-10-16 * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.Alan Modra2-3/+8
2001-10-16 * gas/sh/err-le.s, gas/sh/err-be.s: New tests.Hans-Peter Nilsson3-0/+24
2001-10-16 * config/tc-sh.c (shl): Remove.Hans-Peter Nilsson5-192/+223
(big): New function. (little): Remove shl handling. Emit error for endian mismatch. (md_show_usage): Add description of -big. (md_parse_option): Handle OPTION_BIG. Remove shl handling. (OPTION_BIG): Add. (md_pseudo_table): Add .big. (md_longopts): Add -big. (md_begin): Don't set target_big_endian here. * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove. (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian. (shl): Remove. * configure.in (endian): Default is big. (sh-*-pe*): Little endian. (cpu_type): Set sh for target sh*. * configure: Regenerate.
2001-10-15 * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABIThiemo Seufer2-0/+20
relocations.
2001-10-14[gas/testsuite/ChangeLog]Matthew Green3-0/+27
* gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba, mbar): New BookE tests. * gas/ppc/booke.d: Update for new BookE tests. [opcodes/ChangeLog] * ppc-opc.c (MO): New macro for MO field of mbar instruction. (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
2001-10-13Replace CONST with constNick Clifton2-51/+53