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]
Other format: [Raw text]

Re: label value in ppc asm stmt


> I want to get the address of a label within a asm-stmt.

	Constraint "s" probably is good enough.

{
    __asm__ ("beq- cr0,%l0" :: "s" (&&label));

    label:
}

David


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