]> sourceware.org Git - glibc.git/commit
locale: Use compat_symbol_reference in _nl_postload_ctype
authorFlorian Weimer <fweimer@redhat.com>
Thu, 25 Mar 2021 10:05:37 +0000 (11:05 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 25 Mar 2021 10:06:58 +0000 (11:06 +0100)
commit6d8fcee694b9581630a7f27fcbf0009fc44d7baa
tree04bc697d9cf5d6680e7b7f4d3cd08c8ca27e1887
parent3a24ddeab5b7064beaf8165533fbcd2db95d5339
locale: Use compat_symbol_reference in _nl_postload_ctype

These symbol usages are not definitions, so compat_symbol_reference is
more appropriate than compat_symbol.  compat_symbol_reference is also
safe to emit multiple times (in case the inline assembly is
duplicated; this is possible because it is nested in a function).
compat_symbol does not necessarily have this property because it is
intended to provide a symbol definition.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
locale/lc-ctype.c
This page took 0.039823 seconds and 5 git commands to generate.