2008-07-21 03:04:41

by Andreas Gruenbacher

[permalink] [raw]
Subject: [genksyms patch 2/4] Include extern information in dumps

The extern flag currently is not included in type dump files
(genksyms --dump-types). Include that flag there for completeness.

Signed-off-by: Andreas Gruenbacher <[email protected]>

---
scripts/genksyms/genksyms.c | 2 ++
1 file changed, 2 insertions(+)

Index: b/scripts/genksyms/genksyms.c
===================================================================
--- a/scripts/genksyms/genksyms.c
+++ b/scripts/genksyms/genksyms.c
@@ -546,6 +546,8 @@ int main(int argc, char **argv)
}
fputs(sym->name, dumpfile);
putc(' ', dumpfile);
+ if (sym->is_extern)
+ fputs("extern ", dumpfile);
print_list(dumpfile, sym->defn);
putc('\n', dumpfile);



2008-07-31 21:17:49

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [genksyms patch 2/4] Include extern information in dumps

On Mon, Jul 21, 2008 at 04:28:25AM +0200, Andreas Gruenbacher wrote:
> The extern flag currently is not included in type dump files
> (genksyms --dump-types). Include that flag there for completeness.
>
> Signed-off-by: Andreas Gruenbacher <[email protected]>

Applied to kbuild-fixes.

The reamining two patches will wait until I get a closer look
at them.

Sam