From b759ce2e7aab7ebb2e78613678fe270068de9943 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Thu, 14 May 2015 15:25:40 +1000 Subject: Align TOC to 256 bytes Anton sent a similar patch to Linus, here is his comment: << Recent toolchains force the TOC to be 256 byte aligned. We need to enforce this alignment in our linker script, otherwise pointers to our TOC variables (...) could be incorrect. >> Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Stewart Smith --- skiboot.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skiboot.lds.S') diff --git a/skiboot.lds.S b/skiboot.lds.S index 8cb88bd..5c8bbbd 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -90,7 +90,7 @@ SECTIONS *(.opd) } - . = ALIGN(0x10); + . = ALIGN(0x100); .got : { __toc_start = . + 0x8000; *(.got) -- cgit v1.1