summaryrefslogtreecommitdiffstats
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-05-14 15:25:40 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-15 09:32:11 +1000
commitb759ce2e7aab7ebb2e78613678fe270068de9943 (patch)
tree7b4f2076d9cb438d7777837856d8008d10f6cbb2 /skiboot.lds.S
parent0da6afb9043964c7857a9cdf23c261139835b29e (diff)
downloadblackbird-skiboot-b759ce2e7aab7ebb2e78613678fe270068de9943.tar.gz
blackbird-skiboot-b759ce2e7aab7ebb2e78613678fe270068de9943.zip
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 <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 8cb88bd7..5c8bbbd1 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -90,7 +90,7 @@ SECTIONS
*(.opd)
}
- . = ALIGN(0x10);
+ . = ALIGN(0x100);
.got : {
__toc_start = . + 0x8000;
*(.got)
OpenPOWER on IntegriCloud