Add ldconfig cache tag handling for AArch64

* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
	* elf/cache.c (print_entry): Print ",AArch64" for
	FLAG_AARCH64_LIB64.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
This commit is contained in:
Steve McIntyre 2012-11-19 01:22:33 -05:00 committed by Carlos O'Donell
parent 6665d4a25d
commit 1f51ee9246
3 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,9 @@
2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
* elf/cache.c (print_entry): Print ",AArch64" for
FLAG_AARCH64_LIB64
* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
* elf/cache.c (print_entry): Print ",hard-float" for
FLAG_ARM_LIBHF.

View file

@ -97,6 +97,9 @@ print_entry (const char *lib, int flag, unsigned int osversion,
case FLAG_ARM_LIBHF:
fputs (",hard-float", stdout);
break;
case FLAG_AARCH64_LIB64:
fputs (",AArch64", stdout);
break;
case 0:
break;
default:

View file

@ -35,6 +35,7 @@
#define FLAG_MIPS64_LIBN64 0x0700
#define FLAG_X8664_LIBX32 0x0800
#define FLAG_ARM_LIBHF 0x0900
#define FLAG_AARCH64_LIB64 0x0a00
/* Name of auxiliary cache. */
#define _PATH_LDCONFIG_AUX_CACHE "/var/cache/ldconfig/aux-cache"