public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [RFC] Remove platform dependent information from top-level libc-abis
@ 2014-11-04 10:29 Matthew Fortune
  2014-11-12 23:08 ` Matthew Fortune
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Fortune @ 2014-11-04 10:29 UTC (permalink / raw)
  To: libc-alpha

As the MIPS port is making changes to the libc-abis file it seems
appropriate for me to address the various comments which have been made
about how libc-abis works.

My perspective is that libc-abis is inherently an arch specific
concept. I.e. One arch may have more special features than another. This
means that the features listed in libc-abis may get different numbers
assigned.

The rules (constructed via discussion with Joseph) would be:

* Each architecture with IFUNC support gets a copy of the file, mentioning 
both UNIQUE and IFUNC, but with abbreviated comments like in the MIPS file 
rather than the full ones present in the top-level file.
i.e. Add files mentioning both UNIQUE and IFUNC for S/390, AArch64 and ARM.

* The top-level file only has UNIQUE.

* Once that is done, the PLATFORM column should be removed from the files 
and all code processing it removed (so that exactly one such file is found 
through sysdeps, and that file always processed).

* Anyone adding new architecture-independent features to binutils in 
future that require abiversion settings because of incompatibility with 
older dynamic linkers has the responsibility to ensure the value depends 
correctly on the architecture.

Any objections? If not I will send patches for all affected architectures

Libc-abis threads:

https://sourceware.org/ml/libc-alpha/2014-10/msg00018.html
https://sourceware.org/ml/libc-alpha/2014-01/msg00375.html

thanks,
Matthew

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-13 20:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-04 10:29 [RFC] Remove platform dependent information from top-level libc-abis Matthew Fortune
2014-11-12 23:08 ` Matthew Fortune
2014-11-12 23:35   ` Roland McGrath
2014-11-13 10:03     ` Matthew Fortune
2014-11-13 20:26       ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).