]> granicus.if.org Git - pdns/commitdiff
this should make us work on all arches for incbin
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 3 Dec 2015 19:19:42 +0000 (20:19 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 3 Dec 2015 19:54:12 +0000 (20:54 +0100)
ext/incbin/incbin.h

index 7d600f1bd5e57e9d0d2efad04f5e987c288ed138..6f314be1bbc78afcac201f7100a8da2d414e291d 100644 (file)
     __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" \
     ); \