diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-05-14 15:25:40 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-15 09:32:11 +1000 |
commit | b759ce2e7aab7ebb2e78613678fe270068de9943 (patch) | |
tree | 7b4f2076d9cb438d7777837856d8008d10f6cbb2 /skiboot.lds.S | |
parent | 0da6afb9043964c7857a9cdf23c261139835b29e (diff) | |
download | skiboot-b759ce2e7aab7ebb2e78613678fe270068de9943.zip skiboot-b759ce2e7aab7ebb2e78613678fe270068de9943.tar.gz skiboot-b759ce2e7aab7ebb2e78613678fe270068de9943.tar.bz2 |
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.S | 2 |
1 files changed, 1 insertions, 1 deletions
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) |