------- Comment #3 from stsp at users dot sourceforge dot net 2007-10-28 19:25 ------- Ohh... thanks for taking a look. But is it documented anywhere that the inline asm _must_ specify the section? I thought the asm code, as well as the C code, will utilize the .text, unless the opposite is specified. And now, since it is not the case only with -g3, maybe it is a bug after all? Is it really wise to have the default section for asm to depend on -g switch? dosemu seems to be miscompiled because of this. Also, even if the asm code is put into another section, why it cannot be called from there? (unless the section is NX, of course)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33932