* target-reloc.h (relocate_section): If the reloc offset is out of
authorIan Lance Taylor <ian@airs.com>
Sat, 27 Apr 2013 00:53:16 +0000 (00:53 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 27 Apr 2013 00:53:16 +0000 (00:53 +0000)
commit0e8048633ef3388613bbf33822f708fc7331f234
tree366262a5bd5b546a22a8b9098ee66e866f2ac49c
parent6c6b70567b85aedf48d80a6de9c4747df4f1386f
* target-reloc.h (relocate_section): If the reloc offset is out of
range, pass VIEW as NULL to relocate.relocate.
* arm.cc (Target_arm:Relocate::relocate): Check for a NULL view.
* i386.cc (Target_i386::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
gold/ChangeLog
gold/arm.cc
gold/i386.cc
gold/powerpc.cc
gold/sparc.cc
gold/target-reloc.h
gold/tilegx.cc
gold/x86_64.cc