aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-02-16 03:07:44 +0000
committerNed Ludd <solar@gentoo.org>2006-02-16 03:07:44 +0000
commit05e39e287c637adc9e4576631053851b5659478e (patch)
tree69927a165391a442475d0d5ec2ba0a4dfbe2983b /paxelf.c
parent- add include globbing support for ld.so.conf handling. mainly only useful on... (diff)
downloadpax-utils-05e39e287c637adc9e4576631053851b5659478e.tar.gz
pax-utils-05e39e287c637adc9e4576631053851b5659478e.tar.bz2
pax-utils-05e39e287c637adc9e4576631053851b5659478e.zip
- add -k/--section <arg> flag so we can quickly identify executables that contain a given section by name
Diffstat (limited to 'paxelf.c')
-rw-r--r--paxelf.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/paxelf.c b/paxelf.c
index d1d5ad4..a575c28 100644
--- a/paxelf.c
+++ b/paxelf.c
@@ -1,7 +1,7 @@
/*
* Copyright 2003-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.44 2006/02/09 21:40:18 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.45 2006/02/16 03:07:44 solar Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -623,4 +623,16 @@ int elf_max_pt_load(elfobj *elf)
# define ELFOSABI_OPENBSD 12 /* OpenBSD. */
# define ELFOSABI_ARM 97 /* ARM */
# define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */
+
+ /* These 3 ABIs should be in elf.h but are not.
+ http://www.caldera.com/developers/gabi/latest/ch4.eheader.html#generic_osabi_values
+ */
+
+ # define ELFOSABI_OPENVMS 13 /* OpenVMS */
+ # define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel */
+ # define ELFOSABI_AROS 15 /* Amiga Research OS */
+
+ #4 reserved for IA32 GNU Mach/Hurd
+ #5 reserved for 86Open common IA32 ABI
+
#endif