diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-02-20 03:35:59 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-02-20 03:35:59 +0000 |
| commit | 11f42aa2854bf27a7eb38e3fbfe1fe0f5a24a24a (patch) | |
| tree | 843036343eb477d73efd4705e76ec69ee8673b95 /llvm/test | |
| parent | ad6eb127c9e4c48cfdff1f47e5efe83255b15565 (diff) | |
| download | bcm5719-llvm-11f42aa2854bf27a7eb38e3fbfe1fe0f5a24a24a.tar.gz bcm5719-llvm-11f42aa2854bf27a7eb38e3fbfe1fe0f5a24a24a.zip | |
PECOFF: Fix base relocation for ImageBase.
This is yet another edge case of base relocation for symbols. Absolute
symbols are in general not target of base relocation because absolute
atom is a way to point to a specific memory location. In r229816, I
removed entries for absolute atoms from the base relocation table
(so that they won't be fixed by the loader).
However, there was one exception -- ImageBase. ImageBase points to the
start address of the current image in memory. That needs to be fixed up
at load time. This patch is to treat the symbol in a special manner.
llvm-svn: 229961
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

