Hi.

This patch delates an unnecessary symbol.

Thanks
Ken'ichi Ohmichi

diff -puN makedumpfile.org/makedumpfile.c makedumpfile/makedumpfile.c
--- makedumpfile.org/makedumpfile.c     2006-10-11 13:07:32.000000000 +0900
+++ makedumpfile/makedumpfile.c 2006-10-11 13:07:50.000000000 +0900
@@ -655,7 +655,6 @@ get_symbol_info(struct DumpInfo *info)
        SYMBOL_INIT_NEXT(pkmap_count_next, "pkmap_count");
        SYMBOL_INIT(system_utsname, "system_utsname");
        SYMBOL_INIT(_stext, "_stext");
-       SYMBOL_INIT(_text, "_text");
        SYMBOL_INIT(phys_base, "phys_base");
        SYMBOL_INIT(node_online_map, "node_online_map");
        SYMBOL_INIT(node_data, "node_data");
@@ -1034,7 +1033,6 @@ generate_config(struct DumpInfo *info)
        WRITE_SYMBOL("pkmap_count_next", pkmap_count_next);
        WRITE_SYMBOL("system_utsname", system_utsname);
        WRITE_SYMBOL("_stext", _stext);
-       WRITE_SYMBOL("_text", _text);
        WRITE_SYMBOL("phys_base", phys_base);
        WRITE_SYMBOL("node_online_map", node_online_map);
        WRITE_SYMBOL("node_data", node_data);
@@ -1178,7 +1176,6 @@ read_config(struct DumpInfo *info)
        READ_SYMBOL("pkmap_count_next", pkmap_count_next);
        READ_SYMBOL("system_utsname", system_utsname);
        READ_SYMBOL("_stext", _stext);
-       READ_SYMBOL("_text", _text);
        READ_SYMBOL("phys_base", phys_base);
        READ_SYMBOL("node_online_map", node_online_map);
        READ_SYMBOL("node_data", node_data);
diff -puN makedumpfile.org/makedumpfile.h makedumpfile/makedumpfile.h
--- makedumpfile.org/makedumpfile.h     2006-10-11 13:07:32.000000000 +0900
+++ makedumpfile/makedumpfile.h 2006-10-11 13:07:50.000000000 +0900
@@ -494,7 +494,6 @@ struct symbol_table {
        unsigned long   pkmap_count_next;
        unsigned long   system_utsname;
        unsigned long   _stext;
-       unsigned long   _text;
        unsigned long   phys_base;
        unsigned long   node_online_map;
        unsigned long   node_data;
_
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to