diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-01 17:04:50 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-01 17:04:50 -0800 |
commit | 4977ab6e92e267afe9d8f78438c3db330ca8434c (patch) | |
tree | 484ebc1e13ba9375a59f83649faf706d4d5372c0 /scripts/module-common.lds | |
parent | 8f03cf50bc9443e92d6e54ac4d599357d6cb7cbb (diff) | |
parent | e390f9a9689a42f477a6073e2e7df530a4c1b740 (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 'scripts/module-common.lds')
-rw-r--r-- | scripts/module-common.lds | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/module-common.lds b/scripts/module-common.lds index 73a2c7da0e55..cf7e52e4781b 100644 --- a/scripts/module-common.lds +++ b/scripts/module-common.lds @@ -4,7 +4,10 @@ * combine them automatically. */ SECTIONS { - /DISCARD/ : { *(.discard) } + /DISCARD/ : { + *(.discard) + *(.discard.*) + } __ksymtab 0 : { *(SORT(___ksymtab+*)) } __ksymtab_gpl 0 : { *(SORT(___ksymtab_gpl+*)) } |