aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xexcat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xexcat.c b/xexcat.c
index 3ace57d..1fcd6f1 100644
--- a/xexcat.c
+++ b/xexcat.c
@@ -268,6 +268,11 @@ int main(int argc, char **argv) {
force_load = -1;
}
+ if(count == 1 && xex_get_init_addr(&seg) != -1) {
+ fprintf(stderr, SELF ": %s: warning: first segment has init address, probably bogus.\n",
+ infile);
+ }
+
count++;
/* process -i option */