awshkulkar wrote: Sorry took a while to get to this. I have a single file test case with synthetic plt section. I had to define printf in there to keep linker happy. I could have used --defsym but just made a function in the assembly. https://github.com/llvm/llvm-project/pull/192716