diff options
author | Jiri Slaby <[email protected]> | 2017-08-24 10:06:23 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-29 13:23:30 +0200 |
commit | bd6be579a79c6d824fd8e24f168f372062fd15d6 (patch) | |
tree | 240a0c6da85319f63524b76b6fc5476f9f443109 /arch/x86/math-emu/polynom_Xsig.S | |
parent | 9e085cefc61155e45b87a277440f96682e7921f1 (diff) |
x86/fpu/math-emu: Add ENDPROC to functions
Functions in math-emu are annotated as ENTRY() symbols, but their
ends are not annotated at all. But these are standard functions
called from C, with proper stack register update etc.
Omitting the ends means:
* the annotations are not paired and we cannot deal with such functions
e.g. in objtool
* the symbols are not marked as functions in the object file
* there are no sizes of the functions in the object file
So fix this by adding ENDPROC() to each such case in math-emu.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/math-emu/polynom_Xsig.S')
-rw-r--r-- | arch/x86/math-emu/polynom_Xsig.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/math-emu/polynom_Xsig.S b/arch/x86/math-emu/polynom_Xsig.S index 17315c89ff3d..a9aaf414135d 100644 --- a/arch/x86/math-emu/polynom_Xsig.S +++ b/arch/x86/math-emu/polynom_Xsig.S @@ -133,3 +133,4 @@ L_accum_done: popl %esi leave ret +ENDPROC(polynomial_Xsig) |