aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-05-03 22:12:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-03 22:12:27 -0400
commita1be8edda4fe1f0a75007f26000a51436800869d (patch)
tree69ecbeda52cfa375431de08e9dcfbcede4ed4883 /scripts
parent4c174688ee92805aa5df6e06e5b625a3286e415c (diff)
parent17586188276980ff10d1244a35aeb31ae199705e (diff)
Merge tag 'modules-for-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull modules updates from Jessica Yu: - Minor code cleanups - Fix section alignment for .init_array * tag 'modules-for-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: kallsyms: Use bounded strnchr() when parsing string module: Unify the return value type of try_module_get module: set .init_array alignment to 8
Diffstat (limited to 'scripts')
-rw-r--r--scripts/module-common.lds3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/module-common.lds b/scripts/module-common.lds
index 9b6e246a45d0..d61b9e8678e8 100644
--- a/scripts/module-common.lds
+++ b/scripts/module-common.lds
@@ -20,8 +20,7 @@ SECTIONS {
20 __kcrctab_unused_gpl 0 : { *(SORT(___kcrctab_unused_gpl+*)) } 20 __kcrctab_unused_gpl 0 : { *(SORT(___kcrctab_unused_gpl+*)) }
21 __kcrctab_gpl_future 0 : { *(SORT(___kcrctab_gpl_future+*)) } 21 __kcrctab_gpl_future 0 : { *(SORT(___kcrctab_gpl_future+*)) }
22 22
23 . = ALIGN(8); 23 .init_array 0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
24 .init_array 0 : { *(SORT(.init_array.*)) *(.init_array) }
25 24
26 __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) } 25 __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) }
27} 26}