summaryrefslogtreecommitdiff
path: root/libelf
diff options
context:
space:
mode:
authorWez Furlong <wez@messagesystems.com>2012-03-24 10:08:46 -0400
committerWez Furlong <wez@messagesystems.com>2012-03-24 10:08:46 -0400
commit360c8b9c5c6424c753131c7253da393fa6aab71f (patch)
tree21fe593b8d8af02f6c9b9ee466feff85983e42fb /libelf
parent729f57f084156849c553ee494c9492fb966c4a3a (diff)
downloadctf-360c8b9c5c6424c753131c7253da393fa6aab71f.tar.gz
fix operation on Linux, where the deprecated elf_getshstrndx API simply
returns the value from elf_getshdrstrndx, which is 0 in my simple test case, and is interpreted as an error. Switch to the newer API and check for the definitive -1 value as the error indicator.
Diffstat (limited to 'libelf')
0 files changed, 0 insertions, 0 deletions