diff options
author | Roland McGrath <roland@redhat.com> | 2008-08-07 08:39:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-08-07 08:39:41 +0000 |
commit | 1d8bb25cac06b5af57f8733e5ea7a068a79edfe0 (patch) | |
tree | f794a75ef8e1f324185d2850e6e4da59323fe9ca /libebl/eblauxvinfo.c | |
parent | 9d2f3ee2554185a9df70f434eddc4405a4aff0fa (diff) | |
download | elfutils-1d8bb25cac06b5af57f8733e5ea7a068a79edfe0.tar.gz |
src/
(find_symbol): Likewise.
Convert plain number, or handle strings like "(section)+offset"
or "symbol+offset".
Diffstat (limited to 'libebl/eblauxvinfo.c')
-rw-r--r-- | libebl/eblauxvinfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libebl/eblauxvinfo.c b/libebl/eblauxvinfo.c index 54583f9f..af65c47b 100644 --- a/libebl/eblauxvinfo.c +++ b/libebl/eblauxvinfo.c @@ -1,5 +1,5 @@ /* Describe known auxv types. - Copyright (C) 2007 Red Hat, Inc. + Copyright (C) 2007, 2008 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -63,6 +63,7 @@ TYPE (NULL, "") \ TYPE (IGNORE, "") \ TYPE (EXECFD, "d") \ + TYPE (EXECFN, "s") \ TYPE (PHDR, "p") \ TYPE (PHENT, "u") \ TYPE (PHNUM, "u") \ @@ -110,7 +111,7 @@ ebl_auxv_info (ebl, a_type, name, format) const char **format; { int result = ebl->auxv_info (a_type, name, format); - if (result == 0 && a_type < nauxv_types) + if (result == 0 && a_type < nauxv_types && auxv_types[a_type].name != NULL) { /* The machine specific function did not know this type. */ *name = auxv_types[a_type].name; |