[BOLT] Support PLT sections with variable entry sizes
Summary: The linker can generate 8- or 16-byte entries in .plt.got and .plt.sec sections. On X86, the main differentiator is the presence of endbr64 instruction at the beginning of the entry. Detect the instruction and adjust the size accordingly. (cherry picked from FBD29847639)
parent
c33f08e7
Please register or sign in to comment