This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
user.h on powerpc
- From: Arkadiusz Miskiewicz <arekm at maven dot pl>
- To: libc-alpha at sourceware dot org
- Date: Sat, 15 Mar 2008 08:30:28 +0100
- Subject: user.h on powerpc
Shouldn't user.h for ppc define these like it's in user.h
for other architectures?
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/user.h b/sysdeps/unix/sysv/linux/powerpc/sys/user.h
index e8a8aaa..c738220 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/user.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/user.h
@@ -37,4 +37,10 @@ struct user {
char u_comm[32]; /* user command name */
};
+#define NBPG PAGE_SIZE
+#define UPAGES 1
+#define HOST_TEXT_START_ADDR (u.start_code)
+#define HOST_DATA_START_ADDR (u.start_data)
+#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
+
#endif /* sys/user.h */
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/