diff options
Diffstat (limited to 'arch/sandbox/lib/sections.c')
-rw-r--r-- | arch/sandbox/lib/sections.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sandbox/lib/sections.c b/arch/sandbox/lib/sections.c index 697a8167ddf..2559eeea38b 100644 --- a/arch/sandbox/lib/sections.c +++ b/arch/sandbox/lib/sections.c @@ -3,10 +3,11 @@ * Copyright 2013 Albert ARIBAUD <albert.u.boot@aribaud.net> * */ +#include <linux/compiler.h> -char __efi_runtime_start[0] __attribute__((section(".__efi_runtime_start"))); -char __efi_runtime_stop[0] __attribute__((section(".__efi_runtime_stop"))); +char __efi_runtime_start[0] __section(".__efi_runtime_start"); +char __efi_runtime_stop[0] __section(".__efi_runtime_stop"); char __efi_runtime_rel_start[0] - __attribute__((section(".__efi_runtime_rel_start"))); + __section(".__efi_runtime_rel_start"); char __efi_runtime_rel_stop[0] - __attribute__((section(".__efi_runtime_rel_stop"))); + __section(".__efi_runtime_rel_stop"); |