Remove a workaround for a gas bug. It couldn't assemble a certain

lgdt instruction, but the binutils based one is fine and has been
for ages.
This commit is contained in:
Peter Wemm 2000-01-29 13:51:17 +00:00
parent 0219f40756
commit 7b387768d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56814
2 changed files with 2 additions and 6 deletions

View file

@ -193,9 +193,7 @@ NON_GPROF_ENTRY(bootMP)
/* Now load the global descriptor table */
addr32
data32
/* XXX: sigh: lgdt MP_GDTptr-_bootMP GAS BUG! */
.byte 0x0f, 0x01, 0x15 /* XXX hand assemble! */
.long MP_GDTptr-_bootMP /* XXX hand assemble! */
lgdt MP_GDTptr-_bootMP
/* Enable protected mode */
data32

View file

@ -193,9 +193,7 @@ NON_GPROF_ENTRY(bootMP)
/* Now load the global descriptor table */
addr32
data32
/* XXX: sigh: lgdt MP_GDTptr-_bootMP GAS BUG! */
.byte 0x0f, 0x01, 0x15 /* XXX hand assemble! */
.long MP_GDTptr-_bootMP /* XXX hand assemble! */
lgdt MP_GDTptr-_bootMP
/* Enable protected mode */
data32