summaryrefslogtreecommitdiffstats
path: root/lib/libelf/libelf_data.c
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2006-12-18 05:36:23 +0000
committerjkoshy <jkoshy@FreeBSD.org>2006-12-18 05:36:23 +0000
commitfdbeae7cd48d220f22f51d00a1b3c7c6525973ee (patch)
treec12f1f8dd657363e3fd759efe9a7b349a0ed6e08 /lib/libelf/libelf_data.c
parentd77d3157df850828b072cae49795fbbb825204d3 (diff)
downloadFreeBSD-src-fdbeae7cd48d220f22f51d00a1b3c7c6525973ee.zip
FreeBSD-src-fdbeae7cd48d220f22f51d00a1b3c7c6525973ee.tar.gz
Use the correct value of __FreeBSD_version.
Diffstat (limited to 'lib/libelf/libelf_data.c')
-rw-r--r--lib/libelf/libelf_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c
index 4bab441..873fac8 100644
--- a/lib/libelf/libelf_data.c
+++ b/lib/libelf/libelf_data.c
@@ -66,7 +66,7 @@ _libelf_xlate_shtype(uint32_t sht)
return (ELF_T_SYM);
case SHT_SYMTAB_SHNDX:
return (ELF_T_WORD);
-#if __FreeBSD_version > 700009
+#if __FreeBSD_version >= 700025
case SHT_GNU_verdef: /* == SHT_SUNW_verdef */
return (ELF_T_VDEF);
case SHT_GNU_verneed: /* == SHT_SUNW_verneed */
@@ -82,4 +82,3 @@ _libelf_xlate_shtype(uint32_t sht)
return (-1);
}
}
-
OpenPOWER on IntegriCloud