diff options
author | emaste <emaste@FreeBSD.org> | 2016-10-24 00:39:04 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-10-24 00:39:04 +0000 |
commit | c315a89b2a8f583ec7ff0850b4e4420a6ba62386 (patch) | |
tree | 41e9653a269e5dc0702699e421ff3d083135ee94 /usr.bin | |
parent | a6793ddcd6e838ef219bbd0aab57ab43444e5257 (diff) | |
download | FreeBSD-src-c315a89b2a8f583ec7ff0850b4e4420a6ba62386.zip FreeBSD-src-c315a89b2a8f583ec7ff0850b4e4420a6ba62386.tar.gz |
MFC r307520: elfdump: correct DT_AUXILIARY / DT_USED / DT_FILTER definitions
r109332 introduced these three as DT_SUNW_*. Update to the correct
names already used elsewhere in FreeBSD and the Sun "Linker and
Libraries Guide"
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/elfdump/elfdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/elfdump/elfdump.c b/usr.bin/elfdump/elfdump.c index e42727a..feb5ddd 100644 --- a/usr.bin/elfdump/elfdump.c +++ b/usr.bin/elfdump/elfdump.c @@ -240,9 +240,9 @@ d_tags(u_int64_t tag) case 0x6ffffff0: return "DT_GNU_VERSYM"; /* 0x70000000 - 0x7fffffff processor-specific semantics */ case 0x70000000: return "DT_IA_64_PLT_RESERVE"; - case 0x7ffffffd: return "DT_SUNW_AUXILIARY"; - case 0x7ffffffe: return "DT_SUNW_USED"; - case 0x7fffffff: return "DT_SUNW_FILTER"; + case DT_AUXILIARY: return "DT_AUXILIARY"; + case DT_USED: return "DT_USED"; + case DT_FILTER: return "DT_FILTER"; } snprintf(unknown_tag, sizeof(unknown_tag), "ERROR: TAG NOT DEFINED -- tag 0x%jx", (uintmax_t)tag); |