relocation

What is meant by statically relocated or static relocation of a segment

The elf format executable contains various segments like code, data, bss, stack etc. If we say that the segment xyz is statically relocated what does that mean? The elf format binary contains relative addresses for each segment. When we say statically relocated does it mean that the relative addresses are actually the physical addresses...

what's the ELF object file size limitation on 64bit platform?

Assume the x86 64 and linux platform. If you look into the ELF header, the offset are all 64bit. So it's easy to create an object file larger than 4G with relocatoin R_X86_64_64. This means a static .o file and executable can be as large as 64bit can represent. However, for shared library, like gcc , we only have R_X86_64_PLT32 reloca...