summaryrefslogtreecommitdiffstats
path: root/arch/mips/pbl
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-02-05 00:00:30 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-05 09:43:17 +0100
commite43e1498f65fe03cfc6b2744247eeccf27b26876 (patch)
tree7fc6235f5e23481c42be675e69a1cd8ef9ed177a /arch/mips/pbl
parentd4f4c9e9a900e6f4c73cb3eda7d5310ee4da01ad (diff)
downloadbarebox-e43e1498f65fe03cfc6b2744247eeccf27b26876.tar.gz
barebox-e43e1498f65fe03cfc6b2744247eeccf27b26876.tar.xz
MIPS: pbl: fix none compression support
Here's the error message: AS arch/mips/pbl/piggy.shipped.o arch/mips/pbl/piggy.shipped.S: Assembler messages: arch/mips/pbl/piggy.shipped.S:1: Error: unrecognized opcode `globl input_data' make[1]: *** [arch/mips/pbl/piggy.shipped.o] Error 1 make: *** [zbarebox.bin] Error 2 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/pbl')
-rw-r--r--arch/mips/pbl/piggy.shipped.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/pbl/piggy.shipped.S b/arch/mips/pbl/piggy.shipped.S
index 963262dad5..8a35f6bc05 100644
--- a/arch/mips/pbl/piggy.shipped.S
+++ b/arch/mips/pbl/piggy.shipped.S
@@ -1,6 +1,6 @@
- .section .piggydata,#alloc
- .globl input_data
-input_data:
- .incbin "arch/mips/pbl/piggy.shipped"
- .globl input_data_end
-input_data_end:
+#include <asm/asm.h>
+
+ .section .data
+EXPORT(input_data)
+ .incbin "arch/mips/pbl/piggy.shipped"
+EXPORT(input_data_end)