summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh64
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-07 12:26:36 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-07 12:26:36 +0000
commitfa34293971565db3c5b63a2e998e2f8ed730eccb (patch)
treef126c09d33a73acf14b367e84c12eff2056e8065 /ldso/ldso/sh64
parent9770574ad325ca6a0c5b5ae4e5eab84d43c6fbe9 (diff)
Restore the library entry point so it works. It does have
to be arch specific to work properly.
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)
+