[PATCH] D52317: Add support for dynamic libraries on Hexagon
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 26 16:34:41 PDT 2018
ruiu added inline comments.
================
Comment at: ELF/Arch/Hexagon.cpp:235
+ 0x00, 0xc0, 0x9c, 0x52, // jumpr r28 } # call dynamic linker
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
----------------
We fill gaps with a trap instruction. Is 0x00 a formal trap instruction (e.g. INT3 on x86)? If not, please choose a trap instruction for Hexagon ISA and replace 0x00 with that instruction.
Also, why do we have a padding at end of each PLT entry? Can we simply remove them?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D52317
More information about the llvm-commits
mailing list