Source: libbsd
Severity: normal

Dear Maintainer,

In test/nlist.c, there is an incorrect test for the ia64 processor.  The 
attached patch removes it.

-- System Information:
Debian Release: 7.11
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable')
Architecture: ia64

Kernel: Linux 3.2.0-4-mckinley (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- test/nlist.c.orig	2017-11-13 06:44:04.609586836 -0500
+++ test/nlist.c	2017-11-13 06:44:47.109587129 -0500
@@ -69,8 +69,8 @@
 	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. */

Reply via email to