aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:32:50 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:32:50 +0000
commitb5bac573e6adefab9fb3f693a42434b77ed5a0da (patch)
tree74e9cd080744772c566d02427af97e184be781d8
parent5ace1393645876e733698cc05dac51a8bfbec965 (diff)
downloadglibc-b5bac573e6adefab9fb3f693a42434b77ed5a0da.zip
glibc-b5bac573e6adefab9fb3f693a42434b77ed5a0da.tar.gz
glibc-b5bac573e6adefab9fb3f693a42434b77ed5a0da.tar.bz2
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, FLAG_MIPS64_LIBN64): Define. * elf/cache.c (print_entry): Handle mips64 n32 and n64.
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, FLAG_MIPS64_LIBN64): Define. * elf/cache.c (print_entry): Handle mips64 n32 and n64. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
-rw-r--r--ChangeLog6
-rw-r--r--elf/cache.c8
-rw-r--r--sysdeps/generic/ldconfig.h4
3 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8479343..cd764eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
+ * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
+ FLAG_MIPS64_LIBN64): Define.
+ * elf/cache.c (print_entry): Handle mips64 n32 and n64.
+
+2003-03-14 Alexandre Oliva <aoliva@redhat.com>
+
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
* sysdeps/mips/memset.S: Likewise.
* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
diff --git a/elf/cache.c b/elf/cache.c
index 4f72f10..e34ea5c 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002, 2003
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
@@ -86,6 +87,11 @@ print_entry (const char *lib, int flag, unsigned int osversion,
case FLAG_POWERPC_LIB64:
fputs(",64bit", stdout);
break;
+ case FLAG_MIPS64_LIBN32:
+ fputs(",N32", stdout);
+ break;
+ case FLAG_MIPS64_LIBN64:
+ fputs(",64bit", stdout);
case 0:
break;
default:
diff --git a/sysdeps/generic/ldconfig.h b/sysdeps/generic/ldconfig.h
index db29a9d..9da8d6b 100644
--- a/sysdeps/generic/ldconfig.h
+++ b/sysdeps/generic/ldconfig.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
@@ -32,6 +32,8 @@
#define FLAG_X8664_LIB64 0x0300
#define FLAG_S390_LIB64 0x0400
#define FLAG_POWERPC_LIB64 0x0500
+#define FLAG_MIPS64_LIBN32 0x0600
+#define FLAG_MIPS64_LIBN64 0x0700
/* Declared in cache.c. */
extern void print_cache (const char *cache_name);