[PATCH] MIPS: pbl: fix none compression support

Antony Pavlov antonynpavlov at gmail.com
Mon Feb 4 15:00:30 EST 2013


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 at gmail.com>
---
 arch/mips/pbl/piggy.shipped.S |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/mips/pbl/piggy.shipped.S b/arch/mips/pbl/piggy.shipped.S
index 963262d..8a35f6b 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)
-- 
1.7.10.4




More information about the barebox mailing list