https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490
--- Comment #24 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andy Lutomirski from comment #20) > > Can someone elaborate on what the @GPREL suffix actually means? "%seg:foo@GPREL" is used to address symbol, foo, relative to __gp. foo is addressed by %seg + offset of foo relative to __gp. Linker sets __gp to the middle of GP section which contains definitions of symbols with GPREL relocations. Run-time should load address of __gp into segment register, %seg before accessing foo via "%seg:foo@GPREL".