Commit 5b63fee1 authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt

powerpc: Align p_toc

p_toc is an 8 byte relative offset to the TOC that we place in the
text section. This means it is only 4 byte aligned where it should
be 8 byte aligned. Add an explicit alignment.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent a12e4537
...@@ -703,6 +703,7 @@ _GLOBAL(relative_toc) ...@@ -703,6 +703,7 @@ _GLOBAL(relative_toc)
mtlr r0 mtlr r0
blr blr
.balign 8
p_toc: .llong __toc_start + 0x8000 - 0b p_toc: .llong __toc_start + 0x8000 - 0b
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment