This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490

--- Comment #26 from H. Peter Anvin <hpa at zytor dot com> ---
@GPREL (altough it probably should be @GPOFF by analogy with @TPOFF?) gives the
linker an option to distinguish the relocations which need to be adjusted at
link/load time and the ones that don't.

We have our own way of doing that for the Linux kernel, but I'm guessing H.J.
wants a more general solution.

@TPOFF would do the same thing for %fs, so @GPOFF would presumably be used for
%gs (the other way around for i386...)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]