diff options
author | James Lemke <jlemke@cygnus> | 1998-06-16 18:13:46 +0000 |
---|---|---|
committer | James Lemke <jlemke@cygnus> | 1998-06-16 18:13:46 +0000 |
commit | 1106213c560f0adee00816e97017585deff2bc8d (patch) | |
tree | cb95e9a0ee48a9cbca8af6a7efe9986e7f5c16bc /sim | |
parent | e6db63245411a50e702a30b136803bbb74162671 (diff) | |
download | gdb-1106213c560f0adee00816e97017585deff2bc8d.zip gdb-1106213c560f0adee00816e97017585deff2bc8d.tar.gz gdb-1106213c560f0adee00816e97017585deff2bc8d.tar.bz2 |
Fix unresolved external error for sky_cpcond0 on non-SKY builds.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/mips/mips.igen | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index 3f38d7a..a9479b2 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -5384,10 +5384,12 @@ *r5900: // start-sanitize-sky { +#ifdef TARGET_SKY address_word offset = EXTEND16 (OFFSET) << 2; extern int sky_cpcond0; if (sky_cpcond0 == 0) DELAY_SLOT (NIA + offset); +#endif } // end-sanitize-sky // end-sanitize-r5900 @@ -5407,10 +5409,12 @@ *r5900: // start-sanitize-sky { +#ifdef TARGET_SKY address_word offset = EXTEND16 (OFFSET) << 2; extern int sky_cpcond0; if (sky_cpcond0 == 0) DELAY_SLOT (NIA + offset); +#endif } // end-sanitize-sky // end-sanitize-r5900 @@ -5423,10 +5427,12 @@ *r5900: // start-sanitize-sky { +#ifdef TARGET_SKY address_word offset = EXTEND16 (OFFSET) << 2; extern int sky_cpcond0; if (sky_cpcond0 != 0) DELAY_SLOT (NIA + offset); +#endif } // end-sanitize-sky // end-sanitize-r5900 @@ -5447,10 +5453,12 @@ *r5900: // start-sanitize-sky { +#ifdef TARGET_SKY address_word offset = EXTEND16 (OFFSET) << 2; extern int sky_cpcond0; if (sky_cpcond0 != 0) DELAY_SLOT (NIA + offset); +#endif } // end-sanitize-sky // end-sanitize-r5900 |