diff options
author | Roland McGrath <roland@redhat.com> | 2007-08-23 08:10:54 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2007-08-23 08:10:54 +0000 |
commit | cb6d865011ad98a8ac2018f072f396a2268739ca (patch) | |
tree | c497c4dacb592f9da5f5740a8b9fa8d362468079 /libelf/abstract.h | |
parent | 50c6a2f8b9621ae01c8943e80c39bc859c9d5c22 (diff) | |
download | elfutils-cb6d865011ad98a8ac2018f072f396a2268739ca.tar.gz |
readelf register printing sort order tweak
Diffstat (limited to 'libelf/abstract.h')
-rw-r--r-- | libelf/abstract.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/libelf/abstract.h b/libelf/abstract.h index 3c6250d0..e359f96b 100644 --- a/libelf/abstract.h +++ b/libelf/abstract.h @@ -1,5 +1,5 @@ /* Abstract description of component ELF types. - Copyright (C) 1998, 1999, 2000, 2002, 2004 Red Hat, Inc. + Copyright (C) 1998, 1999, 2000, 2002, 2004, 2007 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 1998. @@ -314,3 +314,20 @@ END (Bits, Ext##Lib) Lib (32, Ext) #define Lib64(Ext) \ Lib (64, Ext) + +#define auxv_t32(Ext) \ +START (32, auxv_t, Ext##auxv_t) \ + TYPE_NAME (ElfW2(32, Ext##Word), a_type) \ + TYPE_EXTRA (union {) \ + TYPE_EXTRA (ElfW2(32, Ext##Word) a_val;) \ + TYPE_XLATE (Elf32_cvt_Addr1 (&tdest->a_un.a_val, &tsrc->a_un.a_val);) \ + TYPE_EXTRA (} a_un;) \ +END (32, Ext##auxv_t) +#define auxv_t64(Ext) \ +START (64, auxv_t, Ext##auxv_t) \ + TYPE_NAME (ElfW2(64, Ext##Xword), a_type) \ + TYPE_EXTRA (union {) \ + TYPE_EXTRA (ElfW2(64, Ext##Xword) a_val;) \ + TYPE_XLATE (Elf64_cvt_Addr1 (&tdest->a_un.a_val, &tsrc->a_un.a_val);) \ + TYPE_EXTRA (} a_un;) \ +END (64, Ext##auxv_t) |