This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [glibc] nptl: Add missing placeholder abi symbol from nanosleep move
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, <libc-alpha at sourceware dot org>
- Date: Thu, 7 Nov 2019 23:36:40 +0000
- Subject: Re: [glibc] nptl: Add missing placeholder abi symbol from nanosleep move
- Ironport-sdr: ciUZseUYFhxmvgCXzVEweZpr1W0ac6k5NqoJUDEoL2An1wSkofT6VIXMPXqORIwG3uElHjJRuh fyOwZm+rygE3+lpWrZPnT3px19029GMzMFD6MLDngl5S1Vwy4CS98y0pMK9jl4at20/hcnYZlr NRavtOA4/baYhxElVuxF5HjmWdh1ZvRWYvkJyXV3bXXXSbbL0Ux4c6KkcYQGdFEZZcaNEAhaOw nORWlRq0eNuJ0s5Gmlu6JptWeLa9x5C8zgH+jfq8sNdjhh40P0+k0SygOO9mInd5aS9xFIL3zI YgI=
- Ironport-sdr: 0bh8N0lZTmYz/CjHjegXfzpBAbMWctWuafLYNl7PiH2eZE34bXzWhPtpRviIJmYLWqfQ0Lv3M6 znBzZJNuyobi0YnM1+GLEVxgAih7nkFayksJ0KVomrWA2FBb9NAe4oFqEMwjT2ni1KOtcD0Z40 jwRfn59VmeXa1qsGO/meoFHUerWYoee5tHbBM7Hk5FgQCzSbgRKIIKdKgcbFYYfP5e0TJYNupm VHZZ7JFzJP+JqEo5LtOCI4r6zycDZYujY6QvASk8OofsJypssJ97XHhq1nlCUIcF2uzS0gOb/E JyM=
- References: <20191107165125.39308.qmail@sourceware.org> <87lfsrbp9o.fsf@oldenburg2.str.redhat.com> <93c76472-363a-961c-2433-2e18aebb5822@linaro.org> <87k18ba9gq.fsf@oldenburg2.str.redhat.com>
On Thu, 7 Nov 2019, Florian Weimer wrote:
> The strong_alias is needed because some binutils version/target
> combinations do not support multiple versions for one symbol.
Note that it's possible to generate such aliases automatically using
__COUNTER__. See how the totalorder symbol versioning handles that; it
would be nice to convert that into something general used directly in the
definitions of versioned_symbol / compat_symbol (after which it would be
possible to incrementally eliminate existing definitions of aliases in
lots of source files that are only for the purpose of applying symbol
versions).
--
Joseph S. Myers
joseph@codesourcery.com