From 62b6e95746773d620b9bdf9119bfa036f9a88299 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 29 Mar 2020 14:40:15 +0900 Subject: [PATCH] [qfcc] Show a marker at first unbound reloc --- tools/qfcc/source/dump_globals.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/qfcc/source/dump_globals.c b/tools/qfcc/source/dump_globals.c index ab15b0c4d..86a9c1525 100644 --- a/tools/qfcc/source/dump_globals.c +++ b/tools/qfcc/source/dump_globals.c @@ -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);