Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c
Date: Fri, 30 Nov 2012 23:25:18
Message-Id: 20121130232507.5549920C65@flycatcher.gentoo.org
1 vapier 12/11/30 23:25:07
2
3 Modified: scanelf.c
4 Log:
5 update ldconfig flags
6
7 Revision Changes Path
8 1.253 pax-utils/scanelf.c
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.253&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.253&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?r1=1.252&r2=1.253
13
14 Index: scanelf.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v
17 retrieving revision 1.252
18 retrieving revision 1.253
19 diff -u -r1.252 -r1.253
20 --- scanelf.c 18 Nov 2012 07:39:45 -0000 1.252
21 +++ scanelf.c 30 Nov 2012 23:25:07 -0000 1.253
22 @@ -1,13 +1,13 @@
23 /*
24 * Copyright 2003-2012 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.252 2012/11/18 07:39:45 vapier Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.253 2012/11/30 23:25:07 vapier Exp $
28 *
29 * Copyright 2003-2012 Ned Ludd - <solar@g.o>
30 * Copyright 2004-2012 Mike Frysinger - <vapier@g.o>
31 */
32
33 -static const char rcsid[] = "$Id: scanelf.c,v 1.252 2012/11/18 07:39:45 vapier Exp $";
34 +static const char rcsid[] = "$Id: scanelf.c,v 1.253 2012/11/30 23:25:07 vapier Exp $";
35 const char argv0[] = "scanelf";
36
37 #include "paxinc.h"
38 @@ -765,6 +765,7 @@
39 xstrcat(ret, " - ", ret_len);
40 }
41
42 +/* Defines can be seen in glibc's sysdeps/generic/ldconfig.h */
43 #define LDSO_CACHE_MAGIC "ld.so-"
44 #define LDSO_CACHE_MAGIC_LEN (sizeof LDSO_CACHE_MAGIC -1)
45 #define LDSO_CACHE_VER "1.7.0"
46 @@ -783,6 +784,9 @@
47 #define FLAG_POWERPC_LIB64 0x0500
48 #define FLAG_MIPS64_LIBN32 0x0600
49 #define FLAG_MIPS64_LIBN64 0x0700
50 +#define FLAG_X8664_LIBX32 0x0800
51 +#define FLAG_ARM_LIBHF 0x0900
52 +#define FLAG_AARCH64_LIB64 0x0a00
53
54 #if defined(__GLIBC__) || defined(__UCLIBC__)