diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 4 | ||||
-rw-r--r-- | scripts/Makefile.lib | 2 | ||||
-rw-r--r-- | scripts/gcc-plugins/sancov_plugin.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/gconf.c | 2 | ||||
-rw-r--r-- | scripts/module-common.lds | 2 | ||||
-rw-r--r-- | scripts/spelling.txt | 3 |
6 files changed, 12 insertions, 3 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index d6ca649cb0e9..afe3fd3af1e4 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -148,6 +148,10 @@ cc-fullversion = $(shell $(CONFIG_SHELL) \ | |||
148 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) | 148 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) |
149 | cc-ifversion = $(shell [ $(cc-version) $(1) $(2) ] && echo $(3) || echo $(4)) | 149 | cc-ifversion = $(shell [ $(cc-version) $(1) $(2) ] && echo $(3) || echo $(4)) |
150 | 150 | ||
151 | # cc-if-fullversion | ||
152 | # Usage: EXTRA_CFLAGS += $(call cc-if-fullversion, -lt, 040502, -O1) | ||
153 | cc-if-fullversion = $(shell [ $(cc-fullversion) $(1) $(2) ] && echo $(3) || echo $(4)) | ||
154 | |||
151 | # cc-ldoption | 155 | # cc-ldoption |
152 | # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both) | 156 | # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both) |
153 | cc-ldoption = $(call try-run,\ | 157 | cc-ldoption = $(call try-run,\ |
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 0a07f9014944..7234e61e7ce3 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
@@ -155,7 +155,7 @@ else | |||
155 | # $(call addtree,-I$(obj)) locates .h files in srctree, from generated .c files | 155 | # $(call addtree,-I$(obj)) locates .h files in srctree, from generated .c files |
156 | # and locates generated .h files | 156 | # and locates generated .h files |
157 | # FIXME: Replace both with specific CFLAGS* statements in the makefiles | 157 | # FIXME: Replace both with specific CFLAGS* statements in the makefiles |
158 | __c_flags = $(if $(obj),-I$(srctree)/$(src) -I$(obj)) \ | 158 | __c_flags = $(if $(obj),$(call addtree,-I$(src)) -I$(obj)) \ |
159 | $(call flags,_c_flags) | 159 | $(call flags,_c_flags) |
160 | __a_flags = $(call flags,_a_flags) | 160 | __a_flags = $(call flags,_a_flags) |
161 | __cpp_flags = $(call flags,_cpp_flags) | 161 | __cpp_flags = $(call flags,_cpp_flags) |
diff --git a/scripts/gcc-plugins/sancov_plugin.c b/scripts/gcc-plugins/sancov_plugin.c index 9b0b5cbc5b89..0f98634c20a0 100644 --- a/scripts/gcc-plugins/sancov_plugin.c +++ b/scripts/gcc-plugins/sancov_plugin.c | |||
@@ -133,7 +133,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info, struct plugin_gc | |||
133 | #if BUILDING_GCC_VERSION < 6000 | 133 | #if BUILDING_GCC_VERSION < 6000 |
134 | register_callback(plugin_name, PLUGIN_START_UNIT, &sancov_start_unit, NULL); | 134 | register_callback(plugin_name, PLUGIN_START_UNIT, &sancov_start_unit, NULL); |
135 | register_callback(plugin_name, PLUGIN_REGISTER_GGC_ROOTS, NULL, (void *)>_ggc_r_gt_sancov); | 135 | register_callback(plugin_name, PLUGIN_REGISTER_GGC_ROOTS, NULL, (void *)>_ggc_r_gt_sancov); |
136 | register_callback(plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &sancov_plugin_pass_info); | 136 | register_callback(plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &sancov_pass_info); |
137 | #endif | 137 | #endif |
138 | 138 | ||
139 | return 0; | 139 | return 0; |
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 26d208b435a0..cfddddb9c9d7 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c | |||
@@ -914,7 +914,7 @@ on_treeview2_button_press_event(GtkWidget * widget, | |||
914 | current = menu; | 914 | current = menu; |
915 | display_tree_part(); | 915 | display_tree_part(); |
916 | gtk_widget_set_sensitive(back_btn, TRUE); | 916 | gtk_widget_set_sensitive(back_btn, TRUE); |
917 | } else if ((col == COL_OPTION)) { | 917 | } else if (col == COL_OPTION) { |
918 | toggle_sym_value(menu); | 918 | toggle_sym_value(menu); |
919 | gtk_tree_view_expand_row(view, path, TRUE); | 919 | gtk_tree_view_expand_row(view, path, TRUE); |
920 | } | 920 | } |
diff --git a/scripts/module-common.lds b/scripts/module-common.lds index cf7e52e4781b..9b6e246a45d0 100644 --- a/scripts/module-common.lds +++ b/scripts/module-common.lds | |||
@@ -22,4 +22,6 @@ SECTIONS { | |||
22 | 22 | ||
23 | . = ALIGN(8); | 23 | . = ALIGN(8); |
24 | .init_array 0 : { *(SORT(.init_array.*)) *(.init_array) } | 24 | .init_array 0 : { *(SORT(.init_array.*)) *(.init_array) } |
25 | |||
26 | __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) } | ||
25 | } | 27 | } |
diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 0458b037c8a1..0545f5a8cabe 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt | |||
@@ -372,6 +372,8 @@ disassocation||disassociation | |||
372 | disapear||disappear | 372 | disapear||disappear |
373 | disapeared||disappeared | 373 | disapeared||disappeared |
374 | disappared||disappeared | 374 | disappared||disappeared |
375 | disble||disable | ||
376 | disbled||disabled | ||
375 | disconnet||disconnect | 377 | disconnet||disconnect |
376 | discontinous||discontinuous | 378 | discontinous||discontinuous |
377 | dispertion||dispersion | 379 | dispertion||dispersion |
@@ -732,6 +734,7 @@ oustanding||outstanding | |||
732 | overaall||overall | 734 | overaall||overall |
733 | overhread||overhead | 735 | overhread||overhead |
734 | overlaping||overlapping | 736 | overlaping||overlapping |
737 | overide||override | ||
735 | overrided||overridden | 738 | overrided||overridden |
736 | overriden||overridden | 739 | overriden||overridden |
737 | overun||overrun | 740 | overun||overrun |