[PATCH] [ELF] Emit DT_TEXTREL dynamic table flag
Simon Atanasyan
simon at atanasyan.com
Sun May 11 02:30:55 PDT 2014
Hi Bigcheese, ruiu, shankarke,
If one or more dynamic relocation might modify a read-only section, dynamic table should contain DT_TEXTREL tag. The patch checks each relocation added to the `RelocationTable` and maintains the `canModifyReadonlySection` flag. The `DynamicTable` class request this flag and emit the `DT_TEXTREL` tag if necessary.
http://reviews.llvm.org/D3716
Files:
lib/ReaderWriter/ELF/SectionChunks.h
test/elf/Mips/dt-textrel.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3716.9289.patch
Type: text/x-patch
Size: 3808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140511/6da4b956/attachment.bin>
More information about the llvm-commits
mailing list