]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64:piggback program generates a.out header with incorrect section sizes
authorAllen Pais <allen.pais@oracle.com>
Tue, 29 Mar 2016 08:50:33 +0000 (14:20 +0530)
committerAllen Pais <allen.pais@oracle.com>
Tue, 19 Apr 2016 12:31:49 +0000 (18:01 +0530)
commit37af8c170011566eaa9bf91d6ac9fc39e18f0e42
treed5393ab6b37ad211177ae7e935caf63222b97254
parent15c256230602ff2bcd44ff15d473eb86a3e8bdae
sparc64:piggback program generates a.out header with incorrect section sizes

piggyback in uek for SPARC generates an a.out that has section sizes that are
too large.  This causes problems when booting with OpenBoot because OpenBoot
uses those sizes to map and copy the image to its specified VA and runs into
unmapped memory during the copies.

This is a minimal fix.

Orabug:21793535

Signed-off-by: Jose Marchesi <jose.marchesi@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit bd99ee7ceffb1a472ccd8841dd7011d15e7fa258)
arch/sparc/boot/piggyback.c