|
From: <sv...@va...> - 2008-10-20 22:24:41
|
Author: sewardj
Date: 2008-10-20 23:24:31 +0100 (Mon, 20 Oct 2008)
New Revision: 8684
Log:
Change the default PIE load address from 0x100000 (1MB) to 0x108000,
to keep ppc32-linux happy.
Modified:
trunk/coregrind/m_ume.c
Modified: trunk/coregrind/m_ume.c
===================================================================
--- trunk/coregrind/m_ume.c 2008-10-20 16:08:55 UTC (rev 8683)
+++ trunk/coregrind/m_ume.c 2008-10-20 22:24:31 UTC (rev 8684)
@@ -362,8 +362,12 @@
become legit, which is really bad) and causes problems for
exp-ptrcheck, which assumes all numbers below 1MB are
nonpointers. So, hackily, move it above 1MB. */
- if (ebase < 0x100000)
- ebase = 0x100000;
+ /* Later .. is appears ppc32-linux tries to put [vdso] at 1MB,
+ which totally screws things up, because nothing else can go
+ there. So bump the hacky load addess along by 0x8000, to
+ 0x108000. */
+ if (ebase < 0x108000)
+ ebase = 0x108000;
}
info->phnum = e->e.e_phnum;
|