[PECOFF][Writer] Emit .reloc section.
authorRui Ueyama <ruiu@google.com>
Mon, 15 Jul 2013 18:43:01 +0000 (18:43 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 15 Jul 2013 18:43:01 +0000 (18:43 +0000)
commit341a2b4b5d1c3c7cc709cad45b6e2803525015cd
tree3008f8b9cf64c1d62131b5adbad10926cd4f296b
parent22161401df1fe5f3eb57f099e8bca065822549df
[PECOFF][Writer] Emit .reloc section.

Emit .reloc section. This is the first step to support DLL creation. The
executable doesn't need .reloc section, but the DLL does.

Reviewers: Bigcheese

CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1126

llvm-svn: 186336
lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
lld/test/pecoff/base-reloc.test [new file with mode: 0644]
lld/test/pecoff/trivial.test