diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-24 23:46:54 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-24 23:46:54 +0200 |
commit | 6803dc0ea85ad21b2cb3ec88decff5e27d7a390b (patch) | |
tree | e4041b76ed21bd835018be3e8bbc5e2c1d76ce74 /scripts/mod/mk_elfconfig.c | |
parent | 15fde6751886fd972a64ed65ba49db309919c504 (diff) | |
download | linux-3.10-6803dc0ea85ad21b2cb3ec88decff5e27d7a390b.tar.gz linux-3.10-6803dc0ea85ad21b2cb3ec88decff5e27d7a390b.tar.bz2 linux-3.10-6803dc0ea85ad21b2cb3ec88decff5e27d7a390b.zip |
kbuild: replace abort() with exit(1)
We have had no use of the coredump file for a long time.
So just exit(1) and avoid coredumping.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod/mk_elfconfig.c')
-rw-r--r-- | scripts/mod/mk_elfconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mod/mk_elfconfig.c b/scripts/mod/mk_elfconfig.c index 3c92c83733f..725d61c0fb4 100644 --- a/scripts/mod/mk_elfconfig.c +++ b/scripts/mod/mk_elfconfig.c @@ -28,7 +28,7 @@ main(int argc, char **argv) printf("#define KERNEL_ELFCLASS ELFCLASS64\n"); break; default: - abort(); + exit(1); } switch (ei[EI_DATA]) { case ELFDATA2LSB: @@ -38,7 +38,7 @@ main(int argc, char **argv) printf("#define KERNEL_ELFDATA ELFDATA2MSB\n"); break; default: - abort(); + exit(1); } 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 - abort(); + exit(1); if ((strcmp(argv[1], "v850") == 0) || (strcmp(argv[1], "h8300") == 0)) printf("#define MODULE_SYMBOL_PREFIX \"_\"\n"); |