aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--elf/ldconfig.c3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h2
4 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 42d84e4b2e..47b6f6ae55 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2001-03-07 Jakub Jelinek <jakub@redhat.com>
+ * elf/ldconfig.c (_dl_sysdep_message): Remove.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
+ ldsodefs.h.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
+
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
_dl_error_printf instead of _dl_sysdep_error.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 2318411773..4c00bce8fe 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -37,9 +37,6 @@
#include "ldconfig.h"
#include "dl-cache.h"
-/* We don't need this here - silence the compiler. */
-#define _dl_sysdep_message(string, args...) do {} while (0);
-
#include "dl-procinfo.h"
#ifndef LD_SO_CONF
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
index aff1c9d6b0..39cb8419f8 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
@@ -21,6 +21,8 @@
#ifndef _DL_PROCINFO_H
#define _DL_PROCINFO_H 1
+#include <ldsodefs.h>
+
/* If anything should be added here check whether the size of each string
is still ok with the given array size. */
static const char sparc32_cap_flags[][7] =
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
index 59a9e90143..5833902b17 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
@@ -21,6 +21,8 @@
#ifndef _DL_PROCINFO_H
#define _DL_PROCINFO_H 1
+#include <ldsodefs.h>
+
/* If anything should be added here check whether the size of each string
is still ok with the given array size. */
static const char sparc64_cap_flags[][7] =