[xen master] x86: add .size/.type directives to indirect thunk generation macro

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] x86: add .size/.type directives to indirect thunk generation macro

patchbot
commit a823a5280f25ad19a751dd9a41044f556471e61a
Author:     Jan Beulich <[hidden email]>
AuthorDate: Fri Feb 23 14:25:54 2018 +0100
Commit:     Jan Beulich <[hidden email]>
CommitDate: Fri Feb 23 14:25:54 2018 +0100

    x86: add .size/.type directives to indirect thunk generation macro
   
    Signed-off-by: Jan Beulich <[hidden email]>
    Reviewed-by: Andrew Cooper <[hidden email]>
---
 xen/arch/x86/indirect-thunk.S | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/arch/x86/indirect-thunk.S b/xen/arch/x86/indirect-thunk.S
index e03fc14..3c17f75 100644
--- a/xen/arch/x86/indirect-thunk.S
+++ b/xen/arch/x86/indirect-thunk.S
@@ -41,6 +41,9 @@ ENTRY(__x86_indirect_thunk_\reg)
         ALTERNATIVE_2 __stringify(IND_THUNK_RETPOLINE \reg),              \
         __stringify(IND_THUNK_LFENCE \reg), X86_FEATURE_IND_THUNK_LFENCE, \
         __stringify(IND_THUNK_JMP \reg),    X86_FEATURE_IND_THUNK_JMP
+
+        .size __x86_indirect_thunk_\reg, . - __x86_indirect_thunk_\reg
+        .type __x86_indirect_thunk_\reg, @function
 .endm
 
 /* Instantiate GEN_INDIRECT_THUNK for each register except %rsp. */
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog