summaryrefslogtreecommitdiff
path: root/src/vendorcode/intel/edk2
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-01-30 02:02:21 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-01-31 22:37:06 +0100
commiteaa014676ee264df5583764581344a1ea2301868 (patch)
treeb011d80c0c436c4e7d7c4a8279ce0f389acd2821 /src/vendorcode/intel/edk2
parente0918bbc68041bd474b9075617b66974fa72025a (diff)
vendorcode/intel: remove unused apple specific assembler macros
Since this code is pulled in through commonlib, it will break compilation of cbfstool on OSX. Change-Id: I342bfa7e755aa540c4563bb5cd8cccacee39d188 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/13525 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode/intel/edk2')
-rw-r--r--src/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Base.h10
-rw-r--r--src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Base.h b/src/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Base.h
index e403ebdedb..b7dc94d1fb 100644
--- a/src/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Base.h
+++ b/src/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Base.h
@@ -94,16 +94,6 @@ VERIFY_SIZE_OF (CHAR16, 2);
///
#define ASM_PFX(name) _CONCATENATE (__USER_LABEL_PREFIX__, name)
-#if __APPLE__
- //
- // Apple extension that is used by the linker to optimize code size
- // with assembly functions. Put at the end of your .S files
- //
- #define ASM_FUNCTION_REMOVE_IF_UNREFERENCED .subsections_via_symbols
-#else
- #define ASM_FUNCTION_REMOVE_IF_UNREFERENCED
-#endif
-
#ifdef __CC_ARM
//
// Older RVCT ARM compilers don't fully support #pragma pack and require __packed
diff --git a/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h b/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
index e68f8c9fb0..910730bc5f 100644
--- a/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
+++ b/src/vendorcode/intel/edk2/uefi_2.4/uefi_types.h
@@ -34,7 +34,6 @@ are permitted provided that the following conditions are met:
//
// Set the UEFI types and attributes
//
-#define __APPLE__ 0
#include <stdlib.h>
#include <Uefi/UefiBaseType.h>
#include <Pi/PiBootMode.h>