Add ldconfig cache tag handling for AArch64
authorSteve McIntyre <steve.mcintyre@linaro.org>
Mon, 19 Nov 2012 06:22:33 +0000 (01:22 -0500)
committerCarlos O'Donell <carlos@systemhalted.org>
Mon, 19 Nov 2012 06:22:33 +0000 (01:22 -0500)
* 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>
ChangeLog
elf/cache.c
sysdeps/generic/ldconfig.h

index f16eab4b54614b87aebc968e6c7c2c20ec541ba3..63e00edcb151b97188cd133cc9170f10c190bd1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 3336babfe6df1ffb6057cdfeb63d2dc33bfbef66..f5ed370e7858a56128cccaf27ca4b14bcd3ade59 100644 (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:
index a805284d59b5bd601f122faf7af209a651e299a4..43cb9bdb0c09b21ee67d299a54f6dc7d03c3dd36 100644 (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"