diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-08 14:37:30 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-08 14:37:30 -0400 |
commit | 909252d279dd5d47e44c125558e87bb44097289f (patch) | |
tree | 43a1a5add53e8fca6be8fb78dc6ed5644bdf0a9c /scripts/mod | |
parent | 35899c57516be6eaa42cc27151767c52d75b2979 (diff) |
kbuild: fix false section mismatch with ARCH=um build
Ignoring references to .init.text, .exit.text from the .plt section brought
the false positives down to two warnings for a defconfig build of ARCH=um
on x86_64.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 94047bc99961..a70f5ddb705c 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -822,6 +822,7 @@ static int init_section_ref_ok(const char *name) | |||
822 | ".pdr", | 822 | ".pdr", |
823 | "__param", | 823 | "__param", |
824 | ".smp_locks", | 824 | ".smp_locks", |
825 | ".plt", /* seen on ARCH=um build on x86_64. Harmless */ | ||
825 | NULL | 826 | NULL |
826 | }; | 827 | }; |
827 | /* Start of section names */ | 828 | /* Start of section names */ |
@@ -894,6 +895,7 @@ static int exit_section_ref_ok(const char *name) | |||
894 | ".eh_frame", | 895 | ".eh_frame", |
895 | ".stab", | 896 | ".stab", |
896 | ".smp_locks", | 897 | ".smp_locks", |
898 | ".plt", /* seen on ARCH=um build on x86_64. Harmless */ | ||
897 | NULL | 899 | NULL |
898 | }; | 900 | }; |
899 | /* Start of section names */ | 901 | /* Start of section names */ |