From: bert hubert Date: Thu, 3 Dec 2015 19:19:42 +0000 (+0100) Subject: this should make us work on all arches for incbin X-Git-Tag: dnsdist-1.0.0-alpha1~126^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffc3b80e99ba1d1fc3aaa59fb8844de9f2d12fd0;p=pdns this should make us work on all arches for incbin --- diff --git a/ext/incbin/incbin.h b/ext/incbin/incbin.h index 7d600f1bd..6f314be1b 100644 --- a/ext/incbin/incbin.h +++ b/ext/incbin/incbin.h @@ -123,17 +123,17 @@ __asm__(INCBIN_SECTION \ INCBIN_GLOBAL(g ## NAME ## Data) \ INCBIN_TYPE(g ## NAME ## Data) \ - ".align " INCBIN_STRINGIZE(INCBIN_ALIGNMENT) "\n" \ + ".balign " INCBIN_STRINGIZE(INCBIN_ALIGNMENT) "\n" \ INCBIN_MANGLE "g" #NAME "Data:\n" \ INCBIN_MACRO " \"" FILENAME "\"\n" \ INCBIN_GLOBAL(g ## NAME ## End) \ INCBIN_TYPE(g ## NAME ## End) \ - ".align 1\n" \ + ".balign 1\n" \ INCBIN_MANGLE "g" #NAME "End:\n" \ INCBIN_INT "1\n"\ INCBIN_GLOBAL(g ## NAME ## Size) \ INCBIN_TYPE(g ## NAME ## Size) \ - ".align " INCBIN_STRINGIZE(INCBIN_ALIGNMENT) "\n" \ + ".balign " INCBIN_STRINGIZE(INCBIN_ALIGNMENT) "\n" \ INCBIN_MANGLE "g" #NAME "Size:\n" \ INCBIN_INT INCBIN_MANGLE "g" #NAME "End - " INCBIN_MANGLE "g" #NAME "Data\n" \ ); \