6 ms·
> A patch I helped review that's related to this in LLVM just landed today Cool. :) > Also, note that you need a custom linker script to define those symbols
by haberman 7y ago
> A patch I helped review that's related to this in LLVM just landed today
Cool. :)
> Also, note that you need a custom linker script to define those symbols
The code I posted above compiles and runs without any custom linker script.
- ndesaulniers 7y ago> The code I posted above compiles and runs without any custom linker script. What?! Ok, I've seen the Linux kernel's custom linker script define symbols for custom ELF section boundaries, but TIL that you can get these automagically. I'm curious to see if LLD implements this logic, too.