$OpenBSD: patch-testsuite_tests_asmcomp_i386_S,v 1.1 2010/12/07 15:01:35 dcoppa Exp $
--- testsuite/tests/asmcomp/i386.S.orig	Wed Nov 17 12:39:22 2010
+++ testsuite/tests/asmcomp/i386.S	Wed Nov 17 12:43:52 2010
@@ -15,7 +15,7 @@
 /* Linux with ELF binaries does not prefix identifiers with _.
    Linux with a.out binaries, FreeBSD, and NextStep do. */
 
-#ifdef SYS_linux_elf
+#if defined(SYS_linux_elf) || defined(SYS_bsd_elf)
 #define G(x) x
 #define FUNCTION_ALIGN 16
 #else
