Compile a PIE ELF program with different offsets in different sections
I am working on a research project where I need to compile a program with multiple sections. These sections need to be loaded with different PIE offsets. I am wondering how I can do it in GCC.