aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2001-07-252001-07-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+11
* config/tc-mips.c (md_estimate_size_before_relax): Make sure we treat weak like extern only for ELF. (mips_fix_adjustable): Make sure we don't adjust extern/weak symbols only for ELF.
2001-07-252001-07-25 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+5
* config/tc-mips.c: Fix spelling error in comment.
2001-07-252001-07-25 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+28
* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro. (IS_PARALLEL_SEPARATOR): New macro. (do_scrub_begin): Set up characters in tc_parallel_separator_chars as LEX_IS_PARALLEL_SEPARATOR, if it is defined. (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has been seen).
2001-07-24 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.Alan Modra4-38/+49
(DEP1, DEPTC, DEPOBJ, DEP2): Use it. Update dependencies with "make dep-am".
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata21-106/+129
* config/tc-arc.c: Likewise. * config/tc-d10v.h: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i960.h: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ia64.h: Likewise. * config/tc-m32r.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-pdp11.c: Likewise. * config/tc-pj.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-sparc.h: Likewise. * config/tc-tic80.c: Likewise. * config/tc-w65.h: Likewise.
2001-07-23 * symbols.c (S_GET_VALUE): Don't treat O_constant and localAlan Modra13-163/+132
symbols specially. Always resolve, adding fr_address to value. * write.c (write_object_file): Don't add fr_address to sym values. (relax_frag): Likewise. (relax_segment): Likewise. * config/obj-ieee.c (do_symbols): Likewise. * config/tc-cris.c (md_convert_frag): Likewise. * config/tc-fr30.c (md_convert_frag): Likewise. * config/tc-i386.c (md_convert_frag): Likewise. * config/tc-m32r.c (md_convert_frag): Likewise. * config/tc-m68hc11.c (md_convert_frag): Likewise. * config/tc-mcore.c (md_convert_frag): Likewise. * config/tc-mips.c (mips16_extended_frag): Likewise. * config/tc-ns32k.c (md_convert_frag): Likewise. * config/tc-m68k.c (md_convert_frag_1): Likewise. (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR, DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement. (md_relax_table): Remove first four entries. Format. (md_estimate_size_before_relax): Remove old_fix. Don't bother setting fr_var. Simplify byte branch checks.
2001-07-23 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): RemoveAlan Modra2-50/+43
"isbranch" param as all calls have it set. (pa_parse_neg_cmpsub_cmpltr): Likewise. (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of strcasecmp in "nullify" var. (pa_parse_neg_add_cmpltr): Likewise. (pa_ip): Don't "save_s" unnecessarily. Update calls to above functions. Don't print wrong conditions in error messages.
2001-07-23 * config/tc-s390.c (s390_force_relocation): Removed.Andreas Jaeger3-17/+9
* config/tc-s390.h: Remove double declaration of TC_FORCE_RELOCATION.
2001-07-23 * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.Alan Modra3-2/+7
* gas/i386/intel.d: Likewise.
2001-07-222001-07-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+6
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-19Change bug reporting email address.Nick Clifton1-13/+17
2001-07-18 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file andAndreas Schwab3-0/+22
.loc. (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting insn. * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2001-07-17 * config/tc-i386.c (comment_chars): Don't use '/' as comment start ifMatthew Green2-2/+8
TE_NetBSD. (line_comment_chars): Set to '/' if TE_NetBSD.
2001-07-162001-07-16 Philip Blundell <philb@gnu.org>Phil Blundell3-8/+13
* gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for change to disassembler.
2001-07-14Fix failures in MIPS testsuiteNick Clifton4-1/+10
2001-07-14fix formatting goof in previous.Matthew Green1-1/+1
2001-07-14 * configure.in (i386-*-netbsdelf*): New target.Matthew Green3-0/+7
configure: Regenerate.
2001-07-11 * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support forJakub Jelinek3-7/+6
R_SPARC_UA64. (elf32_sparc_check_relocs): Likewise. Only create .rela section for alloced sections in shared libraries. (elf32_sparc_relocate_section): Likewise. Remove redundant check. Optimize unaligned reloc usage. * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant check. * testsuite/gas/sparc/unalign.s: Remove .uaxword test. * testsuite/gas/sparc/unalign.d: Adjust accordingly.
2001-07-11*** empty log message ***John Healy2-10/+0
2001-07-11Don't merge if the storage class of the non-debug symbol is C_NULL.Nick Clifton2-1/+15
2001-07-102001-07-10 John Healy <jhealy@redhat.com>John Healy2-0/+10
* config/obj-elf.c (obj_elf_section): md_elf_section_change_data_hook added to grab section information after it's been extracted from the .section directive.
2001-07-10Fix grammatical errorsNick Clifton2-2/+7
2001-07-10Use FOPEN_.. macros in calls to fopen().Nick Clifton7-77/+94
2001-07-09Add .incbin pseudo opNick Clifton9-0/+174
2001-07-07Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.Nick Clifton2-1/+6