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>
This commit is contained in:
parent
e0918bbc68
commit
eaa014676e
|
@ -94,16 +94,6 @@ VERIFY_SIZE_OF (CHAR16, 2);
|
||||||
///
|
///
|
||||||
#define ASM_PFX(name) _CONCATENATE (__USER_LABEL_PREFIX__, name)
|
#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
|
#ifdef __CC_ARM
|
||||||
//
|
//
|
||||||
// Older RVCT ARM compilers don't fully support #pragma pack and require __packed
|
// Older RVCT ARM compilers don't fully support #pragma pack and require __packed
|
||||||
|
|
|
@ -34,7 +34,6 @@ are permitted provided that the following conditions are met:
|
||||||
//
|
//
|
||||||
// Set the UEFI types and attributes
|
// Set the UEFI types and attributes
|
||||||
//
|
//
|
||||||
#define __APPLE__ 0
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <Uefi/UefiBaseType.h>
|
#include <Uefi/UefiBaseType.h>
|
||||||
#include <Pi/PiBootMode.h>
|
#include <Pi/PiBootMode.h>
|
||||||
|
|
Loading…
Reference in New Issue