aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1996-02-19 * gas/sparc/{asi,membar,prefetch,rdpr,synth64,wrpr}.d: Pass -Av9David Edelsohn4-0/+51
to gas. * gas/sparc/addend.exp: Execute for any sparc cpu. * gas/sparc/{mismatch.exp,mism-1.s}: New test.
1996-02-19 * config/tc-sparc.c (max_architecture): Change to sparclite forDavid Edelsohn2-27/+80
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-18 * configure.in: Check for 'do not mix' from native linker beforeIan Lance Taylor3-0/+10
trying to use -rpath. * configure: Rebuild.
1996-02-16 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).Ian Lance Taylor1-0/+10
(SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR is set. (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field to the symbol lnnoptr field, to get the correct file offset. PR 7428.
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 Meissner2-0/+21
1996-02-15 * configure: Set and substitute RPATH_ENVVAR.Ian Lance Taylor3-0/+12
* configure: Rebuild. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386Ian Lance Taylor3-22/+42
doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild.
1996-02-14 From Alan Modra <alan@spri.levels.unisa.edu.au>:Ian Lance Taylor3-149/+112
* configure.in: Remove duplicate setting of cpu_type. Check whether opcodes library is required for on all targets, not just primary one. * configure: Rebuild.
1996-02-14rebuildIan Lance Taylor1-17/+18
1996-02-14Wed Feb 14 16:33:12 1996 Martin Anantharaman ↵Ian Lance Taylor5-2/+37
<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 * gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests.Ian Lance Taylor4-0/+302
* gas/mips/lb-xgot.d, gas/mips/ld-xgot.d: New tests. * gas/mips/lif-xgot.d, gas/mips/ulh-xgot.d: New tests. * gas/mips/mips.exp: Run new tests if svr4pic.
1996-02-14 * config/tc-mips.c (mips_big_got): New static variable.Ian Lance Taylor2-64/+642
(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 Taylor2-1/+7
<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 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.Ian Lance Taylor3-0/+11
* configure: Rebuild.
1996-02-13 * read.c (potable): Add "mri" and ".mri".Ian Lance Taylor4-0/+103
(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-12 * configure.in: Recognize any sparc* cpu.David Edelsohn3-4/+9
* configure: Regenerated.
1996-02-12 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as aIan Lance Taylor2-1/+6
comment character.
1996-02-12Mon Feb 12 15:16:29 1996 Andreas Schwab ↵Ian Lance Taylor4-32/+383
<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-12Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1-0/+5
* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace *really* is permissible before the comma.
1996-02-12 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary beforeIan Lance Taylor2-0/+8
inserting nop instructions. PR 8974.
1996-02-09 * config/te-aux.h: Change include of aux.h to aux-coff.h.Ian Lance Taylor2-1/+5
1996-02-09 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storageIan Lance Taylor1-0/+3
class setting for a CALLNAME symbol in COFF.
1996-02-09 * read.c (potable): Pass negative numbers for new .balign[wl] andIan Lance Taylor2-21/+40
.p2align[wl] pseudo-ops. (s_align_bytes): Treat a negative argument as specifying the fill length. (s_align_ptwo): Likewise.
1996-02-08 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.Ian Lance Taylor7-115/+236
(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 Taylor3-43/+100
(md_do_align): Define. * config/tc-sh.c (sh_do_align): New function. PR 8974.
1996-02-07 * ecoff.c (ecoff_build_lineno): Don't try to store the addressIan Lance Taylor2-8/+23
difference if the next address is before the current one.
1996-02-07update copyrightsIan Lance Taylor4-25/+40
1996-02-07 * config/tc-m68k.c (struct m68k_cpu): Add alias field.Ian Lance Taylor2-28/+65
(archs): Initialize new field. (m68k_ip): Don't list alias names when listing CPUs which support an instruction.
1996-02-07 * as.c (main): Call parse_args before read_begin.Ian Lance Taylor2-40/+60
* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in front of generated pseudo-ops. * read.c (potable): Ignore "name". (s_app_file): Permit a single quote after the string, since one may appear in m68k MRI mode.
1996-02-07 * configure.in: Check for --enable-shared. If linking againstIan Lance Taylor3-56/+380
shared BFD and opcodes, fix library name on SunOS, and try to set -rpath reasonably. * configure: Rebuild.
1996-02-06Rename XL to JX, and remove sanitization.Ian Lance Taylor3-54/+4
1996-02-05 * config/tc-i960.c (ARCH_HX): Define.Ian Lance Taylor2-32/+66
(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-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+19
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Set OPCODES and BFD to search directories. Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS. * configure: Rebuild. * Makefile.in (LDFLAGS, HLDFLAGS): New variables. (LIBDEPS): New variable. (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use $(HLDFLAGS) in link. (check): Set LD_LIBRARY_PATH in the environment.
1996-02-02Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+4
* Makefile.in (INSTALL_XFORM): Remove -e.
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor3-0/+50
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 Taylor3-18/+29
* config/obj-bout.h (S_IS_LOCAL): Likewise.
1996-02-01 * configure.in: Make sure we only add m68k-parse.o toIan Lance Taylor1-0/+7
${extra_objects} once, no matter how many m68k targets have been enabled. * configure: Rebuild.
1996-02-01 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.Steve Chamberlain3-218/+66
* configure: Rebuild.
1996-01-31 * config/obj-coff.h (S_IS_LOCAL): Check for \001 as well as \002.Ian Lance Taylor1-0/+2
1996-01-31Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+3
* config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble". * doc/c-m68k.texi: Document .extend and .ldouble.
1996-01-31Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor6-19/+80
* 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-31 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is notIan Lance Taylor1-0/+13
BSF_FUNCTION. (s_cpload): Set BSF_OBJECT for _gp_disp symbol. * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the symbol. * ecoff.c (add_procedure): Set the BSF_FUNCTION flag. (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of an undefined symbol and the size of a function symbol. * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT for all common symbols.
1996-01-30* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit scaling ofKen Raeburn2-811/+818
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 Taylor2-9/+14
of object. From Ronald F. Guilmette <rfg@monkeys.com>.
1996-01-29 * ecoff.c (localsym_t): Add addend field.Ian Lance Taylor2-56/+85
(add_ecoff_symbol): Add addend argument. Change all callers. (coff_sym_value): Make static. (coff_sym_addend): New static variable. (ecoff_directive_def): Initialize coff_sym_addend. (ecoff_directive_val): Accept symbol + constant. (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol. (ecoff_build_symbols): Include the addend in the symbol value.
1996-01-27 * gas/arc/warn.exp: Delete libs arg in call to dg-runtest.David Edelsohn1-4/+8
1996-01-27Ignore overflow on toc relocsKim Knuttila1-0/+11
1996-01-26 * gas/hppa/unsorted/unsorted.exp: Update for objdump changes.Jeff Law1-2/+4
1996-01-26 * config/tc-sparc.c (default_compatible): New static local.David Edelsohn1-0/+7
(md_begin): Initialize it. Rewrite warn_on_bump handling. (sparc_ip): If no architecture or -bump specified, don't mark as mismatched those in default_compatible.