aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
1996-04-11 * config/tc-sparc.c (last_insn): New static variable.Ian Lance Taylor1-5/+46
(md_assemble): Warn about putting floating point branches in a delay slot. If architecture is less than v9, insert NOP instructions between floating point instructions and floating point branches. (The SunOS assembler does both these operations.) Save the last instruction opcode. (sparc_ip): Add pinsn parameter. Change caller. PR 355.
1996-04-11fix typo in commentIan Lance Taylor1-6/+7
1996-04-11 * config/tc-m68k.c (md_estimate_size_before_relax): Correct checkIan Lance Taylor1-7/+20
for byte jump to next instruction to skip empty frags. PR 7044.
1996-04-06 * config/tc-h8300.c (get_specific): Remove some #if 0 code.Jeff Law1-78/+26
(build_bytes): Remove all ABSMOV related code; it's unnecessary. ABSMOV is gone... Cleaning up. hmse.
1996-03-28 * config/tc-mips.h (tc_frob_file): Define.Ian Lance Taylor2-22/+154
(mips_frob_file): Declare. * config/tc-mips.c (struct mips_hi_fixup): Define. (mips_hi_fixup_list): New static variable. (imm_unmatched_hi): New static variable. (md_assemble): Clear imm_reloc, imm_unmatched_hi, and offset_reloc. Pass imm_unmatched_hi to append_insn. (append_insn): Add unmatched_hi parameter. If it is set, add the new fixup to mips_hi_fixup_list. Change all callers. (mips_ip): Set imm_unmatched_hi when appropriate. (mips_frob_file): New function.
1996-03-20Wed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1-1/+3
* config/alpha-opcode.h: Added cvtst instruction.
1996-03-06 * tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.Jim Wilson1-1/+1
1996-03-04 * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.Jeff Law1-2/+4
Set "sym_ptr_ptr" and "addend" fields to dummy values for R_N0SEL and R_N1SEL. Net buglet, and something I just noticed was wrong.
1996-02-29All predefined sections to be of NOBITS typeMichael Meissner1-12/+11
1996-02-29 * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don'tJeff Law1-1/+2
reduce relocs using e_nlrsel field selectors.
1996-02-28 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" toJeff Law1-12/+40
the selector table. (pa_chk_field_selector): Handle new field selectors for SOM. More new stuff for hpux10.
1996-02-26 * config/tc-sparc.c (sparc_ip): Print all architectures that supportDavid Edelsohn1-5/+25
the insn on mismatch.
1996-02-23 * config/tc-sh.c (sh_coff_frob_file): Don't consider the addressIan Lance Taylor1-4/+1
of the section when looking for the R_SH_USES fixup, because the frag addresses have not yet been adjusted. PR 9072.
1996-02-21(sparc_ip): Recognize %asr0.David Edelsohn1-2/+2
Yes, matra really wants this.
1996-02-21 * config/tc-sparc.c (parse_keyword_arg): Accept leadling '%'.David Edelsohn1-9/+33
(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9. Recognize [uU] format args as sparclet cpregs.
1996-02-21 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocsIan Lance Taylor1-1/+2
in bss_section. PR 9044.
1996-02-19 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK asIan Lance Taylor1-2/+4
well as S_IS_EXTERNAL. (tc_fix_adjustable): Likewise. * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return early. (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
1996-02-19 * config/tc-sparc.c (max_architecture): Change to sparclite forDavid Edelsohn1-27/+71
32 bit arch. (default_compatible): Delete. (sparc_ffs): New function. (md_begin): Only call SPARC_OPCODE_CONFLICT_P once. (sparc_ip): Rewrite architecture match and bump logic.
1996-02-15Do not set undefined symbols to BSF_OBJECT.Michael Meissner1-1/+2
1996-02-15Force all PPC symbols that otherwise do not have a symbol type to be BSF_OBJECTMichael Meissner1-0/+15
1996-02-14Wed Feb 14 16:33:12 1996 Martin Anantharaman ↵Ian Lance Taylor3-1/+24
<martin@mail.imech.uni-duisburg.de> * read.c (s_mri_sect): Don't return '\0' in type. Set all appropriate flags in BFD section. * configure.in (m68k-*-psos*): New target. * configure: Rebuild. * config/te-psos.h: New file. * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS is defined.
1996-02-14 * config/tc-mips.c (mips_big_got): New static variable.Ian Lance Taylor1-64/+624
(s_extern): Don't declare. (reg_needs_delay): New static function. (macro_build): Permit GOT/CALL_HI/LO relocs. (macro_build_lui): If place is not NULL, use the number in the expression. (load_address): Handle mips_big_got case. (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and store macros. (OPTION_XGOT): Define. (md_longopts): Add "xgot" if OBJ_ELF. (md_parse_option): Handle -xgot. (md_show_usage): Mention -xgot. (md_apply_fix): Permit GOT/CALL_HI/LO relocs. (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
1996-02-14Wed Feb 14 11:22:27 1996 Andreas Schwab ↵Ian Lance Taylor1-1/+2
<schwab@issan.informatik.uni-dortmund.de> * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing the byte relocation, point it to the low byte of the word.
1996-02-13 * read.c (potable): Add "mri" and ".mri".Ian Lance Taylor2-0/+44
(s_mri): New function. * read.h (s_mri): Declare. * app.c (scrub_m68k_mri): New static variable. (mri_pseudo): New static variable. (do_scrub_begin): Add m68k_mri parameter. Use it rather than flag_m68k_mri. Initialize scrub_m68k_mri. (mri_state, mri_last_ch): New static variables. (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch fields. (app_push): Save new fields. (app_pop): Restore new fields. (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri. If TC_M68K, use a trivial state machine to look for occurrences of the .mri pseudo-op, and change the mode appropriately. * as.h (do_scrub_begin): Update prototype. * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to do_scrub_begin. * config/tc-m68k.c (reg_prefix_optional_seen): New static variable. (m68k_mri_mode_change): New function. (md_parse_option): Set reg_prefix_optional_seen. * config/tc-m68k.h (m68k_mri_mode_change): Declare. (MRI_MODE_CHANGE): Define. * doc/as.texinfo: Document .mri pseudo-op.
1996-02-12Mon Feb 12 15:16:29 1996 Andreas Schwab ↵Ian Lance Taylor2-31/+307
<schwab@issan.informatik.uni-dortmund.de> Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF: * config/m68k-parse.h (enum pic_relocation): Define. (struct m68k_exp): Add pic_reloc field. * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define. (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable. (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero otherwise. * config/tc-m68k.c: Delete definition of NO_RELOC. (struct m68k_it): Add pic_reloc field. (add_fix): Copy over pic_reloc field. (md_pseudo_table): Interpret .align parameter as byte count. (mote_pseudo_table): Likewise. (tc_m68k_fix_adjustable): New function. (get_reloc_code): New function. (md_assemble): Use it as last argument to fix_new_exp. (md_apply_fix_2): For a relocation against a symbol don't put the addend into the data. (tc_gen_reloc): Different addend computation for OBJ_ELF. (m68k_ip): Don't relax an operand that requires pic relocation. (md_begin): Align .text, .data and .bss on 4 byte boundary by default. * write.c (fixup_segment): Don't add symbol value to addend if TC_M68K and OBJ_ELF. * config/m68k-parse.y (yylex): Handle @PLTPC, etc. (motorola_operand): Add rule for `(zapc, EXPR)'.
1996-02-12 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary beforeIan Lance Taylor1-0/+3
inserting nop instructions. PR 8974.
1996-02-09 * config/te-aux.h: Change include of aux.h to aux-coff.h.Ian Lance Taylor1-1/+1
1996-02-08 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.Ian Lance Taylor4-14/+26
(do_align): Take new len parameter. Change all callers. Pass it to md_do_align. (s_align_bytes): Arg now indicates the length of the fill pattern. (s_align_ptwo): Likewise. * config/obj-coff.c (write_object_file): Pass length to md_do_align. * config/tc-i386.h (md_do_align): Take new len parameter. * config/tc-m88k.h (md_do_align): Likewise. * config/tc-m88k.c (m88k_do_align): Likewise. * config/tc-sh.h (md_do_align): Likewise. * config/tc-sh.c (sh_do_align): Likewise. * doc/as.texinfo: Document new pseudo-ops. * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is done in cvt_frag_to_fill. PR 8974.
1996-02-07 * config/tc-sh.h (sh_do_align): Declare.Ian Lance Taylor2-43/+96
(md_do_align): Define. * config/tc-sh.c (sh_do_align): New function. PR 8974.
1996-02-07update copyrightsIan Lance Taylor2-2/+4
1996-02-07 * config/tc-m68k.c (struct m68k_cpu): Add alias field.Ian Lance Taylor1-28/+53
(archs): Initialize new field. (m68k_ip): Don't list alias names when listing CPUs which support an instruction.
1996-02-06Rename XL to JX, and remove sanitization.Ian Lance Taylor1-24/+0
1996-02-05 * config/tc-i960.c (ARCH_HX): Define.Ian Lance Taylor1-32/+55
(arch_tab): Add HX. (targ_has_sfr): Handle ARCH_HX. (targ_has_iclass): Handle ARCH_HX. (tc_coff_fix2rtype): Add return 0 to avoid warning. (tc_headers_hook): If the architecture was specified explicitly, use it when setting the flags. Set the extern variable coff_flags rather than headers->filehdr.f_flags, since the latter is set unconditionally in obj-coff.c. (i960_handle_align): Remove unused variable fixp.
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor2-0/+21
than comparing S_GET_SEGMENT to undefined_section. (write_object_file): Skip symbols which were equated to an undefined or common symbol. * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and S_IS_COMMON rather than comparing S_GET_SEGMENT to undefined_section. (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED or S_IS_COMMON call S_GET_VALUE. * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. * config/obj-aout.c (obj_emit_relocations): If a reloc is equated to an undefined or common symbol, convert the reloc to be against the target symbol. (obj_crawl_symbol_chain): Skip symbols which were equated to an undefined or common symbol. * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. * config/obj-bout.c (obj_emit_relocations): If a reloc is equated to an undefined or common symbol, convert the reloc to be against the target symbol. (obj_crawl_symbol_chain): Skip symbols which were equated to an undefined or common symbol. * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and S_IS_COMMON rather than comparing S_GET_SEGMENT to undefined_section. (yank_symbols): Skip symbols which were equated to an undefined or common symbol.
1996-02-01 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.Ian Lance Taylor2-17/+25
* config/obj-bout.h (S_IS_LOCAL): Likewise.
1996-01-31Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor3-3/+50
* configure.in (m68*-apple-aux*): New target. * config/te-aux.h: New file. * config/obj-coff.c (compare_external_relocs): New static function if TE_AUX. (do_relocs_for): Sort relocs if TE_AUX. (fixup_segment): If TE_AUX, store common symbol value in segment. * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
1996-01-30* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit scaling ofKen Raeburn1-811/+810
index. * expr.c (operand): Accept 0x hex constants in MRI mode if not on m68k. (PR 8836)
1996-01-29 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a typeIan Lance Taylor1-9/+11
of object. From Ronald F. Guilmette <rfg@monkeys.com>.
1996-01-25 SCO ELF support from Robert Lipe <robertl@arnet.com>:Ian Lance Taylor2-0/+2
* configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5. * configure: Rebuild. * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF. * config/tc-i386.c (sco_id): New function, if SCO_ELF. * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF. (sco_id): Declare if SCO_ELF.
1996-01-25 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.David Edelsohn1-110/+115
({max,warn_after}_architecture): New static locals. (md_begin): Replace NUMOPCODES with sparc_num_opcodes. If both architecture and -bump requested, set max_architecture to max. (sparc_md_end): Simplify. (sparc_ip): Replace references to can_bump_v9_p with max_architecture. Rewrite code to bump architecture and check for conflicts. (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility with Solaris assembler. (md_parse_option): Likewise. Call sparc_opcode_lookup_arch. (md_show_usage): Update.
1996-01-22(sparc_md_end): Fix leftover from earlier version.David Edelsohn1-1/+1
1996-01-22 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead ofDavid Edelsohn2-166/+203
#ifdef sparcv9 when choosing value. (ENV64): Delete. (md_end): Define. (sparc_md_end): Declare. * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9. (initial_architecture): New static local. (can_bump_v9_p): Likewise. (NO_V9): Delete all occurrences. (sparc_md_end): New function. (sparc_ip): New local v9_arg_p. Rework fp reg number test. Don't bump architecture to v9 unless can_bump_v9_p set. (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly. * configure.in (sparc64 target cpu): Don't set obj_format here. (SPARC_V9): Renamed from sparcv9. (sparc64-*-elf*): Define SPARC_ARCH64. * configure: Regenerated. * acconfig.h (SPARC_V9): Renamed from sparcv9. (SPARC_ARCH64): Add. * config/vmsconf.h: Update.
1996-01-22update copyrightIan Lance Taylor1-1/+1
1996-01-22 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage classIan Lance Taylor1-0/+6
XMC_PR.
1996-01-22Add support for eabi relocations and sectionsMichael Meissner1-0/+18
1996-01-18Changed alignment on .pdata and .reldataKim Knuttila1-2/+2
1996-01-16Remove sh3e sanitization.Jim Wilson1-24/+0
1996-01-15Add more relocation suffixesMichael Meissner1-0/+16
1996-01-15Allow .gcc_except_table to have unfixed pointers with -mrelocatableMichael Meissner1-1/+2
1996-01-13Make elf section functions ELF specificMichael Meissner1-0/+2