[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080110180225.GA747@one.firstfloor.org>
Date: Thu, 10 Jan 2008 19:02:25 +0100
From: Andi Kleen <andi@...stfloor.org>
To: John Reiser <jreiser@...Wagon.com>
Cc: Sam Ravnborg <sam@...nborg.org>, Andi Kleen <andi@...stfloor.org>,
mingo@...e.hu, tglx@...utronix.de, linux-kernel@...r.kernel.org
Subject: Re: STT_FUNC for assembler checksum and semaphore ops" in git-x86
> It does look ugly. But .size and .type are oriented towards static
> description, while the dwarf2 CurrentFrameInfo (CFI) annotations
> are oriented towards dynamic traceback and unwinding. Forcing the
ENTRY/ENDPROC have nothing to do with dwarf2. That is CFI_STARTPROC/ENDPROC.
But actually checking the default implementation in linkage.h already
implements size:
#ifndef END
#define END(name) \
.size name, .-name
#endif
#ifndef ENDPROC
#define ENDPROC(name) \
.type name, @function; \
END(name)
#endif
Are you sure it doesn't work? Your patch should be not needed. If it's
still wrong then just ENDPROCs() need to be added.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists