aboutsummaryrefslogtreecommitdiff
path: root/gold/i386.cc
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/i386.cc
parentb33682a7ae24336d16a081b214c2292d1aa95960 (diff)
downloadgdb-7d00dcbd9cabb4e810e875fc821b1ed26f07c20f.zip
gdb-7d00dcbd9cabb4e810e875fc821b1ed26f07c20f.tar.gz
gdb-7d00dcbd9cabb4e810e875fc821b1ed26f07c20f.tar.bz2
From Andrew Chatham: exit on relocation error.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r--gold/i386.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/i386.cc b/gold/i386.cc
index ce4d961..7645b32 100644
--- a/gold/i386.cc
+++ b/gold/i386.cc
@@ -1291,7 +1291,7 @@ Target_i386::Relocate::relocate(const Relocate_info<32, false>* relinfo,
program_name,
relinfo->location(relnum, rel.get_r_offset()).c_str(),
r_type);
- // gold_exit(false);
+ gold_exit(false);
break;
}
@@ -1353,7 +1353,7 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
program_name,
relinfo->location(relnum, rel.get_r_offset()).c_str(),
r_type);
- // gold_exit(false);
+ gold_exit(false);
break;
case elfcpp::R_386_TLS_GD:
@@ -1368,7 +1368,7 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
program_name,
relinfo->location(relnum, rel.get_r_offset()).c_str(),
r_type);
- // gold_exit(false);
+ gold_exit(false);
break;
case elfcpp::R_386_TLS_LDM:
@@ -1391,7 +1391,7 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
program_name,
relinfo->location(relnum, rel.get_r_offset()).c_str(),
r_type);
- // gold_exit(false);
+ gold_exit(false);
break;
case elfcpp::R_386_TLS_LDO_32:
@@ -1414,7 +1414,7 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
program_name,
relinfo->location(relnum, rel.get_r_offset()).c_str(),
r_type);
- // gold_exit(false);
+ gold_exit(false);
break;
}
}