Browse Source

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

https://sourceforge.net/p/gnu-efi/code/merge-requests/20/
b'Nigel Croxon 3 năm trước cách đây
mục cha
commit
9e7e6822b7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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