mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
A workaround for clang problem assembling startup_raw.S
Signed-off-by: Vladimir Serbinenko <phcoder@google.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
0f1b648b45
commit
c6725996a9
1 file changed
+9
@@ -118,7 +118,16 @@ LOCAL (codestart):
|
|||||||
|
|
||||||
#include "../../../kern/i386/realmode.S"
|
#include "../../../kern/i386/realmode.S"
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* This is a workaround for clang adding a section containing only .addrsig
|
||||||
|
* Since clang itself is unable to assemble this pseudo-opcode, just replace
|
||||||
|
* it with .text
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define addrsig text
|
||||||
#include <rs_decoder.h>
|
#include <rs_decoder.h>
|
||||||
|
#undef addrsig
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user