On Tue, Jul 12, 2011 at 03:20:40PM +0530, Suzuki K. Poulose wrote: > PPC32 ELF ABI expects r2 to be loaded with Thread Pointer, which is 0x7000 > bytes past the end of TCB. Though the purgatory is single threaded, it uses > TCB scratch space in vsnprintf(). This patch allocates a 1024byte TCB > and populates the TP with the address accordingly. > > Changes from V2: Avoid address overflow in TP allocation. > Changes from V1: Fixed the addr calculation for uImage support. > > > Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com> > Cc: Ryan S. Arnold <rsa at us.ibm.com> Thanks, applied.