This is the mail archive of the gcc-patches@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]

Re: patch for 930513-1 on Darwin


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~


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