aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-03-01 20:04:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-01 20:04:50 -0500
commit4977ab6e92e267afe9d8f78438c3db330ca8434c (patch)
tree484ebc1e13ba9375a59f83649faf706d4d5372c0 /include/linux/compiler-gcc.h
parent8f03cf50bc9443e92d6e54ac4d599357d6cb7cbb (diff)
parente390f9a9689a42f477a6073e2e7df530a4c1b740 (diff)
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool relocation fixes from Ingo Molnar: "Two fixes related to the module loading regression introduced by the recent objtool changes" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool, modules: Discard objtool annotation sections for modules objtool, compiler.h: Fix __unreachable section relocation size
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r--include/linux/compiler-gcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index 76e28c229805..0efef9cf014f 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -200,8 +200,8 @@
200#ifdef CONFIG_STACK_VALIDATION 200#ifdef CONFIG_STACK_VALIDATION
201#define annotate_unreachable() ({ \ 201#define annotate_unreachable() ({ \
202 asm("%c0:\t\n" \ 202 asm("%c0:\t\n" \
203 ".pushsection __unreachable, \"a\"\t\n" \ 203 ".pushsection .discard.unreachable\t\n" \
204 ".long %c0b\t\n" \ 204 ".long %c0b - .\t\n" \
205 ".popsection\t\n" : : "i" (__LINE__)); \ 205 ".popsection\t\n" : : "i" (__LINE__)); \
206}) 206})
207#else 207#else