[llvm-commits] [PATCH] .pdata and .xdata sections in COFF files should be read-only

Michael Spencer bigcheesegs at gmail.com
Thu Aug 2 12:12:16 PDT 2012


On Sat, Jul 28, 2012 at 10:01 AM, kai <kai at redstar.de> wrote:
> Hi!
>
> According to the PE COFF specification 8.2, section 5, the .pdata and .xdata
> sections are read-only. LLVM defines these sections are read-write. As a
> result, the Microsoft linker complaints about the sections. The attached
> patch corrects this.
>
> Regards
> Kai

looks good to me.

- Michael Spencer



More information about the llvm-commits mailing list