diff options
Diffstat (limited to 'gold/errors.h')
-rw-r--r-- | gold/errors.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gold/errors.h b/gold/errors.h index b373a06..4b71e6c 100644 --- a/gold/errors.h +++ b/gold/errors.h @@ -75,14 +75,10 @@ class Errors size_t relnum, off_t reloffset, const char* format, va_list); - // Issue an undefined symbol error. SYM is the undefined symbol. - // RELINFO is the general relocation info. RELNUM is the number of - // the reloc, and RELOFFSET is the reloc's offset. - template<int size, bool big_endian> + // Issue an undefined symbol error. LOCATION is the location of + // the error (typically an object file name or relocation info). void - undefined_symbol(const Symbol* sym, - const Relocate_info<size, big_endian>* relinfo, - size_t relnum, off_t reloffset); + undefined_symbol(const Symbol* sym, const std::string& location); // Report a debugging message. void |