This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: enable n32 and n64, and move o32 into mips/mips32


> On Mar 29, 2003, Roland McGrath <roland at redhat dot com> wrote:
> 
> > Nested in what?  The definitions are at top level.
> 
> Nope.  dynamic-link.h is only #included inside other functions, so any
> functions defined in there are nested functions, e.g.

Ah, righteyo.  I'm pretty sure I wrote that code that way so I suppose I
ought to have remembered that, but it was many years ago.  The distinction
only matters in theory when the inline functions use local variables of
parent functions.  But in fact these ones do.  Nonetheless, in the compiler
I have (current RHL 3.2 branch) `static' here seems to work like `auto'
should, and `auto' makes the compiler crash.  So go figure.

Given that the compiler is broken now and might get fixed so that what
works now will no longer work (static, which is wrong since the function
actually uses the parent function's locals), I think we need to forego the
__typeof solution and either macros for the argument type or change all the
dl-machine.h files.  The latter is actually cleaner, I think.  The current
type is not right for plenty of other relocs on other machines, that just
haven't been bitten so far.  


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