[PATCH] [lld][ELF][ARM] Mapping symbols for PLT entries

Denis Protivensky dprotivensky at accesssoftek.com
Fri Apr 3 01:55:33 PDT 2015


Hi ruiu, shankarke,

Make PLT entry atoms represent mapping symbols in the Release mode, while in the Debug mode they are still function-like symbols with regular names.
It's legal that mapping symbols denote unnamed parts of code, and PLT entries are not required to have function-like names (in fact, they didn't have these names before in the Release mode).
This trick is done to simplify the code and not keep mapping symbol atoms along with regular PLT atoms.

http://reviews.llvm.org/D8819

Files:
  lib/ReaderWriter/ELF/ARM/ARMRelocationPass.cpp
  test/elf/ARM/plt-mapping.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8819.23207.patch
Type: text/x-patch
Size: 8887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150403/c05a118f/attachment.bin>


More information about the llvm-commits mailing list