mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 21:54:50 +00:00
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:
parent
0219f40756
commit
7b387768d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56814
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue