Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / scripts / mod / mk_elfconfig.c
index 725d61c..3c92c83 100644 (file)
@@ -28,7 +28,7 @@ main(int argc, char **argv)
                printf("#define KERNEL_ELFCLASS ELFCLASS64\n");
                break;
        default:
-               exit(1);
+               abort();
        }
        switch (ei[EI_DATA]) {
        case ELFDATA2LSB:
@@ -38,7 +38,7 @@ main(int argc, char **argv)
                printf("#define KERNEL_ELFDATA ELFDATA2MSB\n");
                break;
        default:
-               exit(1);
+               abort();
        }
 
        if (sizeof(unsigned long) == 4) {
@@ -53,7 +53,7 @@ main(int argc, char **argv)
        else if (memcmp(endian_test.c, "\x02\x01", 2) == 0)
                printf("#define HOST_ELFDATA ELFDATA2LSB\n");
        else
-               exit(1);
+               abort();
 
        if ((strcmp(argv[1], "v850") == 0) || (strcmp(argv[1], "h8300") == 0))
                printf("#define MODULE_SYMBOL_PREFIX \"_\"\n");