aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/abi-tag.h15
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c1
2 files changed, 12 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/abi-tag.h b/sysdeps/mach/hurd/abi-tag.h
index 0cf6e80c66..0498d6ebf5 100644
--- a/sysdeps/mach/hurd/abi-tag.h
+++ b/sysdeps/mach/hurd/abi-tag.h
@@ -1,5 +1,12 @@
-#define HURD_MAJOR_VERSION 0
-#define HURD_MINOR_VERSION 2
+#define ABI_HURD_TAG 1
-#define ABI_TAG ((HURD_MAJOR_VERSION << 24) + \
- (HURD_MINOR_VERSION << 16))
+#define ABI_HURD_MAJOR 0
+#define ABI_HURD_MINOR 0
+#define ABI_HURD_PATCH 0
+
+/* Don't use `|' in this expression, it is a comment character in the
+ assembler. */
+#define ABI_TAG ((ABI_HURD_TAG << 24) + \
+ (ABI_HURD_MAJOR << 16) + \
+ (ABI_HURD_MINOR << 8) + \
+ (ABI_HURD_PATCH << 0))
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 0f26abeb81..68c4cb3103 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -665,6 +665,7 @@ _exit (int status)
/* Read the whole contents of FILE into new mmap'd space with given
protections. The size of the file is returned in SIZE. */
void *
+weak_function
_dl_sysdep_read_whole_file (const char *file, size_t *size, int prot)
{
struct stat stat;