/[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.124 Revision 1.125
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/scanelf.c,v 1.124 2006/02/16 03:07:44 solar Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.125 2006/02/16 05:06:14 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.124 2006/02/16 03:07:44 solar Exp $"; 12static const char *rcsid = "$Id: scanelf.c,v 1.125 2006/02/16 05:06:14 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
1414 printf(" -%c, --%-7s <arg> * %s\n", long_opts[i].val, 1414 printf(" -%c, --%-7s <arg> * %s\n", long_opts[i].val,
1415 long_opts[i].name, opts_help[i]); 1415 long_opts[i].name, opts_help[i]);
1416 1416
1417 if (status != EXIT_SUCCESS) 1417 if (status != EXIT_SUCCESS)
1418 exit(status); 1418 exit(status);
1419 1419
1420 puts("\nThe format modifiers for the -F option are:"); 1420 puts("\nThe format modifiers for the -F option are:");
1421 puts(" F Filename \tx PaX Flags \te STACK/RELRO"); 1421 puts(" F Filename \tx PaX Flags \te STACK/RELRO");
1422 puts(" t TEXTREL \tr RPATH \tn NEEDED"); 1422 puts(" t TEXTREL \tr RPATH \tn NEEDED");
1423 puts(" i INTERP \tb BIND \ts symbol"); 1423 puts(" i INTERP \tb BIND \ts symbol");
1424 puts(" N library \to Type \tT TEXTRELs"); 1424 puts(" N library \to Type \tT TEXTRELs");
1425 puts(" S SONAME"); 1425 puts(" S SONAME \tk section");
1426 puts(" p filename (with search path removed)"); 1426 puts(" p filename (with search path removed)");
1427 puts(" f filename (short name/basename)"); 1427 puts(" f filename (short name/basename)");
1428 puts("Prefix each modifier with '%' (verbose) or '#' (silent)"); 1428 puts("Prefix each modifier with '%' (verbose) or '#' (silent)");
1429 1429
1430 puts("\nELF Etypes:"); 1430 puts("\nELF Etypes:");

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20