/[gentoo-projects]/pax-utils/scanelf.c
Gentoo

Diff of /pax-utils/scanelf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.120 Revision 1.121
1/* 1/*
2 * Copyright 2003-2006 Gentoo Foundation 2 * Copyright 2003-2006 Gentoo Foundation
3 * Distributed under the terms of the GNU General Public License v2 3 * Distributed under the terms of the GNU General Public License v2
4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanelf.c,v 1.120 2006/02/05 03:01:30 solar Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanelf.c,v 1.121 2006/02/05 17:10:52 solar Exp $
5 * 5 *
6 * Copyright 2003-2006 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2003-2006 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2004-2006 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2004-2006 Mike Frysinger - <vapier@gentoo.org>
8 */ 8 */
9 9
10#include "paxinc.h" 10#include "paxinc.h"
11 11
12static const char *rcsid = "$Id: scanelf.c,v 1.120 2006/02/05 03:01:30 solar Exp $"; 12static const char *rcsid = "$Id: scanelf.c,v 1.121 2006/02/05 17:10:52 solar Exp $";
13#define argv0 "scanelf" 13#define argv0 "scanelf"
14 14
15#define IS_MODIFIER(c) (c == '%' || c == '#') 15#define IS_MODIFIER(c) (c == '%' || c == '#')
16 16
17 17
1364 puts(" S SONAME"); 1364 puts(" S SONAME");
1365 puts(" p filename (with search path removed)"); 1365 puts(" p filename (with search path removed)");
1366 puts(" f filename (short name/basename)"); 1366 puts(" f filename (short name/basename)");
1367 puts("Prefix each modifier with '%' (verbose) or '#' (silent)"); 1367 puts("Prefix each modifier with '%' (verbose) or '#' (silent)");
1368 1368
1369 puts("\nELF Etypes:");
1370 print_etypes(stdout);
1371
1369 exit(status); 1372 exit(status);
1370} 1373}
1371 1374
1372/* parse command line arguments and preform needed actions */ 1375/* parse command line arguments and preform needed actions */
1373static void parseargs(int argc, char *argv[]) 1376static void parseargs(int argc, char *argv[])

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121

  ViewVC Help
Powered by ViewVC 1.1.20