mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
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>
This commit is contained in:
parent
9afc7100a1
commit
9ceac74e91
@ -69,8 +69,8 @@ main(int argc, char **argv)
|
|||||||
rc = nlist(argv[0], nl);
|
rc = nlist(argv[0], nl);
|
||||||
assert(rc == 0);
|
assert(rc == 0);
|
||||||
|
|
||||||
#if defined(__ia64__) || (defined(__powerpc64__) && _CALL_ELF == 1)
|
#if defined(__powerpc64__) && _CALL_ELF == 1
|
||||||
/* On IA64 and PowerPC 64-bit ELFv1, the functions are stored in
|
/* On PowerPC 64-bit ELFv1, the functions are stored in
|
||||||
* the .text sections but they are accessed through a function
|
* the .text sections but they are accessed through a function
|
||||||
* descriptor stored in a data section, for example for PowerPC
|
* descriptor stored in a data section, for example for PowerPC
|
||||||
* 64-bit that section is called .opd. */
|
* 64-bit that section is called .opd. */
|
||||||
|
Loading…
Reference in New Issue
Block a user