From Andrew Chatham: exit on relocation error.
This commit is contained in:
parent
b33682a7ae
commit
7d00dcbd9c
3 changed files with 10 additions and 10 deletions
10
gold/i386.cc
10
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
|
@ -1238,7 +1238,7 @@ Target_x86_64::Relocate::relocate(const Relocate_info<64, false>* relinfo,
|
|||
program_name,
|
||||
relinfo->location(relnum, rel.get_r_offset()).c_str(),
|
||||
r_type);
|
||||
// gold_exit(false);
|
||||
gold_exit(false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1293,7 +1293,7 @@ Target_x86_64::Relocate::relocate_tls(const Relocate_info<64, 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_X86_64_TLSGD:
|
||||
|
@ -1308,7 +1308,7 @@ Target_x86_64::Relocate::relocate_tls(const Relocate_info<64, 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_X86_64_TLSLD:
|
||||
|
@ -1316,7 +1316,7 @@ Target_x86_64::Relocate::relocate_tls(const Relocate_info<64, false>* relinfo,
|
|||
program_name,
|
||||
relinfo->location(relnum, rel.get_r_offset()).c_str(),
|
||||
r_type);
|
||||
// gold_exit(false);
|
||||
gold_exit(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue