summaryrefslogtreecommitdiff
path: root/ldso/ldso/cris
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/cris
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/cris')
-rw-r--r--ldso/ldso/cris/boot1_arch.h1
-rw-r--r--ldso/ldso/cris/dl-startup.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/cris/boot1_arch.h b/ldso/ldso/cris/boot1_arch.h
index d51cd59d3..bf7714539 100644
--- a/ldso/ldso/cris/boot1_arch.h
+++ b/ldso/ldso/cris/boot1_arch.h
@@ -13,3 +13,4 @@ asm("" \
" jsr $r9\n" \
);
+#define DL_BOOT(X) static void __attribute__ ((unused)) _dl_boot2 (X)
diff --git a/ldso/ldso/cris/dl-startup.h b/ldso/ldso/cris/dl-startup.h
index d51cd59d3..bf7714539 100644
--- a/ldso/ldso/cris/dl-startup.h
+++ b/ldso/ldso/cris/dl-startup.h
@@ -13,3 +13,4 @@ asm("" \
" jsr $r9\n" \
);
+#define DL_BOOT(X) static void __attribute__ ((unused)) _dl_boot2 (X)