Ignore:
Timestamp:
2012-03-19T22:09:47+01:00 (5 years ago)
Author:
nbd
Message:

kernel: fix stripping of modules with duplicate symbol names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/strip-kmod.sh

    r30964 r31031  
    3939} 
    4040 
    41 $3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ { 
     41$3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ && !def[$3] { 
    4242        print "--redefine-sym "$3"=_"n; 
    4343        n = n + 1 
     44        def[$3] = 1 
    4445} 
    4546' > "$MODULE.tmp1" 
Note: See TracChangeset for help on using the changeset viewer.