ソースを参照

Merge /u/xypron/gnu-efi/ branch GCC_visibility into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/20/
b'Nigel Croxon 3 年 前
コミット
9e7e6822b7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      inc/arm/efibind.h

+ 1 - 1
inc/arm/efibind.h

@@ -38,7 +38,7 @@ typedef int32_t             intptr_t;
  * This prevents GCC from emitting GOT based relocations, and use R_ARM_REL32
  * relative relocations instead, which are more suitable for static binaries.
  */
-#ifdef __GNUC__
+#if defined(__GNUC__) && !__STDC_HOSTED__
 #pragma GCC visibility push (hidden)
 #endif