From: Mark Hatle <mark.hatle@windriver.com>
To: Khem Raj <raj.khem@gmail.com>, <maninder1.s@samsung.com>
Cc: yocto@yoctoproject.org
Subject: Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
Date: Tue, 31 Mar 2015 14:01:48 -0500 [thread overview]
Message-ID: <551AEF1C.3020503@windriver.com> (raw)
In-Reply-To: <DE4997FE-04B3-4173-9552-D65661C62878@gmail.com>
Hmm, I never saw the original email (or thread).
What is the context for this, simply that there are multiple ld-linux.do.3 in
the same check and remove one or the other is more efficient?
(I suspect it will be optimized out, but I can make the change quickly enough.)
--Mark
On 3/31/15 1:01 PM, Khem Raj wrote:
>
>> On Mar 30, 2015, at 8:14 PM, Maninder Singh <maninder1.s@samsung.com
>> <mailto:maninder1.s@samsung.com>> wrote:
>>
>> Hi,
>>
>>
>> From 05ab779af24baef957972aa1d2a9e9d29212cc4c Mon Sep 17 00:00:00 2001
>> From: Maninder Singh <maninder1.s@samsung.com <mailto:maninder1.s@samsung.com>>
>> Date: Thu, 19 Mar 2015 03:02:59 +0530
>> Subject: [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
>>
>> if (! strcmp (soname, "ld-linux.so.2")
>> || ! strcmp (soname, "ld-linux.so.3") ------------------------>
>> || ! strcmp (soname, "ld.so.1")
>> || ! strcmp (soname, "ld-linux-ia64.so.2")
>> || ! strcmp (soname, "ld-linux-x86-64.so.2")
>> || ! strcmp (soname, "ld64.so.1")
>> || ! strcmp (soname, "ld-linux.so.3") --------------------------->
>> redundant code
>> || ! strcmp (soname, "ld-linux-armhf.so.3"))
>>
>> Signed-off-by: Maninder Singh
>>
>
> use First Last <your@email>
>
>> ---
>> src/get.c | 1 -
>> 1 files changed, 0 insertions(+), 1 deletions(-)
>> diff --git a/src/get.c b/src/get.c
>> index 6a63f02..a34668a 100644
>> --- a/src/get.c
>> +++ b/src/get.c
>> @@ -35,7 +35,6 @@ is_ldso_soname (const char *soname)
>> || ! strcmp (soname, "ld-linux-ia64.so.2")
>> || ! strcmp (soname, "ld-linux-x86-64.so.2")
>> || ! strcmp (soname, "ld64.so.1")
>> - || ! strcmp (soname, "ld-linux.so.3")
>> || ! strcmp (soname, "ld-linux-armhf.so.3"))
>> return 1;
>> return 0;
>> --
>> 1.7.1
>>
>>
>> Thanks and Regards,
>> Maninder Singh
>>
>> <201503310844012_QKNMBDIF.gif>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
>
next prev parent reply other threads:[~2015-03-31 19:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 3:14 [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp Maninder Singh
2015-03-31 18:01 ` Khem Raj
2015-03-31 19:01 ` Mark Hatle [this message]
2015-03-31 19:19 ` Mark Hatle
-- strict thread matches above, loose matches on Subject: below --
2015-04-01 4:41 Maninder Singh
2015-04-01 4:52 Maninder Singh
2015-04-01 19:44 ` Mark Hatle
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=551AEF1C.3020503@windriver.com \
--to=mark.hatle@windriver.com \
--cc=maninder1.s@samsung.com \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.