$OpenBSD: patch-src_host_buildvm_asm_c,v 1.1 2012/11/02 02:08:38 sthen Exp $

.gnu_attribute requires binutils 2.18

--- src/host/buildvm_asm.c.orig	Sun Oct 28 10:44:35 2012
+++ src/host/buildvm_asm.c	Sun Oct 28 10:45:15 2012
@@ -283,12 +283,14 @@ void emit_asm(BuildCtx *ctx)
 #if !LJ_TARGET_PS3
     fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n");
 #endif
+#if 0
 #if LJ_TARGET_PPCSPE
     /* Soft-float ABI + SPE. */
     fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n");
 #elif LJ_TARGET_PPC && !LJ_TARGET_PS3
     /* Hard-float ABI. */
     fprintf(ctx->fp, "\t.gnu_attribute 4, 1\n");
+#endif
 #endif
     /* fallthrough */
   case BUILD_coffasm:
