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@xxxxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox