Merge tag 'devicetree-fixes-for-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / scripts / kallsyms.c
index 8caabdd..f18e6df 100644 (file)
@@ -70,7 +70,7 @@ static unsigned char best_table_len[256];
 
 static void usage(void)
 {
-       fprintf(stderr, "Usage: kallsyms [--all-symbols] "
+       fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] "
                        "[--base-relative] < in.map > out.S\n");
        exit(1);
 }
@@ -111,7 +111,8 @@ static bool is_ignored_symbol(const char *name, char type)
                ".L",                   /* local labels, .LBB,.Ltmpxxx,.L__unnamed_xx,.LASANPC, etc. */
                "__crc_",               /* modversions */
                "__efistub_",           /* arm64 EFI stub namespace */
-               "__kvm_nvhe_",          /* arm64 non-VHE KVM namespace */
+               "__kvm_nvhe_$",         /* arm64 local symbols in non-VHE KVM namespace */
+               "__kvm_nvhe_.L",        /* arm64 local symbols in non-VHE KVM namespace */
                "__AArch64ADRPThunk_",  /* arm64 lld */
                "__ARMV5PILongThunk_",  /* arm lld */
                "__ARMV7PILongThunk_",