summaryrefslogtreecommitdiff
path: root/gold/target-reloc.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-11 19:13:02 +0000
committerIan Lance Taylor <iant@google.com>2007-10-11 19:13:02 +0000
commit7d00dcbd9cabb4e810e875fc821b1ed26f07c20f (patch)
tree928d1b88a7a7dd45dfa51417591a67969860917c /gold/target-reloc.h
parentb33682a7ae24336d16a081b214c2292d1aa95960 (diff)
downloadbinutils-gdb-7d00dcbd9cabb4e810e875fc821b1ed26f07c20f.tar.gz
From Andrew Chatham: exit on relocation error.
Diffstat (limited to 'gold/target-reloc.h')
-rw-r--r--gold/target-reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/target-reloc.h b/gold/target-reloc.h
index c827d79aafc..2ebd3c97913 100644
--- a/gold/target-reloc.h
+++ b/gold/target-reloc.h
@@ -200,7 +200,7 @@ relocate_section(
fprintf(stderr, _("%s: %s: undefined reference to '%s'\n"),
program_name, relinfo->location(i, offset).c_str(),
sym->name());
- // gold_exit(false);
+ gold_exit(false);
}
if (sym != NULL && sym->has_warning())