summaryrefslogtreecommitdiffstats
path: root/gold/target-reloc.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-11-06 22:46:08 +0000
committerIan Lance Taylor <iant@google.com>2006-11-06 22:46:08 +0000
commitf6ce93d6e999d1a0c450c5e71c5b3468e6217f0a (patch)
tree945ecd482d35d1c2a590645ef3d5f41fb83dcc4b /gold/target-reloc.h
parent8d9455b422d98d97f090923445aa2680e6882f20 (diff)
downloadppe42-binutils-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.gz
ppe42-binutils-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.zip
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
Diffstat (limited to 'gold/target-reloc.h')
-rw-r--r--gold/target-reloc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gold/target-reloc.h b/gold/target-reloc.h
index ebaa8276cf..70692783e0 100644
--- a/gold/target-reloc.h
+++ b/gold/target-reloc.h
@@ -44,7 +44,7 @@ scan_relocs(
Symbol_table* symtab,
Layout* layout,
Target_type* target,
- Sized_object<size, big_endian>* object,
+ Sized_relobj<size, big_endian>* object,
const unsigned char* prelocs,
size_t reloc_count,
size_t local_count,
@@ -193,6 +193,9 @@ relocate_section(
sym->name());
// gold_exit(false);
}
+
+ if (sym != NULL && sym->has_warning())
+ relinfo->symtab->issue_warning(sym, relinfo->location(i, offset));
}
}
OpenPOWER on IntegriCloud