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: [PATCH] Provide a stub ioperm implementation for ARMv5 and later


On 12 Dec 2015 22:40, Phil Blundell wrote:
> On Sat, 2015-12-12 at 21:57 +0100, Arnd Bergmann wrote:
> > No other machines call register_isa_ports(), and I would very much
> > expect this to stay that way, so we could still disable the code for
> > ARMv7. 
> 
> I agree that it seems very unlikely anybody will be using these
> functions on ARMv7.  But, if we remove the legacy /proc/cpuinfo-based
> stuff (which is certainly obsolete) as I suggested to Aurelien earlier,
> the remaining cost of this code will be only a couple of hundred bytes
> of binary size.  At that point I think the potential benefit from
> eliminating it on ARMv7 will be so small that isn't worth taking any
> risk at all to do so, and we should just leave it alone.
> 
> Obviously we should refrain from adding these functions to aarch64 :-)

we can force people to fix new builds too by making the symbols visible
only at runtime.  if new code fails to link with missing symbols, we kwow
they'll get noticed & fixed by at least distros.
-mike

Attachment: signature.asc
Description: Digital signature


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