aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/x86/lib/sections.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/x86/lib/sections.c')
-rw-r--r--roms/u-boot/arch/x86/lib/sections.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/u-boot/arch/x86/lib/sections.c b/roms/u-boot/arch/x86/lib/sections.c
new file mode 100644
index 000000000..375029ead
--- /dev/null
+++ b/roms/u-boot/arch/x86/lib/sections.c
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2013 Albert ARIBAUD <albert.u.boot@aribaud.net>
+ */
+#include <linux/compiler.h>
+
+char __efi_runtime_start[0] __section(".__efi_runtime_start");
+char __efi_runtime_stop[0] __section(".__efi_runtime_stop");
+char __efi_runtime_rel_start[0]
+ __section(".__efi_runtime_rel_start");
+char __efi_runtime_rel_stop[0]
+ __section(".__efi_runtime_rel_stop");