aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2001-08-21 * tc_mips.c (md_begin): Warn about incompatibility between -march=FOOThiemo Seufer1-1/+17
and -mipsN option, continue with default ISA.
2001-08-21 * config/tc-mips.c (md_parse_option): #ifdef theThiemo Seufer1-3/+7
traditional/non-traditional names as it is done in mips_target_format.
2001-08-21 * config/tc-alpha.h (MD_APPLY_FIX3): Define.Richard Henderson2-2/+4
* 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. Lu1-0/+1
* config/tc-mips.c (show): Add the missing prototype.
2001-08-18 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()Thiemo Seufer1-73/+149
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-16Set MIPS n32 ABI flag in ELF header if appropriate.Thiemo Seufer1-0/+4
2001-08-16Remove obsolete special handling of 64bit Relocations.Thiemo Seufer2-35/+0
2001-08-13Add missing prototypesNick Clifton1-5/+10
2001-08-13 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLTAndreas Jaeger1-55/+57
relocations.
2001-08-12Fix behaviour of unaligned data directivesNick Clifton1-2/+2
2001-08-11 * config/tc-mips.c: Fix a comment typo.Kazu Hirata1-1/+1
2001-08-10 * config/tc-mips.c (move_register): New function.Richard Sandiford1-13/+27
(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-10Revert 2001-08-08 changes.Alan Modra1-28/+32
2001-08-09 * symbols.c: Add missing prototypes.Alan Modra5-17/+40
* 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 Modra1-32/+28
determining reloc type with code reading operands->reloc field.
2001-08-08 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a globalAlan Modra2-34/+31
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-07Replace a bunch of magic constants in tc-mips.c with their properThiemo Seufer1-42/+48
defines from mips.h.
2001-08-07Some formatting fixes and assorted cleanup in tc-mips.c.Thiemo Seufer1-98/+55
2001-08-07 * config/tc-mips.c (md_begin): Take -mcpu value into account even whenThiemo Seufer1-13/+52
-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-03 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol valueRichard Sandiford1-1/+3
from GPREL addends.
2001-08-02 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.Richard Sandiford1-252/+162
* 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 Clifton1-1/+11
2001-08-01 * config/tc-i386.c (lex_got): Match lower case relocation tokens.Alan Modra1-7/+21
Don't allocate more space than necessary for the input line copy.
2001-07-31 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to haveGeoffrey Keating1-1/+1
any kind of relocation against a not-loaded section.
2001-07-30 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_typeAlan Modra6-127/+83
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 Carrez1-2/+2
and bra relax: update fragP->fr_fix after the fixup.
2001-07-252001-07-25 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+4
* 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 Demetriou1-1/+1
* config/tc-mips.c: Fix spelling error in comment.
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata20-106/+106
* 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 Modra10-124/+79
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 Modra1-50/+32
"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 Jaeger2-17/+2
* config/tc-s390.h: Remove double declaration of TC_FORCE_RELOCATION.
2001-07-222001-07-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+1
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-18 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file andAndreas Schwab2-0/+14
.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 Green1-2/+2
TE_NetBSD. (line_comment_chars): Set to '/' if TE_NetBSD.
2001-07-11*** empty log message ***John Healy1-4/+0
2001-07-11Don't merge if the storage class of the non-debug symbol is C_NULL.Nick Clifton1-1/+10
2001-07-102001-07-10 John Healy <jhealy@redhat.com>John Healy1-0/+4
* 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-062001-07-06 John Healy <jhealy@redhat.com>John Healy1-4/+6
* cgen.c (gas_cgen_save_fixups): Modified to allow more than one set of fixups to be stored. (gas_cgen_restore_fixups): Modified to allow the fixup chain to be restored to be chosen from any that are saved. (gas_cgen_swap_fixups): Modified to allow the current set of fixups to be swapped with any other set that has been saved. (gas_cgen_initialize_saved_fixups_array): New routine. * cgen.h: Modifed prototypes for gas_cgen_save_fixups, gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions or MAX_SAVED_FIXUP_CHAINS. * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup store, swap and restore fuctions to reflect the new interface.
2001-07-06Catch and ignore empty, ineffectual alignment frags when deciding if aNick Clifton1-4/+16
branch can be short.
2001-07-0632-bit unwind data for ia64-hpux, from Steve EllceyJim Wilson1-33/+73
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY and SPECIAL_SECTION_FINI_ARRAY. (special_section_name): Add .init_array and .fini_array. (md_pseudo_table): Add init_array and fini_array. (md): Add pointer_size and pointer_size_shift fields. (setup_unwind_header): New static function. (output_unw_records): Modify to use setup_unwind_header. (generate_unwind_image, dot_endp): Modify to use md.pointer_size and md.pointer_size_shift. (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston1-1/+0
* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
2001-07-05Fix ia64-linux gas ehopt testsuite failure.Jim Wilson1-0/+9
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
2001-07-05Fix 2 ia64-linux gas testsuite failures.Jim Wilson1-5/+15
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod sched branches.
2001-07-042001-07-04 Eric Christopher <echristo@redhat.com>Eric Christopher1-0/+10
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu. * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261, and rm5721 as valid cpu strings. (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
2001-07-04[gas]Richard Sandiford1-2/+37
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero if it's expected to be non-zero. [gas/testsuite] * gas/mips/elf-rel3.s: Add zero word to end of file.
2001-07-03Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag.Nick Clifton1-2/+2
2001-07-02 * config/tc-ppc.c: Formatting fixes.Alan Modra1-230/+248
2001-07-012001-07-01 Ben Elliston <bje@redhat.com>Ben Elliston1-5/+5
* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as they cause some subtle breakage. Will fix them again later.
2001-06-30Treat a .ln directive outside of a function as a .appline directive.Nick Clifton1-5/+5