]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/kallsyms.c
kallsyms: exclude kasan local symbols on s390
[mirror_ubuntu-bionic-kernel.git] / scripts / kallsyms.c
index 93ec96d4a558a69e5f5ba0c92e27bfcaf7399e0f..2052a0afb079dba7281b540692511d2e556c403a 100644 (file)
@@ -160,6 +160,9 @@ static int read_symbol(FILE *in, struct sym_entry *s)
        /* exclude debugging symbols */
        else if (stype == 'N' || stype == 'n')
                return -1;
+       /* exclude s390 kasan local symbols */
+       else if (!strncmp(sym, ".LASANPC", 8))
+               return -1;
 
        /* include the type field in the symbol name, so that it gets
         * compressed together */