diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-31 14:42:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-31 14:42:18 +0000 |
commit | 8be7befaf4911a64c1df3844a56b50d227410ae0 (patch) | |
tree | b8f4d3112ea23401b2bd55d359f39db7ad01d716 /c/src/lib | |
parent | Patch from John M. Mills <jmills@tga.com> to include more (diff) | |
download | rtems-8be7befaf4911a64c1df3844a56b50d227410ae0.tar.bz2 |
BSP now links although this change is untested.
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/start/start.S | 10 |
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): |