Consider the whole file is part of a ".data" section

This commit is contained in:
Pierre Pronchery 2011-04-13 03:05:04 +00:00
parent dcb9ea2e6f
commit 15a7830b60

View File

@ -62,5 +62,5 @@ static int _flat_disas(FormatPlugin * format, int (*callback)(
if(fstat(fileno(format->helper->fp), &st) != 0)
return -error_set_code(1, "%s: %s", format->helper->filename,
strerror(errno));
return callback(format, NULL, 0, st.st_size, 0);
return callback(format, ".data", 0, st.st_size, 0);
}