diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1997-09-07 20:33:22 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1997-09-07 20:33:22 +0000 |
commit | b637f306bac78d02ec2944199271dd989a31abb2 (patch) | |
tree | 8d19f79178b509227f99a005a2a244b9eb5d3a51 /gas | |
parent | 4a04414acea793a319071b5e213178c2019709a2 (diff) | |
download | gdb-b637f306bac78d02ec2944199271dd989a31abb2.zip gdb-b637f306bac78d02ec2944199271dd989a31abb2.tar.gz gdb-b637f306bac78d02ec2944199271dd989a31abb2.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 18 |
2 files changed, 23 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index ff72e83..6ff1d9a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-tx19 +Sun Sep 7 16:04:53 1997 Gavin Koch <gavin@cygnus.com> + + * config/tc-mips.c: Add tx19/r1900. + +end-sanitize-tx19 Sun Sep 7 00:30:19 1997 Richard Henderson <rth@cygnus.com> * config/tc-alpha.c (md_parse_option): Move m[] out to top level and diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 790a886..967c374 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -199,6 +199,11 @@ static int mips_4010 = -1; /* Whether the 4100 MADD16 and DMADD16 are permitted. */ static int mips_4100 = -1; +/* start-sanitize-tx19 */ +/* Whether Toshiba r3900 instructions are permitted. */ +static int mips_1900 = -1; +/* end-sanitize-tx19 */ + /* start-sanitize-r5900 */ /* Whether Toshiba r5900 instructions are permitted. */ static int mips_5900 = -1; @@ -796,6 +801,17 @@ md_begin () if (mips_cpu == -1) mips_cpu = 3000; } + /* start-sanitize-tx19 */ + else if (strcmp (cpu, "r1900") == 0 + || strcmp (cpu, "mipstx19") == 0) + { + mips_opts.isa = 1; + if (mips_cpu == -1) + mips_cpu = 1900; + if (mips_1900 == -1) + mips_1900 = 1; + } + /* end-sanitize-tx19 */ else if (strcmp (cpu, "r3900") == 0 || strcmp (cpu, "mipsr3900") == 0) { @@ -10635,7 +10651,7 @@ md_convert_frag (abfd, asec, fragp) ext = false; } - resolve_symbol_value (fragp->fr_symbol); + resolve_symbol_value (fragp->fr_symbol, 1); val = S_GET_VALUE (fragp->fr_symbol); if (op->pcrel) { |