diff options
author | Steve Ellcey <sellcey@cavium.com> | 2017-12-05 00:49:09 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2017-12-05 00:49:09 +0000 |
commit | 141abc6f1e5a6a2de0a1ee97b63d56ee50b85a66 (patch) | |
tree | 50d25ec32b7f404446f4f5da5e0991c3ae3339f1 /libatomic/libatomic_i.h | |
parent | ad8503503f69f99b17e22cf53d87fe6e15256912 (diff) | |
download | gcc-141abc6f1e5a6a2de0a1ee97b63d56ee50b85a66.zip gcc-141abc6f1e5a6a2de0a1ee97b63d56ee50b85a66.tar.gz gcc-141abc6f1e5a6a2de0a1ee97b63d56ee50b85a66.tar.bz2 |
Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and libatomic_la_LIBADD.
2017-12-04 Steve Ellcey <sellcey@cavium.com>
* Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
libatomic_la_LIBADD.
* config/linux/aarch64/host-config.h: New file.
* configure.ac (IFUNC_RESOLVER_ARGS): Define.
(ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
* configure.tgt (aarch64): Set ARCH and try_ifunc.
(aarch64*-*-linux*) Update config_path.
(aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
* libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
* Makefile.in: Regenerate.
* auto-config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r255399
Diffstat (limited to 'libatomic/libatomic_i.h')
-rw-r--r-- | libatomic/libatomic_i.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libatomic/libatomic_i.h b/libatomic/libatomic_i.h index 2dad4a8..2ecc27a 100644 --- a/libatomic/libatomic_i.h +++ b/libatomic/libatomic_i.h @@ -240,7 +240,7 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free); # if IFUNC_NCOND(N) == 1 # define GEN_SELECTOR(X) \ extern typeof(C2(libat_,X)) C3(libat_,X,_i1) HIDDEN; \ - static typeof(C2(libat_,X)) * C2(select_,X) (void) \ + static typeof(C2(libat_,X)) * C2(select_,X) (IFUNC_RESOLVER_ARGS) \ { \ if (IFUNC_COND_1) \ return C3(libat_,X,_i1); \ @@ -250,7 +250,7 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free); # define GEN_SELECTOR(X) \ extern typeof(C2(libat_,X)) C3(libat_,X,_i1) HIDDEN; \ extern typeof(C2(libat_,X)) C3(libat_,X,_i2) HIDDEN; \ - static typeof(C2(libat_,X)) * C2(select_,X) (void) \ + static typeof(C2(libat_,X)) * C2(select_,X) (IFUNC_RESOLVER_ARGS) \ { \ if (IFUNC_COND_1) \ return C3(libat_,X,_i1); \ @@ -263,7 +263,7 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free); extern typeof(C2(libat_,X)) C3(libat_,X,_i1) HIDDEN; \ extern typeof(C2(libat_,X)) C3(libat_,X,_i2) HIDDEN; \ extern typeof(C2(libat_,X)) C3(libat_,X,_i3) HIDDEN; \ - static typeof(C2(libat_,X)) * C2(select_,X) (void) \ + static typeof(C2(libat_,X)) * C2(select_,X) (IFUNC_RESOLVER_ARGS) \ { \ if (IFUNC_COND_1) \ return C3(libat_,X,_i1); \ |