aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi/X64/ProcessorBind.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-06-07 12:24:42 +0100
committerMichael Brown <mcb30@ipxe.org>2023-06-07 12:24:42 +0100
commit3184ff74eb5fb65e12537b4047e941d406392561 (patch)
treef893addb20aa2333b3d50d1265b996bb7dc8f12d /src/include/ipxe/efi/X64/ProcessorBind.h
parent9cb0a4b8ecfa2aa24df36eb43d3f50dde32442d1 (diff)
downloadipxe-3184ff74eb5fb65e12537b4047e941d406392561.zip
ipxe-3184ff74eb5fb65e12537b4047e941d406392561.tar.gz
ipxe-3184ff74eb5fb65e12537b4047e941d406392561.tar.bz2
[efi] Update to current EDK2 headers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/X64/ProcessorBind.h')
-rw-r--r--src/include/ipxe/efi/X64/ProcessorBind.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/include/ipxe/efi/X64/ProcessorBind.h b/src/include/ipxe/efi/X64/ProcessorBind.h
index fa53404..062a77b 100644
--- a/src/include/ipxe/efi/X64/ProcessorBind.h
+++ b/src/include/ipxe/efi/X64/ProcessorBind.h
@@ -23,20 +23,6 @@ FILE_LICENCE ( BSD2_PATENT );
#pragma pack()
#endif
-#if defined (__GNUC__) && defined (__pic__) && !defined (USING_LTO) && !defined (__APPLE__)
-//
-// Mark all symbol declarations and references as hidden, meaning they will
-// not be subject to symbol preemption. This allows the compiler to refer to
-// symbols directly using relative references rather than via the GOT, which
-// contains absolute symbol addresses that are subject to runtime relocation.
-//
-// The LTO linker will not emit GOT based relocations when all symbol
-// references can be resolved locally, and so there is no need to set the
-// pragma in that case (and doing so will cause other issues).
-//
- #pragma GCC visibility push (hidden)
-#endif
-
#if defined (__INTEL_COMPILER)
//
// Disable ICC's remark #869: "Parameter" was never referenced warning.
@@ -105,18 +91,14 @@ FILE_LICENCE ( BSD2_PATENT );
#if defined (_MSC_VER) && _MSC_VER >= 1800
//
-// Disable these warnings for VS2013.
-//
-
-//
// This warning is for potentially uninitialized local variable, and it may cause false
-// positive issues in VS2013 and VS2015 build
+// positive issues in VS2015 build
//
#pragma warning ( disable : 4701 )
//
// This warning is for potentially uninitialized local pointer variable, and it may cause
-// false positive issues in VS2013 and VS2015 build
+// false positive issues in VS2015 build
//
#pragma warning ( disable : 4703 )