summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh64
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/sh64')
-rw-r--r--ldso/ldso/sh64/boot1_arch.h2
-rw-r--r--ldso/ldso/sh64/dl-startup.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/sh64/boot1_arch.h b/ldso/ldso/sh64/boot1_arch.h
index 7c4c3bc64..4c6f3c5e2 100644
--- a/ldso/ldso/sh64/boot1_arch.h
+++ b/ldso/ldso/sh64/boot1_arch.h
@@ -21,3 +21,5 @@ asm("" \
" blink tr0, r18 ! call _dl_boot2 - user EP is in r2\n" \
);
+#define DL_BOOT(X) static void __attribute__ ((unused)) _dl_boot2 (X)
+
diff --git a/ldso/ldso/sh64/dl-startup.h b/ldso/ldso/sh64/dl-startup.h
index 7c4c3bc64..4c6f3c5e2 100644
--- a/ldso/ldso/sh64/dl-startup.h
+++ b/ldso/ldso/sh64/dl-startup.h
@@ -21,3 +21,5 @@ asm("" \
" blink tr0, r18 ! call _dl_boot2 - user EP is in r2\n" \
);
+#define DL_BOOT(X) static void __attribute__ ((unused)) _dl_boot2 (X)
+