Skip to content
Snippets Groups Projects
Commit 571bd159 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

kernel: fix stripping of modules with duplicate symbol names

SVN-Revision: 31031
parent bf967435
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,10 @@ BEGIN { ...@@ -38,9 +38,10 @@ BEGIN {
n = 0 n = 0
} }
$3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ { $3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ && !def[$3] {
print "--redefine-sym "$3"=_"n; print "--redefine-sym "$3"=_"n;
n = n + 1 n = n + 1
def[$3] = 1
} }
' > "$MODULE.tmp1" ' > "$MODULE.tmp1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment