[Patch][aarch64] Use IFUNCs to enable LSE instructions in libatomic on aarch64
Steve Ellcey
sellcey@cavium.com
Mon Aug 7 20:46:00 GMT 2017
It would probably help if I included the patch.
Steve Ellcey
sellcey@cavium.com
2017-08-07  Steve Ellcey  <sellcey@cavium.com>
* Makefile.am (ARCH_AARCH64_LINUX_LSE): Add IFUNC_OPTIONS and
libatomic_la_LIBADD.
* config/linux/aarch64/host-config.h: New file.
* config/linux/aarch64/init.c: New file.
* configure.ac (AC_CHECK_HEADERS): Check for sys/auxv.h.
(AC_CHECK_FUNCS): Check for getauxval.
(ARCH_AARCH64_LINUX_LSE): New conditional for IFUNC builds.
* configure.tgt (aarch64): Set AARCH and try_ifunc.
(aarch64*-*-linux*) Update config_path.
* Makefile.in: Regenerate.
* auto-config.h.in: Regenerate.
* configure: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libatomic.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170807/584de9ba/attachment.bin>
More information about the Gcc-patches
mailing list