summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJason Duerstock <jason.duerstock@gmail.com>2017-12-03 16:50:07 +0100
committerGuillem Jover <guillem@hadrons.org>2018-01-13 16:17:28 +0100
commit9ceac74e91411d3f7dbbc42d772f3500c47c7cec (patch)
tree3c6b0ce3b372ea142826b380dd2703c51d7640d0 /test
parent9afc7100a1078e177ff68349446526efe6872618 (diff)
test: Fix nlist(3) unit test on IA64
On IA64 this is only the case in the ELF binary, but it gets normalized when loaded at run-time. Fixes: https://bugs.debian.org/881611 Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'test')
-rw-r--r--test/nlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nlist.c b/test/nlist.c
index 893176e..c76d9e7 100644
--- a/test/nlist.c
+++ b/test/nlist.c
@@ -69,8 +69,8 @@ main(int argc, char **argv)
rc = nlist(argv[0], nl);
assert(rc == 0);
-#if defined(__ia64__) || (defined(__powerpc64__) && _CALL_ELF == 1)
- /* On IA64 and PowerPC 64-bit ELFv1, the functions are stored in
+#if defined(__powerpc64__) && _CALL_ELF == 1
+ /* On PowerPC 64-bit ELFv1, the functions are stored in
* the .text sections but they are accessed through a function
* descriptor stored in a data section, for example for PowerPC
* 64-bit that section is called .opd. */