From: Marcus Shawcroft <marcus.shawcroft@linaro.org>
To: Steve McIntyre <steve.mcintyre@linaro.org>
Cc: libc-ports@sourceware.org,
"Carlos O'Donell" <carlos@systemhalted.org>,
"Joseph S. Myers" <joseph@codesourcery.com>
Subject: Re: [PATCH] AArch64: Tag ARM and AArch64 binaries in the ldconfig cache
Date: Tue, 04 Dec 2012 13:02:00 -0000 [thread overview]
Message-ID: <CABXK9nepXY0qKfw7abrU_ffjEQgmnEiy_66B1GuBaeLf=ra6Ow@mail.gmail.com> (raw)
In-Reply-To: <20121203152515.GB22509@einval.com>
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
On 3 December 2012 15:25, Steve McIntyre <steve.mcintyre@linaro.org> wrote:
> Hey guys,
>
> Splitting up code as requested. Here's patch #1 for AArch64.
>
> =======================================
> Tag ARM and AArch64 binaries in the ldconfig cache
>
> * sysdeps/unix/sysv/linux/aarch64/readelflib.c: New file.
>
> Add the correct tags for ARM and AArch64 libraries in the ldconfig
> cache for AArch64.
Steve, Rather than replicate the code from arm/readelflib.c into
aarch64/readelflib.c I'll apply the attached patch which uses the
include mechanism you originally propsed here:
http://sourceware.org/ml/libc-ports/2012-11/msg00111.html
/Marcus
[-- Attachment #2: aarch64-readelflib.patch --]
[-- Type: application/octet-stream, Size: 1082 bytes --]
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/readelflib.c b/ports/sysdeps/unix/sysv/linux/aarch64/readelflib.c
new file mode 100644
index 0000000..87994a4
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/readelflib.c
@@ -0,0 +1,18 @@
+/* Copyright (C) 2012 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "../arm/readelflib.c"
next prev parent reply other threads:[~2012-12-04 13:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 15:26 Steve McIntyre
2012-12-03 15:28 ` [PATCH] AArch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6 cache Steve McIntyre
2012-12-04 12:52 ` Marcus Shawcroft
2012-12-04 13:02 ` Marcus Shawcroft [this message]
2012-12-04 13:13 ` [PATCH] AArch64: Tag ARM and AArch64 binaries in the ldconfig cache Steve McIntyre
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='CABXK9nepXY0qKfw7abrU_ffjEQgmnEiy_66B1GuBaeLf=ra6Ow@mail.gmail.com' \
--to=marcus.shawcroft@linaro.org \
--cc=carlos@systemhalted.org \
--cc=joseph@codesourcery.com \
--cc=libc-ports@sourceware.org \
--cc=steve.mcintyre@linaro.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).