summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-31 14:42:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-31 14:42:18 +0000
commit8be7befaf4911a64c1df3844a56b50d227410ae0 (patch)
treeb8f4d3112ea23401b2bd55d359f39db7ad01d716 /c/src
parentPatch from John M. Mills <jmills@tga.com> to include more (diff)
downloadrtems-8be7befaf4911a64c1df3844a56b50d227410ae0.tar.bz2
BSP now links although this change is untested.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libbsp/i386/i386ex/start/start.S10
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/start/start.S b/c/src/lib/libbsp/i386/i386ex/start/start.S
index 7d921c0b64..80f7b8cdf1 100644
--- a/c/src/lib/libbsp/i386/i386ex/start/start.S
+++ b/c/src/lib/libbsp/i386/i386ex/start/start.S
@@ -88,7 +88,11 @@ END_DATA
SYM(reset):
nop
cli
+#ifdef NEW_GAS
+ data32 addr32 jmp SYM(_initInternalRegisters) /* different section in this file */
+#else
jmp SYM(_initInternalRegisters) /* different section in this file */
+#endif
/* .code32 in case this section moves */
nop /* required by CHIP LAB to pad out size */
nop
@@ -374,10 +378,10 @@ SYM(SetUCS1):
****************************/
#ifdef NEW_GAS
- data32
- addr32
-#endif
+ data32 addr32 lgdt SYM(GDTR) # location of GDT
+#else
lgdt SYM(GDTR) # location of GDT
+#endif
SYM(SetUCS):