sparc: add $BITS to piggyback arguments
PATCH 6/10 sparc: add $BITS to piggyback arguments
Add new option to piggyback that identify if this is for 32 or 64 bit.
Use this information to determine the alignment used.
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/boot/Makefile | 2 +- arch/sparc/boot/piggyback_32.c | 45 +++++++++++++++++++++++++-------------- 2 files changed, 30 insertions(+), 17 deletions(-)
arch/sparc/boot/Makefile +1 -1
@@ -15,7 +15,7 @@ quiet_cmd_elftoaout = ELFTOAOUT $@ ifeq ($(CONFIG_SPARC32),y) quiet_cmd_piggy = PIGGY $@ - cmd_piggy = $(obj)/piggyback_32 $@ System.map $(ROOT_IMG) + cmd_piggy = $(obj)/piggyback_32 $(BITS) $@ System.map $(ROOT_IMG) quiet_cmd_btfix = BTFIX $@ cmd_btfix = $(OBJDUMP) -x vmlinux | $(obj)/btfixupprep > $@ quiet_cmd_sysmap = SYSMAP $(obj)/System.map
arch/sparc/boot/piggyback_32.c +29 -16
88 lines not on this page · raw message
Signature · 1 line
1.6.0.6