diff options
| author | Ron Ofir <ron.ofir@gmail.com> | 2013-09-23 20:21:24 +0000 |
|---|---|---|
| committer | Ron Ofir <ron.ofir@gmail.com> | 2013-09-23 20:21:24 +0000 |
| commit | b7d3e6b76bd80468236adfbef9286838fc99db6b (patch) | |
| tree | bf5554fad9ccbed13dd5a8aec281f0912550ce2a /clang/lib | |
| parent | 213358aeaafd5f05bcd6cde94ce080063bddd465 (diff) | |
| download | bcm5719-llvm-b7d3e6b76bd80468236adfbef9286838fc99db6b.tar.gz bcm5719-llvm-b7d3e6b76bd80468236adfbef9286838fc99db6b.zip | |
[lld][PECOFF] Fix data directory entry RVA of base relocations section
Summary:
This patch changes WriterPECOFF to actually write down the address instead of ignoring it.
Also, it changes the order of adding the BaseReloc chunk as otherwise the address wasn't set yet.
I think a better way of doing it would be to change DataDirectoryAtom to create a Reference
instead of using a number, and to change IdataPass accordingly, but I'm not sure how to do that.
Reviewers: ruiu
Reviewed By: ruiu
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1743
llvm-svn: 191220
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions

