From: Siddhesh Poyarekar <siddhesh@sourceware.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 0/2] Multiarch hooks for memcpy variants
Date: Fri, 11 Aug 2017 07:14:00 -0000 [thread overview]
Message-ID: <1502435654-18032-1-git-send-email-siddhesh@sourceware.org> (raw)
Functions like mempcpy, __mempcpy_chk and __memcpy_chk continue to call the
generic memcpy implementation. These two patches fix this by adding ifunc
entry points for these functions for generic, thunderx and falkor.
Siddhesh Poyarekar (2):
aarch64: Add multiarch variants of __memcpy_chk
Call the correct memcpy function through mempcpy
sysdeps/aarch64/memcpy.S | 16 ++++++-
sysdeps/aarch64/multiarch/Makefile | 7 ++-
sysdeps/aarch64/multiarch/ifunc-impl-list.c | 12 +++++
sysdeps/aarch64/multiarch/memcpy_falkor.S | 13 +++++-
sysdeps/aarch64/multiarch/memcpy_generic.S | 5 +++
sysdeps/aarch64/multiarch/memcpy_thunderx.S | 13 +++++-
sysdeps/aarch64/multiarch/mempcpy.c | 47 +++++++++++++++++++
sysdeps/aarch64/multiarch/mempcpy_chk-nonshared.S | 28 ++++++++++++
sysdeps/aarch64/multiarch/mempcpy_chk.c | 35 +++++++++++++++
sysdeps/aarch64/multiarch/mempcpy_falkor.S | 23 ++++++++++
sysdeps/aarch64/multiarch/mempcpy_generic.S | 55 +++++++++++++++++++++++
sysdeps/aarch64/multiarch/mempcpy_thunderx.S | 23 ++++++++++
12 files changed, 273 insertions(+), 4 deletions(-)
create mode 100644 sysdeps/aarch64/multiarch/mempcpy.c
create mode 100644 sysdeps/aarch64/multiarch/mempcpy_chk-nonshared.S
create mode 100644 sysdeps/aarch64/multiarch/mempcpy_chk.c
create mode 100644 sysdeps/aarch64/multiarch/mempcpy_falkor.S
create mode 100644 sysdeps/aarch64/multiarch/mempcpy_generic.S
create mode 100644 sysdeps/aarch64/multiarch/mempcpy_thunderx.S
--
2.7.4
next reply other threads:[~2017-08-11 7:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 7:14 Siddhesh Poyarekar [this message]
2017-08-11 7:14 ` [PATCH 2/2] Call the correct memcpy function through mempcpy Siddhesh Poyarekar
2017-08-11 7:14 ` [PATCH 1/2] aarch64: Add multiarch variants of __memcpy_chk Siddhesh Poyarekar
2017-08-11 11:11 [PATCH 0/2] Multiarch hooks for memcpy variants Wilco Dijkstra
2017-08-11 11:22 ` Siddhesh Poyarekar
2017-08-11 17:58 ` Szabolcs Nagy
2017-08-11 18:06 ` Zack Weinberg
2017-08-11 18:53 ` Siddhesh Poyarekar
2017-08-11 18:55 ` Zack Weinberg
2017-08-14 10:36 ` Wilco Dijkstra
2017-08-14 12:14 ` Siddhesh Poyarekar
2017-08-14 13:20 ` Szabolcs Nagy
2017-08-14 13:29 ` Siddhesh Poyarekar
2017-08-14 13:52 ` Szabolcs Nagy
2017-08-14 13:56 ` Siddhesh Poyarekar
2017-08-15 21:55 ` Wilco Dijkstra
2017-08-16 4:29 ` Siddhesh Poyarekar
2017-08-14 13:22 ` Wilco Dijkstra
2017-08-14 13:54 ` Siddhesh Poyarekar
2017-08-15 20:11 ` Patrick McGehearty
[not found] ` <a62a7627-1d1e-6a2b-8197-f4b16bfbdcc6@oracle.com>
2017-08-15 20:14 ` Patrick McGehearty
2017-08-15 21:02 ` Zack Weinberg
2017-08-15 21:41 ` Wilco Dijkstra
2017-08-15 22:06 ` Zack Weinberg
2017-08-16 4:40 ` Siddhesh Poyarekar
2017-08-16 5:10 ` Siddhesh Poyarekar
2017-08-15 20:52 ` Zack Weinberg
2017-08-16 12:28 ` Wilco Dijkstra
2017-08-17 1:09 ` Zack Weinberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502435654-18032-1-git-send-email-siddhesh@sourceware.org \
--to=siddhesh@sourceware.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).