summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-04-01 15:13:31 +0000
committerJakub Jelinek <jakub@redhat.com>2005-04-01 15:13:31 +0000
commite8eaba2b25948c0e60f70c33c5c52aad70bbf5fc (patch)
tree020566c0ffd2d27131ee7bac45eea5560a4732bd /elf
parente3166b6660ce5f0640242a4806a380bb651a2291 (diff)
Updated to fedora-glibc-20050401T1444
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c1
-rw-r--r--elf/tls-macros.h2
-rw-r--r--elf/tst-auditmod1.c18
3 files changed, 19 insertions, 2 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index d9c2da2ac7..2ca108ef69 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -33,7 +33,6 @@
#include <sys/types.h>
#include "dynamic-link.h"
#include <abi-tag.h>
-#include <dl-osinfo.h>
#include <stackinfo.h>
#include <caller.h>
#include <sysdep.h>
diff --git a/elf/tls-macros.h b/elf/tls-macros.h
index c6626c2e75..f734417149 100644
--- a/elf/tls-macros.h
+++ b/elf/tls-macros.h
@@ -733,6 +733,6 @@ register void *__gp __asm__("$29");
})
#elif !defined TLS_LE || !defined TLS_IE \
- || !defined TLS_LD || !defined TLS_GD(x)
+ || !defined TLS_LD || !defined TLS_GD
# error "No support for this architecture so far."
#endif
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c
index 9b07588288..3876822429 100644
--- a/elf/tst-auditmod1.c
+++ b/elf/tst-auditmod1.c
@@ -162,6 +162,24 @@ la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
# define La_regs La_ia64_regs
# define La_retval La_ia64_retval
# define int_retval lrv_r8
+#elif defined __mips__ && _MIPS_SIM == _ABIO32
+# define pltenter la_mips_o32_gnu_pltenter
+# define pltexit la_mips_o32_gnu_pltexit
+# define La_regs La_mips_32_regs
+# define La_retval La_mips_32_retval
+# define int_retval lrv_v0
+#elif defined __mips__ && _MIPS_SIM == _ABIN32
+# define pltenter la_mips_n32_gnu_pltenter
+# define pltexit la_mips_n32_gnu_pltexit
+# define La_regs La_mips_64_regs
+# define La_retval La_mips_64_retval
+# define int_retval lrv_v0
+#elif defined __mips__ && _MIPS_SIM == _ABI64
+# define pltenter la_mips_n64_gnu_pltenter
+# define pltexit la_mips_n64_gnu_pltexit
+# define La_regs La_mips_64_regs
+# define La_retval La_mips_64_retval
+# define int_retval lrv_v0
#else
# error "architecture specific code needed"
#endif