David Edelsohn
2b09622a0d
* config/tc-sparc.c: (lookup_arch,init_default_arch): New functions.
...
(default_arch,default_init_p,sparc_arch_table): New static locals.
(sparc_arch_size): New static local.
(max_architecture): Initialize in init_default_arch.
(md_parse_options): Call init_default_arch if necessary.
Rewrite -xarch/-A processing.
(md_show_usage): Print -A values from sparc_arch_table.
(md_begin): Call init_default_arch if necessary.
(sparc_md_end): Handle both 32 and 64 bit environments.
* config/tc-sparc.h (TARGET_FORMAT): Likewise.
* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
(DEFAULT_ARCH): Add.
* config.in: Regenerate.
* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
(SPARC_V9,SPARC_ARCH64): Delete.
* configure: Regenerate.
* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
1997-09-19 00:57:16 +00:00
Nick Clifton
46ad7d6ccb
Reset processor mask if specified by command line switch
1997-09-19 00:43:54 +00:00
Nick Clifton
2b36e4c294
Oops - fixed typos in previous delta.
1997-09-18 23:15:05 +00:00
Nick Clifton
6df3c45f79
Proced error messages when special data are relocations are used on
...
instructions which do not support them.
1997-09-18 22:16:18 +00:00
David Edelsohn
af6f39b4c4
* config/tc-sparc.c: Reorganize file.
...
(SPECIAL_CASE_NONE): New macro.
(md_assemble): Use it.
1997-09-18 21:12:06 +00:00
Nick Clifton
920b87c437
Added code to cope with a constant offset to a ZDA relocation.
1997-09-18 21:09:14 +00:00
David Edelsohn
90a579fafd
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
1997-09-18 18:25:50 +00:00
David Edelsohn
bdb836d160
Remove arc sanitization.
1997-09-18 18:15:14 +00:00
Felix Lee
e1625ed217
v850 files that weren't being removed if !keep-v850
1997-09-18 01:33:24 +00:00
Nick Clifton
00fd8294ca
Corrected spelling mistake!
1997-09-18 00:43:19 +00:00
Nick Clifton
936a8f5549
Added support for ctoff() reloc prefix.
1997-09-17 23:55:26 +00:00
Nick Clifton
752851788a
Add support for a 16 bit relocation against the TDA register!
1997-09-16 21:16:15 +00:00
Nick Clifton
d30a2be45d
Added checking of instructions against target cpu.
1997-09-16 01:34:03 +00:00
Nick Clifton
210c24d6d1
Fixed sanitization
1997-09-10 21:00:03 +00:00
Gavin Romig-Koch
318b499d8e
Support tx19 sanitation.
1997-09-10 04:53:18 +00:00
Nick Clifton
9153e64334
Add new holio() reloc prefix.
1997-09-09 23:12:59 +00:00
Nick Clifton
1ffec08198
Add new pseudo ops: .v850, .v850e and .v850eq to specify the target processor.
1997-09-09 17:18:42 +00:00
Nick Clifton
b0b262f797
Only test for immediaqte overflow if there is no insertion function.
1997-09-08 23:17:55 +00:00
Nick Clifton
8816811b85
Add command line option to specify processor type.
1997-09-08 22:03:09 +00:00
Nick Clifton
1fd5f4fc62
Added -mwarn_unsigned_overflow so that defuault is to treat unsigned
...
values as signed values if they start to overflow.
1997-09-08 19:32:05 +00:00
Gavin Romig-Koch
b637f306ba
tx19 and related necessary changes.
...
* config.sub: Add tx19/r1900.
* sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900.
* gcc/config.sub, gcc/configure: Add tx19/r1900.
* gcc/config/mips/r1900.h, config/mips/t-r1900: New.
* gas/config/tc-mips.c: Add tx19/r1900.
* gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for
TARGET_SOFT_FLOAT.
* config.sub: Add "marketing-names" patch.
* gcc/config.sub: Add "marketing-names" patch.
* gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new";
Same for "ld" link.
1997-09-07 20:33:22 +00:00
Nick Clifton
6ff87eadf9
Removed v850 sanitization.
1997-09-03 23:06:11 +00:00
Nick Clifton
2d27848430
Removed the BFD_RELOC_V850_16_PCREL.
1997-09-03 18:19:50 +00:00
Nick Clifton
ccf107185d
Support for new relocations added. Support for SDA/TDA/ZDA sections added.
1997-09-02 23:01:27 +00:00
Andrew Cagney
28e1e54d13
* config/tc-v850.c (md_assemble): Use opcode->name instead of
...
opcode->opcode as the sentinal. Zero is a valid opcode.
1997-09-02 05:50:40 +00:00
Joern Rennecke
bf5ac1b8ed
SH4 assembler extensions.
1997-08-29 19:03:06 +00:00
Ian Lance Taylor
4b231a267c
* config/tc-alpha.c (load_expression): Check explicitly for O_big,
...
rather than calling abort.
1997-08-26 19:12:10 +00:00
Ian Lance Taylor
625ea5db80
Use address size prefix for loopw as for jcxz.
1997-08-26 16:33:34 +00:00
Ian Lance Taylor
02bdbd8b5d
* config/tc-i386.c (md_assemble): In JumpByte case, when looking
...
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
is jcxz.
1997-08-26 16:25:03 +00:00
Nick Clifton
b688e04e29
Set machine architecture and type.
1997-08-25 23:03:24 +00:00
Nick Clifton
cf735d2a93
Support constant expressions as register lists.
1997-08-25 18:21:02 +00:00
Nick Clifton
2b3e0f9e1e
Switch from C++ style comment to C style.
1997-08-25 16:41:18 +00:00
Nick Clifton
5f04449977
Add support for curly brace register list syntax.
1997-08-22 17:44:55 +00:00
Nick Clifton
f483cb11c8
Fixed v850_section to cope with original section styles as well.
1997-08-21 21:43:44 +00:00
Nick Clifton
19f40fdca7
Added support for NEC style assembler pseudo ops:
...
.section "name", <type>
.offset <expression>
.bss
1997-08-21 17:54:49 +00:00
Fred Fish
015b3352e5
Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
...
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
start-sanitize-tic80
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061
1997-08-19 16:46:03 +00:00
Nick Clifton
a365cd79ee
Add support for v850e and v850eq targets.
...
Add support for BFD_RELOC_V850_16_PCREL.
1997-08-18 18:26:42 +00:00
Nick Clifton
035d8553d7
Fixed typo in previous delta and added more sanitization.
1997-08-14 19:55:03 +00:00
Nick Clifton
323b12f8ce
oops - fixed typo.
1997-08-14 19:48:36 +00:00
Nick Clifton
58036ae4c9
Tidied up the sanitization.
1997-08-14 19:34:58 +00:00
Nick Clifton
32e23ecd9c
Added support for v850e and v850eq instructions.
1997-08-14 02:03:34 +00:00
Richard Henderson
8cf777d667
* as.h (enum _relax_state): Add rs_leb128.
...
* read.c (potable): Add sleb128 and uleb128.
(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
functions.
* read.h: Update prototypes.
* symbols.c (resolve_symbol_value): Streamline quite a bit. Return
the symbol value, add a second FINALIZE argument that prevents
changes from being comitted. Update all callers.
* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
* doc/as.texinfo: Document the new pseudos.
1997-08-12 05:42:00 +00:00
Ian Lance Taylor
4dc4c45dec
* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
...
Don't set targ or gas_target. Define SCO_ELF and
TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for
target_frag.
* Makefile.am: Remove @target_frag@.
(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
$(TDEFINES).
(dep-am): Mark as phony.
* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
and SCO_ELF.
* config/arm-big.mt, config/arm-lit.mt: Remove.
* config/mips-big.mt, config/mips-lit.mt: Remove.
* config/ppc-big.mt, config/ppc-lit.mt: Remove.
* config/ppc-sol.mt: Remove.
* config/i386coff.mt, config/m68kcoff.mt: Remove.
* config/m88kcoff.mt: Remove.
* config/sco5.mt: Remove.
* configure, config.in, Makefile.in: Rebuild.
1997-08-06 19:06:49 +00:00
Ian Lance Taylor
e2b4bd2ae1
* Makefile.am: New file, based on old Makefile.in.
...
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* config.in: New file, created by autoheader.
* conf.in: Remove.
* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
* stamp-h.in: New file.
* as.c (print_version_id): Change GAS_VERSION to VERSION.
(parse_args): Likewise.
* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure: Rebuild.
1997-08-06 04:30:05 +00:00
Ian Lance Taylor
703f5e6e28
* config/tc-mips.c (macro): Fix handling of a double load from a
...
symbol plus an offset.
This is the test case, with -mips1:
l.d $f0,values+256
1997-08-04 21:00:37 +00:00
Jeff Law
15d8ae9d85
* config/tc-v850.c (md_assemble): Sign extend constants value
...
for hi and hi0 expressions.
(v850_insert_operand): Enable range checking for generic 16bit
operands.
finish work for pr12944.
1997-07-31 21:11:17 +00:00
Jeff Law
d222309aef
* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
...
LO16, HI16 and HI16_S relocs.
pr12979
1997-07-29 20:19:02 +00:00
Fred Fish
e6e676a501
* config/tc-tic80.c (build_insn): Remove "extended" and replace with
...
"fx" and "fxfrag". Add "ffrag". Change code to initialize and use
the right f/ffrag and fx/fxfrag pairs since instruction may be split
across frags.
PR 12899
1997-07-24 20:34:02 +00:00
David Edelsohn
9f6da65302
* config/tc-sparc.c (last_opcode): New static local.
...
(md_assemble): Don't issue "FP branch in delay slot" warning if
the delay slot has been annulled.
1997-07-22 19:52:22 +00:00
Jeff Law
47bfb6fce3
* config/tc-v850.c (system_registers): Fix ordering of registers.
...
pr12913 (c/h from nec).
1997-07-21 14:54:49 +00:00