This is the mail archive of the libc-alpha@sourceware.org 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: [RFC][PATCH] Avoid mempcpy/ifunc in __libc_message


It should be calling __mempcpy for name space reasons anyway (an unrelated
issue, but one that should be fixed since we've noticed).

Your change is likely to be transformed back into a call to memcpy or
suchlike by a new-enough GCC.

Off hand I think it's hard enough to really be sure we avoid all IFUNC uses
in such internal places that it's not worth avoiding one or two.

It is certainly annoying that we get such hairy stuff intended solely for
optimization on the error paths where simplicity matters far more than
optimality.  But I don't see any viable way around it.


Thanks,
Roland


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