From b5bac573e6adefab9fb3f693a42434b77ed5a0da Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 14 Mar 2003 05:32:50 +0000 Subject: * 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 --- ChangeLog | 6 ++++++ elf/cache.c | 8 +++++++- sysdeps/generic/ldconfig.h | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8479343256..cd764ebba8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-03-14 Alexandre Oliva + + * 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 * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. diff --git a/elf/cache.c b/elf/cache.c index 4f72f10491..e34ea5ccf5 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 , 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 db29a9d224..9da8d6b3d1 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 , 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); -- cgit v1.2.3