[Bug c/106835] [i386] Taking an address of _GLOBAL_OFFSET_TABLE_ produces a wrong value

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 5 09:37:01 GMT 2022


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps s/bug/feature/
Some symbol names are simply special in certain assembler dialects and imply
certain relocations, in other assembler dialects all relocations are explicit.
_GLOBAL_OFFSET_TABLE_ begins with underscore and upper case letter, so it is a
reserved name, so it is fine if the above testcase means something different
from what you expect.


More information about the Gcc-bugs mailing list