NetBSD/sys/lkm/arch/powerpc/lkmhide.awk
matt 275eeea6c9 The __wrap_* symbols need to become local symbols. If you have module
x which is dependent y but they both have __wrap_foo, if the __wrap_foo
is not localized, you will get linker truncation messages.
2003-04-23 18:34:20 +00:00

6 lines
129 B
Awk

# $NetBSD: lkmhide.awk,v 1.1 2003/04/23 18:34:21 matt Exp $
substr($NF, 1, 7) == "__wrap_" {
print " --localize-symbol "$NF;
}