projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621b506
)
powerpc: Align p_dyn, p_rela and p_st symbols
author
Anton Blanchard
<
[email protected]
>
Mon, 3 Mar 2014 21:31:24 +0000
(08:31 +1100)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Fri, 7 Mar 2014 02:50:19 +0000
(13:50 +1100)
The 64bit relocation code places a few symbols in the text segment.
These symbols are only 4 byte aligned where they need to be 8 byte
aligned. Add an explicit alignment.
Signed-off-by: Anton Blanchard <
[email protected]
>
Cc:
[email protected]
Tested-by: Laurent Dufour <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/kernel/reloc_64.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/reloc_64.S
b/arch/powerpc/kernel/reloc_64.S
index 1482327cfeba9c1a846be00ae54e2606a1ac07b9..d88736fbece67c6627e6f33a9c4fd3e31ee2b533 100644
(file)
--- a/
arch/powerpc/kernel/reloc_64.S
+++ b/
arch/powerpc/kernel/reloc_64.S
@@
-81,6
+81,7
@@
_GLOBAL(relocate)
6: blr
+.balign 8
p_dyn: .llong __dynamic_start - 0b
p_rela: .llong __rela_dyn_start - 0b
p_st: .llong _stext - 0b