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 inline-asm/33932] miscalculation of asm labels with -g3



------- 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


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