This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for 930513-1 on Darwin
- To: dalej at apple dot com
- Subject: Re: patch for 930513-1 on Darwin
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 31 May 2001 17:52:11 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200105312359.QAA01734@scv3.apple.com>
On Thu, May 31, 2001 at 04:59:37PM -0700, dalej@apple.com wrote:
> On Darwin, the required syntax for a function name is different
> when you call it and when you pass its address, so the inliner
> needs to change things to compensate.
Err... no it doesn't. You can get into the same issue without
inlining if you CSE a function address into a call pattern.
> (perhaps by coincidence, no other machine I know of has
> such a requirement)
See how the IA-64 port uses SYMBOL_REF_FLAG. Now, the rs6000
port already uses SYMBOL_REF_FLAG for something else, so you'll
have to play games with ENCODE_SECTION_INFO instead, but that's
really just a side issue.
r~