This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Should asm("" : : : "memory") order accesses to the GOT?
- To: egcs at egcs dot cygnus dot com
- Subject: Should asm("" : : : "memory") order accesses to the GOT?
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Thu, 17 Jun 1999 21:57:36 +0200
Hi,
the subject says it all, should address loads from the GOT considered as memory
accesses?
Currently this is not true at least on PPC and so I can't use the asm() to
cure a glibc-2.1.1/ld.so segfault (gcc-2.95pre moves an access to the GOT
before the call to the bootstrap relocation of ld.so).
This is just a question for understanding, it has come up while trying the
"easy" workaround.
Franz.