This is the mail archive of the gcc@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]

Should asm("" : : : "memory") order accesses to the GOT?


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.


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