summaryrefslogtreecommitdiff
path: root/binutils-2.27/gold/dwp.h
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.27/gold/dwp.h')
-rw-r--r--binutils-2.27/gold/dwp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.27/gold/dwp.h b/binutils-2.27/gold/dwp.h
index c0c4d567..4538a199 100644
--- a/binutils-2.27/gold/dwp.h
+++ b/binutils-2.27/gold/dwp.h
@@ -84,6 +84,11 @@ gold_exit(Exit_status status) ATTRIBUTE_NORETURN;
extern void
gold_fatal(const char* format, ...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1;
+// This function is called to issue an error. This will cause gold to
+// eventually exit with failure.
+extern void
+gold_error(const char* msg, ...) ATTRIBUTE_PRINTF_1;
+
// This function is called to issue a warning.
extern void
gold_warning(const char* msg, ...) ATTRIBUTE_PRINTF_1;