aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-08-21 * tc_mips.c (md_begin): Warn about incompatibility between -march=FOOThiemo Seufer2-1/+22
and -mipsN option, continue with default ISA.
2001-08-21 * config/tc-mips.c (md_parse_option): #ifdef theThiemo Seufer2-3/+12
traditional/non-traditional names as it is done in mips_target_format.
2001-08-21 * config/tc-alpha.h (MD_APPLY_FIX3): Define.Richard Henderson3-2/+10
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix; use seg parameter instead of now_seg.
2001-08-182001-08-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+5
* config/tc-mips.c (show): Add the missing prototype.
2001-08-18 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()Thiemo Seufer2-73/+161
return values. (mips_ip): Use the new return values instead of characters. Add support for %higher and %highest. (LP): Remove. (RP): Remove. (my_getSmallExpression): Make parsing case insensitive and more reliable. Add support for %higher and %highest. Further support to parse %gprel and %neg is implemented but currently deactivated.
2001-08-172001-08-17 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/sparc/unalign.d: Support Sparc V9.
2001-08-17 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.Alan Modra3-9/+15
(ecoff_build_symbols): Likewise. * read.c (s_lcomm_internal): Fix signed/unsigned warning.
2001-08-16Set MIPS n32 ABI flag in ELF header if appropriate.Thiemo Seufer2-0/+9
2001-08-16Add support for MIPS R1[02]000 performance counter opcodes.Thiemo Seufer4-0/+25
2001-08-16Remove obsolete special handling of 64bit Relocations.Thiemo Seufer3-35/+6
2001-08-142001-08-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as a label, not a hex constant. This patch was approved by Nick Clifton.
2001-08-13Add missing prototypesNick Clifton2-5/+14
2001-08-13 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLTAndreas Jaeger2-55/+62
relocations.
2001-08-12Extend unaligned test to check .uaword with mulitple argumentsNick Clifton3-1/+13
2001-08-12Fix behaviour of unaligned data directivesNick Clifton2-2/+9
2001-08-11 * config/tc-mips.c: Fix a comment typo.Kazu Hirata2-1/+5
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu22-34/+62
* gas/mips/e32-rel2.d: Updated for the objdump output change. * gas/mips/e32el-rel2.d: Likewise. * gas/mips/elf-rel.d: Likewise. * gas/mips/elf-rel2.d: Likewise. * gas/mips/elf-rel3.d: Likewise. * gas/mips/elf_e_flags1.d: Likewise. * gas/mips/elf_e_flags2.d: Likewise. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/mips/elfel-rel.d: Likewise. * gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise. * gas/mips/empic.d: Likewise. * gas/mips/mips16-e.d: Likewise. * gas/mips/mips16-f.d: Likewise. * gas/mips/mipsel16-f.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise. * gas/mips/mips16-f.d: Fix the symbol table output. * gas/mips/mipsel16-f.d: Fix the endian. * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.
2001-08-10 * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.Richard Sandiford7-12/+21
* gas/mips/mips-gp32-fp64.d: Likewise. * gas/mips/mips-abi32.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-abi32-pic.d: Likewise.
2001-08-10 * config/tc-mips.c (move_register): New function.Richard Sandiford2-13/+36
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument. (mips_ip): Likewise. (macro2): Use move_register rather than macro_build for moves. (mips16_macro): Likewise. (macro): Likewise. Handle M_MOVE.
2001-08-10 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypesAndreas Jaeger3-172/+178
to build warnings. * configure: Regenerate.
2001-08-10 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.Alan Modra3-25/+14
Comment indentation of #pragma. * macro.c (alloca): Likewise.
2001-08-10Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.Alan Modra2-15/+13
Remove gas/ from file names. Fix FOPEN_W comment.
2001-08-10Revert 2001-08-08 changes.Alan Modra2-28/+36
2001-08-09 * symbols.c: Add missing prototypes.Alan Modra7-17/+55
* config/e-i386elf.c: Likewise. * config/e-i386coff.c: Likewise. * config/e-i386aout.c: Likewise. * config/obj-coff.c: Likewise. (def_symbol_in_progress, stack): Move definition. * config/obj-elf.c: Add missing prototypes. (obj_elf_change_section): Make static. (obj_elf_parse_section_letters): Likewise. (obj_elf_section_word): Likewise. (obj_elf_section_type): Likewise.
2001-08-08 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code forAlan Modra2-32/+34
determining reloc type with code reading operands->reloc field.
2001-08-08 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a globalAlan Modra3-34/+36
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here. * config/obj-elf.h (elf_copy_symbol_attributes): Declare. (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
2001-08-08 * output-file.c (output_file_create): Don't try to open usingAlan Modra2-6/+5
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
2001-08-07Replace a bunch of magic constants in tc-mips.c with their properThiemo Seufer2-42/+54
defines from mips.h.
2001-08-07Some formatting fixes and assorted cleanup in tc-mips.c.Thiemo Seufer2-98/+70
2001-08-07 * config/tc-mips.c (md_begin): Take -mcpu value into account even whenThiemo Seufer2-13/+60
-mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs mutually exclusive (if they are different). (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is set more than once.
2001-08-07 * mips-dis.c (print_insn_arg): Don't use software integer registersThiemo Seufer6-29/+37
for coprocessor registers. (_print_insn_mips): Get distinction between old ABI and new ABI right.
2001-08-052001-08-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/cris/operand-err-1.s: Updated.
2001-08-052001-08-04 H.J. Lu <hjl@gnu.org>H.J. Lu24-14/+107
Chris G. Demetriou <cgd@broadcom.com> * gas/mips/e32-rel4.s: Removed. * gas/mips/e32-rel4.d: Use elf-rel4.s. * gas/mips/mips.exp: Use the same rel4 test for litte endian. * gas/mips/mips-abi32-pic.d: Add lines for objdump. * gas/mips/mips-abi32.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp32.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-gp32-fp64.d: Likewise. * gas/mips/mips-gp64-fp32-pic.d: Likewise. * gas/mips/mips-gp64-fp32.d: Likewise. * gas/mips/mips-gp64-fp64-pic.d: Likewise. * gas/mips/mips-gp64-fp64.d: Likewise. * gas/mips/mips-abi32-pic.s: Add space for objdump. * 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. * gas/mips/mips-abi32-pic.s: Add the missing .end. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise.
2001-08-03 * gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test.Richard Sandiford5-2/+56
* gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test. * gas/mips/mips.exp: Run new tests.
2001-08-03*** empty log message ***Richard Sandiford1-0/+7
2001-08-03 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol valueRichard Sandiford2-1/+8
from GPREL addends.
2001-08-02 * gas/mips/mips-gp32-fp32,Richard Sandiford22-0/+2329
* gas/mips/mips-gp32-fp64, * gas/mips/mips-gp64-fp32, * gas/mips/mips-gp64-fp64, * gas/mips/mips-abi32, * gas/mips/mips-gp32-fp32-pic, * gas/mips/mips-gp32-fp64-pic, * gas/mips/mips-gp64-fp32-pic, * gas/mips/mips-gp64-fp64-pic, * gas/mips/mips-abi32-pic: New testcases. * gas/mips/mips.exp: Run them.
2001-08-02 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.Richard Sandiford3-259/+202
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables. (md_long_opts): Add -mfp32 option. (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32. (md_show_usage): Show usage for -mfp32 and -mgp32. (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros. (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above. (HAVE_32BIT_ADDRESSES): New macro. (load_register): Use HAVE_32BIT_GPRS to determine the register width. (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size. (s_cprestore, s_cpadd): Likewise. (macro): Use HAVE_32BIT_GPRS to determine the width of registers used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in load, store and jump macros. (macro2): Use HAVE_32BIT_GPRS to determine the width of registers used in set instructions; do not check the address size for them. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in unaligned load and store macros. (mips_ip): Use the new macros to check the width of a register when processing float constants. Force a constant into memory if it is destined for an FPR and the FPRs are wider than the GPRs. Warn about odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions. (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions.
2001-08-01Cleanups for z8k targetNick Clifton2-1/+18
2001-08-01 * config/tc-i386.c (lex_got): Match lower case relocation tokens.Alan Modra2-7/+26
Don't allocate more space than necessary for the input line copy.
2001-08-01 * gas/elf/section2.l: Adjust warning message comparison.Alan Modra2-1/+5
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra20-170/+224
final period or newline, don't say "ignored" or "zero assumed" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. * app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c, ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c, output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise. * ecoff.c (ecoff_directive_end): Test for missing name by comparing input line pointers rather than reading string. (ecoff_directive_ent): Likewise. * read.c (s_set): Likewise. (s_align): Report a warning rather than an error for alignment too large. (s_comm): Check for missing symbol name. (s_lcomm_internal): Likewise. (s_lsym): Likewise. (s_globl): Use is_end_of_line instead of looking for '\n'. (s_lcomm_internal): Likewise. (ignore_rest_of_line): Report a warning rather than an error.
2001-07-31 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to haveGeoffrey Keating2-1/+6
any kind of relocation against a not-loaded section.
2001-07-30 * gas/mips/mips.exp (el): New variable.Richard Sandiford2-39/+17
Use it to pick ELF reloc tests.
2001-07-30 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_typeAlan Modra7-127/+102
to include '@' in symbol names when parsing versioned symbols rather than calling get_symbol_end multiple times. * config/tc-i370.c (register_name): Format fixes. Don't call get_symbol_end after parsing number. * config/tc-mn10200.c (data_register_name): Format fixes. Hoist code out of conditional. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-mn10300.c (r_register_name): Likewise. (xr_register_name): Likewise. (data_register_name): Likewise. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-ppc.c (register_name): Likewise. * config/tc-s390.c (register_name): Likewise.
2001-07-28 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsrStephane Carrez2-2/+7
and bra relax: update fragP->fr_fix after the fixup.
2001-07-27 * read.c (s_set): Check for missing symbol name.Alan Modra2-0/+13
2001-07-272001-07-26 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-3/+8
* gas/mips/lif-empic.d: Add back dollar signs before floating point register names.
2001-07-26 * gas/i386/relax.s: Test rs_space.Alan Modra3-4/+22
* gas/i386/relax.d: Update.
2001-07-26 * write.c (relax_segment <rs_space>): Account for fr_fix.Alan Modra2-1/+5