lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 16 Dec 2011 08:27:09 -0800
From:	Richard Henderson <rth@...hat.com>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC:	Jeremy Fitzhardinge <jeremy@...p.org>, Ingo Molnar <mingo@...e.hu>,
	linux-kernel@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Frédéric Weisbecker <fweisbec@...il.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Jan Beulich <JBeulich@...e.com>,
	Arjan van de Ven <arjan@...radead.org>,
	Alexander van Heukelum <heukelum@...tmail.fm>,
	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Subject: Re: [PATCH] x86: Use -m-omit-leaf-frame-pointer to shrink text size

On 12/16/2011 02:20 AM, Peter Zijlstra wrote:
>> How can we tell gcc the asm contains a call, or otherwise suppress the
>> "leaf function" classification?

You can't at present.

> I only found the function __attribute__((leaf)) to explicitly mark a
> function as being a leaf function, but the documentation doesn't list
> the inverse of that to explicitly mark it as _not_ being one.

In any case, "leaf" doesn't do what you think it does -- see the docs.
I told Honza at the time that he was overloading existing terminology
without  purpose, but no one came up with a better name before the
release, so it stayed that way.  AFAIK, no one uses it because no one
understands it.

Do you have a proposal for what you'd like the extension to look like?
The only thing that comes to mind atm is "call" in the clobber section.
This is not likely to get written before gcc 4.8 though...


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

Powered by Openwall GNU/*/Linux Powered by OpenVZ