summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-10 19:22:55 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-10 19:22:55 +0000
commita31e78d2e43ff0f3cb46c040122370f68428cc0a (patch)
tree1fc10acf636444cba5eb38764835b438482bc216 /loader
parentc6e1ba00c7a44d2160b57017ca5c290d1f438d02 (diff)
downloadanaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.tar.gz
anaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.tar.xz
anaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.zip
some non-controversial bits of sparc. also pulls in updated loader/stubs.c
which should fix non-diet minilibc build
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c2
-rw-r--r--loader/module-info7
-rw-r--r--loader/stubs.c2
3 files changed, 6 insertions, 5 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 8c796ca30..bcb5ba8d2 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -45,7 +45,7 @@
#include <sys/vt.h>
#include <linux/fb.h>
-#if defined(__i386__) || defined(__ia64__) || defined(__alpha__)
+#if defined(__i386__) || defined(__ia64__) || defined(__alpha__) || defined(__sparc__) || defined(__sparc64__)
#include <linux/cdrom.h>
#endif
diff --git a/loader/module-info b/loader/module-info
index b8fb8456a..548526dfc 100644
--- a/loader/module-info
+++ b/loader/module-info
@@ -416,10 +416,9 @@ strip
strip_proto
"Starmode Radio IP"
-# Not a module, may never be?
-#sunlance
-# eth
-# "Linux/Sparc/Lance Ethernet"
+sunlance
+ eth
+ "Linux/Sparc/Lance Ethernet"
sunbmac
eth
diff --git a/loader/stubs.c b/loader/stubs.c
index 735843ec9..1dde0e77c 100644
--- a/loader/stubs.c
+++ b/loader/stubs.c
@@ -115,6 +115,8 @@ int _nl_C_LC_PAPER() { return 0; }
int _nl_C_LC_ADDRESS() { return 0; }
int _dl_clktck() { return 0;}
int _dl_aux_init() { return 0;}
+int _dl_non_dynamic_init() { return 0; }
+void * _dl_important_hwcaps() { return 0; }
void * __libc_dlopen() {return 0;}
void * __libc_dlsym() {return 0;}
void * __libc_dlclose() {return 0;}