projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.9 to 4.9.156
[openwrt/staging/wigyori.git]
/
target
/
linux
/
generic
/
hack-4.9
/
204-module_strip.patch
diff --git
a/target/linux/generic/hack-4.9/204-module_strip.patch
b/target/linux/generic/hack-4.9/204-module_strip.patch
index c6484a8f92ced74863b17f76a1f332edd10bc63e..fcca6bd02c6114747e06d72cb8914a8fdff49bd0 100644
(file)
--- a/
target/linux/generic/hack-4.9/204-module_strip.patch
+++ b/
target/linux/generic/hack-4.9/204-module_strip.patch
@@
-137,7
+137,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
-@@ -196
5,7 +1965
,9 @@ static void read_symbols(char *modname)
+@@ -196
7,7 +1967
,9 @@ static void read_symbols(char *modname)
symname = remove_dot(info.strtab + sym->st_name);
handle_modversions(mod, &info, sym, symname);
symname = remove_dot(info.strtab + sym->st_name);
handle_modversions(mod, &info, sym, symname);
@@
-147,7
+147,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
if (!is_vmlinux(modname) ||
(is_vmlinux(modname) && vmlinux_section_warnings))
}
if (!is_vmlinux(modname) ||
(is_vmlinux(modname) && vmlinux_section_warnings))
-@@ -21
09,7 +2111
,9 @@ static void add_header(struct buffer *b,
+@@ -21
11,7 +2113
,9 @@ static void add_header(struct buffer *b,
buf_printf(b, "#include <linux/vermagic.h>\n");
buf_printf(b, "#include <linux/compiler.h>\n");
buf_printf(b, "\n");
buf_printf(b, "#include <linux/vermagic.h>\n");
buf_printf(b, "#include <linux/compiler.h>\n");
buf_printf(b, "\n");
@@
-157,7
+157,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
buf_printf(b, "\n");
buf_printf(b, "__visible struct module __this_module\n");
buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n");
buf_printf(b, "\n");
buf_printf(b, "__visible struct module __this_module\n");
buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n");
-@@ -212
6,24 +2130
,30 @@ static void add_header(struct buffer *b,
+@@ -212
8,24 +2132
,30 @@ static void add_header(struct buffer *b,
static void add_intree_flag(struct buffer *b, int is_intree)
{
static void add_intree_flag(struct buffer *b, int is_intree)
{
@@
-188,7
+188,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
/* In kernel, this size is defined in linux/module.h;
}
/* In kernel, this size is defined in linux/module.h;
-@@ -224
7,11 +2257
,13 @@ static void add_depends(struct buffer *b
+@@ -224
9,11 +2259
,13 @@ static void add_depends(struct buffer *b
static void add_srcversion(struct buffer *b, struct module *mod)
{
static void add_srcversion(struct buffer *b, struct module *mod)
{
@@
-202,7
+202,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
static void write_if_changed(struct buffer *b, const char *fname)
}
static void write_if_changed(struct buffer *b, const char *fname)
-@@ -248
6,7 +2498
,9 @@ int main(int argc, char **argv)
+@@ -248
8,7 +2500
,9 @@ int main(int argc, char **argv)
add_staging_flag(&buf, mod->name);
err |= add_versions(&buf, mod);
add_depends(&buf, mod, modules);
add_staging_flag(&buf, mod->name);
err |= add_versions(&buf, mod);
add_depends(&buf, mod, modules);