mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 00:52:16 +08:00
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.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
Sun Sep 7 15:55:28 1997 Gavin Koch <gavin@cygnus.com>
|
||||||
|
|
||||||
|
* config.sub: Add "marketing-names" patch.
|
||||||
|
|
||||||
|
start-sanitize-tx19
|
||||||
|
* config.sub: Add tx19/r1900.
|
||||||
|
|
||||||
|
end-sanitize-tx19
|
||||||
Fri Sep 5 16:11:28 1997 Joel Sherrill (joel@OARcorp.com)
|
Fri Sep 5 16:11:28 1997 Joel Sherrill (joel@OARcorp.com)
|
||||||
|
|
||||||
* configure.in (*-*-rtems*): Do not build libgloss for rtems.
|
* configure.in (*-*-rtems*): Do not build libgloss for rtems.
|
||||||
|
39
config.sub
vendored
39
config.sub
vendored
@ -64,6 +64,20 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# CYGNUS LOCAL marketing-names
|
||||||
|
# Here we handle any "marketing" names - translating them to
|
||||||
|
# standard triplets
|
||||||
|
case $1 in
|
||||||
|
# start-sanitize-tx19
|
||||||
|
mips-tx19-elf)
|
||||||
|
set mipstx19-unknown-elf
|
||||||
|
;;
|
||||||
|
# end-sanitize-tx19
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# END CYGNUS LOCAL marketing-names
|
||||||
|
|
||||||
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
|
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
|
||||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
@ -172,6 +186,11 @@ case $basic_machine in
|
|||||||
m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
|
m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
|
# start-sanitize-tx19
|
||||||
|
mipstx19 | mipstx19el)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
;;
|
||||||
|
# end-sanitize-tx19
|
||||||
mips64vr4300 | mips64vr4300el) # CYGNUS LOCAL jsmith/vr4300
|
mips64vr4300 | mips64vr4300el) # CYGNUS LOCAL jsmith/vr4300
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
@ -259,6 +278,10 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
mips64vr4100-* | mips64vr4100el-*) # CYGNUS LOCAL jsmith/vr4100
|
mips64vr4100-* | mips64vr4100el-*) # CYGNUS LOCAL jsmith/vr4100
|
||||||
;;
|
;;
|
||||||
|
# start-sanitize-tx19
|
||||||
|
mipstx19-* | mipstx19el-*)
|
||||||
|
;;
|
||||||
|
# end-sanitize-tx19
|
||||||
# start-sanitize-r5900
|
# start-sanitize-r5900
|
||||||
mips64vr5900-* | mips64vr5900el-*) # CYGNUS LOCAL gavin/r5900
|
mips64vr5900-* | mips64vr5900el-*) # CYGNUS LOCAL gavin/r5900
|
||||||
;;
|
;;
|
||||||
@ -680,6 +703,14 @@ case $basic_machine in
|
|||||||
ps2)
|
ps2)
|
||||||
basic_machine=i386-ibm
|
basic_machine=i386-ibm
|
||||||
;;
|
;;
|
||||||
|
# start-sanitize-tx19
|
||||||
|
r1900)
|
||||||
|
basic_machine=mipstx19-unknown
|
||||||
|
;;
|
||||||
|
r1900el)
|
||||||
|
basic_machine=mipstx19el-unknown
|
||||||
|
;;
|
||||||
|
# end-sanitize-tx19
|
||||||
# start-sanitize-r5900
|
# start-sanitize-r5900
|
||||||
r5900) # CYGNUS LOCAL
|
r5900) # CYGNUS LOCAL
|
||||||
basic_machine=mips64vr5900el-unknown
|
basic_machine=mips64vr5900el-unknown
|
||||||
@ -768,6 +799,14 @@ case $basic_machine in
|
|||||||
basic_machine=i386-sequent
|
basic_machine=i386-sequent
|
||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
|
# start-sanitize-tx19
|
||||||
|
tx19)
|
||||||
|
basic_machine=mipstx19-unknown
|
||||||
|
;;
|
||||||
|
tx19el)
|
||||||
|
basic_machine=mipstx19el-unknown
|
||||||
|
;;
|
||||||
|
# end-sanitize-tx19
|
||||||
tx39)
|
tx39)
|
||||||
basic_machine=mipstx39-unknown
|
basic_machine=mipstx39-unknown
|
||||||
;;
|
;;
|
||||||
|
@ -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>
|
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
|
* config/tc-alpha.c (md_parse_option): Move m[] out to top level and
|
||||||
|
@ -199,6 +199,11 @@ static int mips_4010 = -1;
|
|||||||
/* Whether the 4100 MADD16 and DMADD16 are permitted. */
|
/* Whether the 4100 MADD16 and DMADD16 are permitted. */
|
||||||
static int mips_4100 = -1;
|
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 */
|
/* start-sanitize-r5900 */
|
||||||
/* Whether Toshiba r5900 instructions are permitted. */
|
/* Whether Toshiba r5900 instructions are permitted. */
|
||||||
static int mips_5900 = -1;
|
static int mips_5900 = -1;
|
||||||
@ -796,6 +801,17 @@ md_begin ()
|
|||||||
if (mips_cpu == -1)
|
if (mips_cpu == -1)
|
||||||
mips_cpu = 3000;
|
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
|
else if (strcmp (cpu, "r3900") == 0
|
||||||
|| strcmp (cpu, "mipsr3900") == 0)
|
|| strcmp (cpu, "mipsr3900") == 0)
|
||||||
{
|
{
|
||||||
@ -10635,7 +10651,7 @@ md_convert_frag (abfd, asec, fragp)
|
|||||||
ext = false;
|
ext = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
resolve_symbol_value (fragp->fr_symbol);
|
resolve_symbol_value (fragp->fr_symbol, 1);
|
||||||
val = S_GET_VALUE (fragp->fr_symbol);
|
val = S_GET_VALUE (fragp->fr_symbol);
|
||||||
if (op->pcrel)
|
if (op->pcrel)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
start-sanitize-tx19
|
||||||
|
Sun Sep 7 16:05:46 1997 Gavin Koch <gavin@cygnus.com>
|
||||||
|
|
||||||
|
* mips/configure.in, mips/gencode: Add tx19/r1900.
|
||||||
|
|
||||||
|
end-sanitize-tx19
|
||||||
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
|
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
|
||||||
|
|
||||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||||
|
@ -14,6 +14,9 @@ SIM_AC_OPTION_WARNINGS
|
|||||||
|
|
||||||
# Ensure a reasonable default simulator is constructed:
|
# Ensure a reasonable default simulator is constructed:
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
|
# start-sanitize-tx19
|
||||||
|
mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
|
||||||
|
# end-sanitize-tx19
|
||||||
# start-sanitize-r5900
|
# start-sanitize-r5900
|
||||||
mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
|
mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
|
||||||
# end-sanitize-r5900
|
# end-sanitize-r5900
|
||||||
|
@ -475,9 +475,15 @@ typedef struct instruction {
|
|||||||
/* start-sanitize-r5900 */
|
/* start-sanitize-r5900 */
|
||||||
#define ARCH_R5900 ((unsigned)1 << 30) /* Toshiba r5900 extension instructions */
|
#define ARCH_R5900 ((unsigned)1 << 30) /* Toshiba r5900 extension instructions */
|
||||||
/* end-sanitize-r5900 */
|
/* end-sanitize-r5900 */
|
||||||
|
/* start-sanitize-tx19 */
|
||||||
|
#define ARCH_TX19 ((unsigned)1 << 27) /* Toshiba TX19 extention instruction */
|
||||||
|
/* end-sanitize-tx19 */
|
||||||
|
|
||||||
/* A list (or'ed) of extension insn sets that can be requested independant of the ISA# */
|
/* A list (or'ed) of extension insn sets that can be requested independant of the ISA# */
|
||||||
#define MASK_ISA_INDEP (0 \
|
#define MASK_ISA_INDEP (0 \
|
||||||
|
/* start-sanitize-tx19 */ \
|
||||||
|
| ARCH_TX19 \
|
||||||
|
/* end-sanitize-tx19 */ \
|
||||||
/* start-sanitize-r5900 */ \
|
/* start-sanitize-r5900 */ \
|
||||||
| ARCH_R5900 \
|
| ARCH_R5900 \
|
||||||
/* end-sanitize-r5900 */ \
|
/* end-sanitize-r5900 */ \
|
||||||
@ -4111,6 +4117,9 @@ struct architectures {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct architectures available_architectures[] = {
|
static const struct architectures available_architectures[] = {
|
||||||
|
/* start-sanitize-tx19 */
|
||||||
|
{"1900",ARCH_TX19}, /* Toshiba TX19 */
|
||||||
|
/* end-sanitize-tx19 */
|
||||||
{"4100",ARCH_VR4100}, /* NEC MIPS VR4100 */
|
{"4100",ARCH_VR4100}, /* NEC MIPS VR4100 */
|
||||||
/* start-sanitize-r5900 */
|
/* start-sanitize-r5900 */
|
||||||
{"5900",ARCH_R5900},
|
{"5900",ARCH_R5900},
|
||||||
|
Reference in New Issue
Block a user