mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 16:31:32 +00:00
[qfcc] Show a marker at first unbound reloc
This commit is contained in:
parent
361b3ff422
commit
62b6e95746
1 changed files with 3 additions and 0 deletions
|
@ -344,6 +344,9 @@ qfo_relocs (qfo_t *qfo)
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
for (i = 0; i < qfo->num_relocs; 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;
|
reloc = qfo->relocs + i;
|
||||||
if ((unsigned) reloc->type > rel_def_field_ofs) {
|
if ((unsigned) reloc->type > rel_def_field_ofs) {
|
||||||
printf ("%d unknown reloc: %d\n", i, reloc->type);
|
printf ("%d unknown reloc: %d\n", i, reloc->type);
|
||||||
|
|
Loading…
Reference in a new issue