PR gold/11317
authorIan Lance Taylor <ian@airs.com>
Sat, 9 Jul 2011 00:47:12 +0000 (00:47 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 9 Jul 2011 00:47:12 +0000 (00:47 +0000)
commit191f1a2dccbc09da4c6cf7dc9b3ad5fa8520a4e8
tree7896a4e6a125ecfba82f94c0b590ebd78aab92d5
parent2fbb75826aefed6034a6e9a785ee8503e93d2aef
PR gold/11317
* target-reloc.h (issue_undefined_symbol_error): New inline
function, broken out of relocate_section.
(relocate_section): Call issue_undefined_symbol_error.
* i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
there is no TLS segment if we are about to issue an undefined
symbol error.
* x86_64.cc (Target_x86_64::relocate_tls): Likewise.
gold/ChangeLog
gold/i386.cc
gold/target-reloc.h
gold/x86_64.cc