Implement xml export / import #3

Merged
mhu merged 20 commits from xml-export into master 2023-01-06 18:50:08 +01:00
Showing only changes of commit 06fe82b2f1 - Show all commits

View File

@ -429,12 +429,12 @@ int main(int argc, char **argv)
} }
if (cmd_opts.export_xml && cmd_opts.import_xml) { if (cmd_opts.export_xml && cmd_opts.import_xml) {
print_err("XML export and input cannot be specified at the same time."); print_err("XML export and input cannot be specified at the same time.\n");
return -2; return -2;
} }
if (cmd_opts.use_vma && cmd_opts.format != FORMAT_STRUCT) { if (cmd_opts.use_vma && cmd_opts.format != FORMAT_STRUCT) {
print_warn("--use-vma option only has an effect when exporting as struct output."); print_warn("--use-vma option only has an effect when exporting as struct output.\n");
} }
if (!cmd_opts.output_section && cmd_opts.export_xml == NULL) { if (!cmd_opts.output_section && cmd_opts.export_xml == NULL) {