aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-27 16:51:52 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-27 16:51:52 +0000
commit741845cb9c3cc1c2f33560542b7c760bb7cda34e (patch)
tree10f4f8265e9b49a564b8cb169b0642fcd540f8a8 /elf
parentd1a9362acd957fe7e53f972caff407d196f2c2e5 (diff)
downloadglibc-741845cb9c3cc1c2f33560542b7c760bb7cda34e.zip
glibc-741845cb9c3cc1c2f33560542b7c760bb7cda34e.tar.gz
glibc-741845cb9c3cc1c2f33560542b7c760bb7cda34e.tar.bz2
Update.
2000-05-27 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check endianness to decide how to pass arguments. * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. * elf/vismain.c: Use test-skeleton interface. (TEST_FUNCTION): New macro. (do_test): Renamed from main.
Diffstat (limited to 'elf')
-rw-r--r--elf/vismain.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/elf/vismain.c b/elf/vismain.c
index f72c3e1..a976920 100644
--- a/elf/vismain.c
+++ b/elf/vismain.c
@@ -20,6 +20,14 @@
#include <stdlib.h>
#include <string.h>
+/* Prototype for our test function. */
+extern int do_test (void);
+
+#define TEST_FUNCTION do_test ()
+
+/* This defines the `main' function and some more. */
+#include <test-skeleton.c>
+
/* Prototypes for the functions in the DSOs. */
extern int calllocal1 (void);
extern int (*getlocal1 (void)) (void);
@@ -54,7 +62,7 @@ extern const char *protvarinmod;
extern const char *protvaritcpt;
int
-main (void)
+do_test (void)
{
int res = 0;
int val;