From 1cfe8b46c802fdb5dcc9f5667dac114b20d1312d Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 3 Dec 2015 20:19:42 +0100 Subject: [PATCH] this should make us work on all arches for incbin --- ext/incbin/incbin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" \ ); \ -- 2.40.0