summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-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):