On Tue, Feb 05, 2013 at 12:00:30AM +0400, Antony Pavlov wrote: > 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> Applied, thanks Sascha > --- > 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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox