]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove superflous function descriptors in assembly only code
authorAnton Blanchard <anton@samba.org>
Tue, 4 Feb 2014 05:04:52 +0000 (16:04 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:17 +0000 (10:05 +1000)
commit3477decbcb94970666fe34e3ef1ed44714ab5a3a
tree2027687114b62c2ac5fc201897e67795ea7e964b
parentd20999d263648390fe2b41baeda7d9e70cbcbd1f
powerpc: Remove superflous function descriptors in assembly only code

We have a number of places where we load the text address of a local
function and indirectly branch to it in assembly. Since it is an
indirect branch binutils will not know to use the function text
address, so that trick wont work.

There is no need for these functions to have a function descriptor
so we can replace it with a label and remove the dot symbol.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/head_64.S
arch/powerpc/platforms/powernv/opal-wrappers.S