[qfcc] Show a marker at first unbound reloc

This commit is contained in:
Bill Currie 2020-03-29 14:40:15 +09:00
parent 361b3ff422
commit 62b6e95746
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ qfo_relocs (qfo_t *qfo)
unsigned i;
for (i = 0; i < qfo->num_relocs; i++) {
if (i == qfo->num_relocs - qfo->num_loose_relocs) {
printf ("---- unbound relocs ----\n");
}
reloc = qfo->relocs + i;
if ((unsigned) reloc->type > rel_def_field_ofs) {
printf ("%d unknown reloc: %d\n", i, reloc->type);