print more info
This commit is contained in:
parent
c4dac9fbc8
commit
15a7173de0
|
@ -141,7 +141,7 @@ u6a_runtime_info(FILE* restrict input_stream, const char* file_name) {
|
||||||
printf("Size of section .text (bytes): 0x%08X\n", ntohl(header.prog.text_size));
|
printf("Size of section .text (bytes): 0x%08X\n", ntohl(header.prog.text_size));
|
||||||
printf("Size of section .rodata (bytes): 0x%08X\n", ntohl(header.prog.rodata_size));
|
printf("Size of section .rodata (bytes): 0x%08X\n", ntohl(header.prog.rodata_size));
|
||||||
} else {
|
} else {
|
||||||
printf("Program header unrecognizable (%d bytes)", header.file.prog_header_size);
|
printf("Program header unrecognizable (%d bytes)\n", header.file.prog_header_size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -213,6 +213,7 @@ main(int argc, char** argv) {
|
||||||
goto terminate;
|
goto terminate;
|
||||||
}
|
}
|
||||||
u6a_codegen_init(options.output_file, options.output_file_name, options.optimize_const, options.dump_mnemonics);
|
u6a_codegen_init(options.output_file, options.output_file_name, options.optimize_const, options.dump_mnemonics);
|
||||||
|
u6a_info_verbose(info_toplevel, "writing to %s", options.output_file_name);
|
||||||
if (UNLIKELY(!u6a_write_prefix(options.output_file_prefix))) {
|
if (UNLIKELY(!u6a_write_prefix(options.output_file_prefix))) {
|
||||||
exit_code = EC_ERR_CODEGEN;
|
exit_code = EC_ERR_CODEGEN;
|
||||||
goto terminate;
|
goto terminate;
|
||||||
|
|
Loading…
Reference in New Issue