This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Removing internal_function
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 3 Apr 2017 22:10:20 +0530
- Subject: Re: Removing internal_function
- Authentication-results: sourceware.org; auth=none
- References: <e5fd3ce7-0a54-7e20-2ef4-5ed19e8815e9@redhat.com>
On Monday 03 April 2017 08:36 PM, Florian Weimer wrote:
> internal_function specifies an alternative calling convention. For
> static functions, GCC has been doing similar optimizations for a long
> time. I assume internal_function could disable those optimizations by
> explicitly specifying a different (less optimal) calling convention.
A good place to start may be to get rid of it in non i686 code (a quick
grep found instances in arm code for example) and for static functions.
The non-i686 code changes should ideally be obvious, since they should
result in no change in the generated code.
Siddhesh