Skip to contentSkip to conversation

ia64: increase .data.patch offset

PATCH In review [email protected] 1 participant 1 message Dec 5, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ia64: increase .data.patch offset

From: Andrew Morton <[email protected]>

I get this:

/opt/crosstool/gcc-3.4.5-glibc-2.3.6/ia64-unknown-linux-gnu/lib/gcc/ia64-unknown-linux-gnu/3.4.5/../../../../ia64-unknown-linux-gnu/bin/ld: section .data.patch [a000000000000500 -> a000000000000507] overlaps section .dynamic [a0000000000003c8 -> a000000000000507]

---

 arch/ia64/kernel/gate.lds.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/gate.lds.S renamed from arch/ia64/kernel/gate.lds.S~ia64-increase-datapatch-offset +1 -1
diff -puN arch/ia64/kernel/gate.lds.S~ia64-increase-datapatch-offset arch/ia64/kernel/gate.lds.S
@@ -30,7 +30,7 @@ SECTIONS
 	 * the dynamic symbol table et al.  If this amount is insufficient,
 	 * ld -shared will barf.  Just increase it here.
 	 */
-	. = GATE_ADDR + 0x500;
+	. = GATE_ADDR + 0x600;
 
 	.data.patch		: {
 		__start_gate_mckinley_e9_patchlist = .;

_