Commit graph

1557 commits

Author SHA1 Message Date
Nick Clifton
0012cae090 Added tc-fr30.h to things to loose 1998-11-10 21:32:30 +00:00
Nick Clifton
8f83181c30 Changes so that GAS will build - not work - just build. 1998-11-10 21:14:43 +00:00
Catherine Moore
de2c5b0dae * config/tc-d10v.h (obj_fix_adjustable): Define.
(TC_FORCE_RELOCATION):  Define.
        (d10v_force_relocation):  Declare.
        * config/tc-d10v.c (tc_gen_reloc):  Handle Vtable relocs.
        (md_apply_fix3):  Handle Vtable relocs.
        (d10v_fix_adjustable):  New.
        (d10v_force_relocation):  New.
1998-11-10 20:50:34 +00:00
Doug Evans
f3dc77c243 sanitize fr30 port for now 1998-11-05 23:53:05 +00:00
Dave Brolley
d22910f69f Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c: New file.
1998-11-05 21:11:29 +00:00
Ian Lance Taylor
668f52e048 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
* app.c (do_scrub_begin): Set characters above 127 to be symbol
	characters.
	(do_scrub_chars): Add some casts to unsigned char to avoid
	unwanted sign extension.
	* read.c (lex_type): Set characters about 127 to be symbol
	characters.
	* config/tc-i386.c (md_begin): Set identifier_chars and
	operand_chars for values above 127.
1998-11-03 01:16:02 +00:00
Michael Meissner
a561cd980b PR 17947: Add -> to indicate two instructions are explicitly serial 1998-10-27 00:36:15 +00:00
Catherine Moore
5aa001ff77 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
WEAK handling.
1998-10-24 20:24:50 +00:00
Ron Unrau
993b4e8d38 * config/tc-mips.c : support frame and regmask/fregmask when
MIPS_STABS_ELF is specified.
1998-10-22 16:02:52 +00:00
Ian Lance Taylor
7540e47096 Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (i386_operand): Check for garbage after
	register name.
1998-10-20 15:24:45 +00:00
Ian Lance Taylor
f5003e7d62 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
for BFD_ASSEMBLER to only change value when COFF if TE_PE.
1998-10-20 14:51:09 +00:00
Catherine Moore
7e2014e092 * config/tc-sh.h (obj_fix_adjustable): Define.
* config/tc-sh.c (sh_force_relocation):  Handle VT relocs.
        (md_apply_fix):  Likewise.
        (tc_gen_reloc):  Likewise.
        (sh_fix_adjustable):  New.
1998-10-20 01:26:55 +00:00
Catherine Moore
5dbf2f20a1 Fix typo. 1998-10-19 18:21:05 +00:00
Jeff Law
0ef1fa08dc * config/tc-sh.c (md_assemble): Make sure the entire opcode is
converted into lower case.
pr17413
1998-10-19 00:50:59 +00:00
Catherine Moore
0f829c8eae * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
(gas_cgen_tc_gen_reloc):  Likewise.
        * config/tc-m32r.h (obj_fix_adjustable):  Define.
        * config/tc-m32r.c (m32r_fix_adjustable):  New.
        (m32r_force_relocation):  Handle VTABLE relocs.
1998-10-16 18:45:25 +00:00
Nick Clifton
633f501677 Apply patches from PRs 16299, 17008 and 17140 1998-10-08 17:55:58 +00:00
Nick Clifton
726a394601 Ooops - failed to check in first part of patch for PR 17438 1998-10-08 17:19:55 +00:00
Nick Clifton
644a26542c Fix for PR 16299: Do not assume that bad relocations always have an associated symbol. 1998-10-07 21:10:16 +00:00
Jeff Law
e963374a58 * tc-hppa.c (fp_operand_format): Add some additional formats.
(pa_ip): Do not automatically promote into pa2.0 mode.
        (pa_level): Handle ".level 2.0".
start-sanitize-cygnus
        (struct pa_it): New field "trunc".
        (pa_parse_fp_cnv_format): New function.
        (pa_parse_ftest_gfx_completer): New function.
        (pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus
1998-10-05 06:52:58 +00:00
Nick Clifton
b481c113bb Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.
1998-09-30 18:12:57 +00:00
Nick Clifton
a173c5db00 Fic PR 17045: Do not allow insns in R bin if L bin contains a branch. 1998-09-24 16:31:20 +00:00
Nick Clifton
21056c79a4 PR 17438 - fix parsing of MVTSYS and MVFSYS insns. 1998-09-23 17:56:40 +00:00
Nick Clifton
973e995d34 Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
		are unacceptable.
1998-09-23 01:11:23 +00:00
Nick Clifton
aa7bf2a890 Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.
1998-09-22 22:48:42 +00:00
Doug Evans
3c62de83cd update tc-dvp.c with sky-980617-branch 1998-09-21 20:27:28 +00:00
Nick Clifton
e8dedcb3fe Fix PR 17105 - reset previous insn to empty after emitting NOPs. 1998-09-21 17:44:48 +00:00
Catherine Moore
61b113a94e * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
assembler syntax.
(obj_elf_vtable_entry):  Likewise.
* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol):  Remove coff-style symbol support.
Remove armelf sanitization.
1998-09-15 14:47:51 +00:00
Catherine Moore
d22136dc8c Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
* config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.
1998-09-08 23:20:30 +00:00
Richard Henderson
de1d28b669 * config/tc-i386.c (i386_operand): Detect non-segment registers
used as segment prefixes.
1998-09-08 22:57:36 +00:00
Nick Clifton
a03925a2fc Fixed generation of thumb function symbols. 1998-09-05 02:58:46 +00:00
Richard Henderson
b90891398c * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
to handle edge8 and edge16.
1998-09-02 18:30:59 +00:00
Richard Henderson
11e07ad09a * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
before we clobber the symbol involved.
1998-08-31 16:52:18 +00:00
Catherine Moore
cdb3d5f902 * config/tc-arm.c: Remove OBJ_ELF definitions for
S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
        use arm_adjust_symtab for OBJ_COFF.
        (armelf_adjust_symtab):  New Routine.
        * config/tc-arm.h:  Define obj_adjust_symtab to
        armelf_adjust_symtab for OBJ_ELF.
1998-08-31 16:06:30 +00:00
Richard Henderson
a1624e3f1b * configure.in: Make all i386-elf targets use bfd_gas.
* config/tc-i386.c (tc_i386_force_relocation): New.
        (tc_i386_fix_adjustable): Don't fix vtable relocs.
        (md_apply_fix3): Likewise.
        (tc_gen_reloc): Handle them.
        * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
        tc_i386_force_relocation.
1998-08-30 05:23:16 +00:00
Nick Clifton
080a50b635 Improve formatting of --help output 1998-08-24 20:41:35 +00:00
Ian Lance Taylor
61c49d6652 Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Only warn for address/data size
	prefixes.
1998-08-21 03:18:04 +00:00
Ian Lance Taylor
6e60709bd3 rework last patch 1998-08-20 21:58:15 +00:00
Nick Clifton
e93a31e414 do not adjust relocations against thumb function names as the linker needs
this information.
1998-08-20 21:47:17 +00:00
Ian Lance Taylor
af98e836ec check for mentions of sanitized files 1998-08-20 21:16:39 +00:00
Catherine Moore
38a29f0275 Add sanitization markers. 1998-08-19 16:40:22 +00:00
Catherine Moore
aae39e3784 tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
1998-08-18 17:03:48 +00:00
Ian Lance Taylor
6b34ac5a5c * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
small immediate constant to use the constant itself rather than
	always using 1.
1998-08-13 19:09:25 +00:00
Nick Clifton
80522b7d5b Document .req directive
Improve error message when unrecognised register name is encountered.
1998-08-12 17:32:39 +00:00
Ken Raeburn
3d759c53c9 sanitize-vr5400 -> sanitize-cygnus, for 98r2 1998-08-12 10:50:35 +00:00
Richard Henderson
a582ac33a3 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. 1998-08-08 22:23:44 +00:00
Nick Clifton
41129369a6 Set BFD private flags based on command line switches. 1998-08-05 22:55:12 +00:00
Catherine Moore
35fa3babe2 add armelf. 1998-08-02 17:30:11 +00:00
Richard Henderson
edc27ea5da * as.h (debug_info_type): Add entries for unspecified and dwarf*.
* ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
        as_where ourselves.  Provide a stub for !ECOFF_DEBUGGING.
        * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
        Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
        * read.c (generate_lineno_debug): Tidy ECOFF bits.  Use
        DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
        (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
        (INIT_STAB_SECTION): Likewise.
        (OBJ_PROCESS_STAB): Likewise.

        * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
        (md_parse_option): Watch for them.
        (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
        (md_begin): Kill neverdef code.
        (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
        (s_alpha_prologue): Watch alpha_cur_ent_sym.
        (s_alpha_coff_wrapper): New.
        (md_pseudo_table): Trap all ECOFF pseudos.
1998-08-02 02:39:52 +00:00
Ron Unrau
4f528afaf1 Start of changes to remove mdebug section from mips*-elf
Based on MIPS_STAB_ELF definition
        * acconfig.h: undef if not configured
        * config.in: undef if not configured
        * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
        * config/tc-mips.c (s_ent): set BSF_FUNCTION
        * stabs.c (s_stab_generic): flush frag
1998-07-31 21:56:15 +00:00
Catherine Moore
1667e4c2e0 * config/tc-arm.h: Add definitions for OBJ_ELF. 1998-07-31 21:44:56 +00:00