From 9133b99ce2fcb056353792029a15797e4c69331c Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Mon, 4 May 2009 13:05:26 +0200 Subject: [PATCH] --- yaml --- r: 144611 b: refs/heads/master c: 4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7 h: refs/heads/master i: 144609: c389646e7d43aac3bd63bffd15dbc7c1b05f6e1a 144607: 075269d47ca6a5c15f7f2bc1a3f2e737d7d251a2 v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 94473853d041..7339996a7bb8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 028ecebdd83cc4a7f8c7e96e28a5537d2ac98dae +refs/heads/master: 4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7 diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 268d4571664d..161b7846733e 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -727,7 +727,17 @@ int match(const char *sym, const char * const pat[]) /* sections that we do not want to do full section mismatch check on */ static const char *section_white_list[] = - { ".comment*", ".debug*", ".stab*", ".note*", ".got*", ".toc*", NULL }; +{ + ".comment*", + ".debug*", + ".mdebug*", /* alpha, score, mips etc. */ + ".pdr", /* alpha, score, mips etc. */ + ".stab*", + ".note*", + ".got*", + ".toc*", + NULL +}; /* * This is used to find sections missing the SHF_ALLOC flag.