Integral has uploaded this change for review.

View Change

arch/arm/eabi_compat.c: fix warnings of macros

Change-Id: I232f011ba0567af78c69eb8f73366b03d29c2839
Signed-off-by: Integral <integral@member.fsf.org>
---
M src/arch/arm/eabi_compat.c
1 file changed, 3 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/82072/1
diff --git a/src/arch/arm/eabi_compat.c b/src/arch/arm/eabi_compat.c
index 849fc65..dde564b 100644
--- a/src/arch/arm/eabi_compat.c
+++ b/src/arch/arm/eabi_compat.c
@@ -5,7 +5,7 @@
#include <console/console.h>

/* FIXME(dhendrix): prototypes added for assembler */
-int raise(int signum) __attribute__((used));
+int raise(int signum) __used;
int raise(int signum)
{
printk(BIOS_CRIT, "%s: Signal # %d caught\n", __func__, signum);
@@ -13,12 +13,12 @@
}

/* Dummy function to avoid linker complaints */
-void __aeabi_unwind_cpp_pr0(void) __attribute__((used));
+void __aeabi_unwind_cpp_pr0(void) __used;
void __aeabi_unwind_cpp_pr0(void)
{
}

-void __aeabi_unwind_cpp_pr1(void) __attribute__((used));
+void __aeabi_unwind_cpp_pr1(void) __used;
void __aeabi_unwind_cpp_pr1(void)
{
}

To view, visit change 82072. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I232f011ba0567af78c69eb8f73366b03d29c2839
Gerrit-Change-Number: 82072
Gerrit-PatchSet: 1
Gerrit-Owner: Integral <integral@member.fsf.org>
Gerrit-MessageType: newchange