* [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
@ 2015-03-31 3:14 Maninder Singh
2015-03-31 18:01 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Maninder Singh @ 2015-03-31 3:14 UTC (permalink / raw)
To: mark.hatle; +Cc: yocto
[-- Attachment #1: Type: text/html, Size: 2900 bytes --]
[-- Attachment #2: 201503310844012_QKNMBDIF.gif --]
[-- Type: image/gif, Size: 13168 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
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
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2015-03-31 18:01 UTC (permalink / raw)
To: maninder1.s; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]
> On Mar 30, 2015, at 8:14 PM, Maninder Singh <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 <https://lists.yoctoproject.org/listinfo/yocto>
[-- Attachment #2: Type: text/html, Size: 8128 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
2015-03-31 18:01 ` Khem Raj
@ 2015-03-31 19:01 ` Mark Hatle
2015-03-31 19:19 ` Mark Hatle
0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2015-03-31 19:01 UTC (permalink / raw)
To: Khem Raj, maninder1.s; +Cc: yocto
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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
2015-03-31 19:01 ` Mark Hatle
@ 2015-03-31 19:19 ` Mark Hatle
0 siblings, 0 replies; 7+ messages in thread
From: Mark Hatle @ 2015-03-31 19:19 UTC (permalink / raw)
To: Khem Raj, maninder1.s; +Cc: yocto
On 3/31/15 2:01 PM, Mark Hatle wrote:
> Hmm, I never saw the original email (or thread).
(I have no record of ever receiving the original email. How odd...)
> 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.)
I have merged the change, slightly different format.
See:
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
This is in the staging area.
Maninder if this is ok, I'm more then happy to add your signed-off-by line to
the commit before moving it into the cross_prelink branch.
Thanks!
--Mark
> --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
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
@ 2015-04-01 4:41 Maninder Singh
0 siblings, 0 replies; 7+ messages in thread
From: Maninder Singh @ 2015-04-01 4:41 UTC (permalink / raw)
To: Mark Hatle, Khem Raj, Maninder Singh; +Cc: yocto@yoctoproject.org
Hi Mark,
Sorry for missing ID in Signed-off-by: Maninder Singh
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
I suggested that change just to remove redundat code.
This looks Ok to me
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
Thanks a lot
Maninder Singh
> Hmm, I never saw the original email (or thread).
(I have no record of ever receiving the original email. How odd...)
> 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.)
I have merged the change, slightly different format.
See:
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
This is in the staging area.
Maninder if this is ok, I'm more then happy to add your signed-off-by line to
the commit before moving it into the cross_prelink branch.
Thanks!
--Mark
> --Mark
>
> On 3/31/15 1:01 PM, Khem Raj wrote:
>>
>>> On Mar 30, 2015, at 8:14 PM, Maninder Singh >>> > wrote:
>>>
>>> Hi,
>>>
>>>
>>> From 05ab779af24baef957972aa1d2a9e9d29212cc4c Mon Sep 17 00:00:00 2001
>>> From: Maninder Singh >
>>> 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
>>
>>> ---
>>> 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
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
@ 2015-04-01 4:52 Maninder Singh
2015-04-01 19:44 ` Mark Hatle
0 siblings, 1 reply; 7+ messages in thread
From: Maninder Singh @ 2015-04-01 4:52 UTC (permalink / raw)
To: Maninder Singh, Mark Hatle, Khem Raj; +Cc: yocto@yoctoproject.org
Hi Mark,
there is one typo error in this:-
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
+ src/get.c: Remove extra checkf ro ld-linux.so.3 in strcmp
*** check for *****
Thanks
--------------------------------------
Hi Mark,
Sorry for missing ID in Signed-off-by: Maninder Singh
Signed-off-by: Maninder Singh
I suggested that change just to remove redundat code.
This looks Ok to me
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
Thanks a lot
Maninder Singh
> Hmm, I never saw the original email (or thread).
(I have no record of ever receiving the original email. How odd...)
> 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.)
I have merged the change, slightly different format.
See:
http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
This is in the staging area.
Maninder if this is ok, I'm more then happy to add your signed-off-by line to
the commit before moving it into the cross_prelink branch.
Thanks!
--Mark
> --Mark
>
> On 3/31/15 1:01 PM, Khem Raj wrote:
>>
>>> On Mar 30, 2015, at 8:14 PM, Maninder Singh >>> > wrote:
>>>
>>> Hi,
>>>
>>>
>>> From 05ab779af24baef957972aa1d2a9e9d29212cc4c Mon Sep 17 00:00:00 2001
>>> From: Maninder Singh >
>>> 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
>>
>>> ---
>>> 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
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp
2015-04-01 4:52 Maninder Singh
@ 2015-04-01 19:44 ` Mark Hatle
0 siblings, 0 replies; 7+ messages in thread
From: Mark Hatle @ 2015-04-01 19:44 UTC (permalink / raw)
To: maninder1.s, Khem Raj; +Cc: yocto@yoctoproject.org
On 3/31/15 11:52 PM, Maninder Singh wrote:
> Hi Mark,
> there is one typo error in this:-
> http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
> + src/get.c: Remove extra checkf ro ld-linux.so.3 in strcmp
> *** check for *****
Thanks for noticing. I'll get that fixed.
--Mark
> Thanks
> --------------------------------------
>
> Hi Mark,
> Sorry for missing ID in Signed-off-by: Maninder Singh
> Signed-off-by: Maninder Singh
>
> I suggested that change just to remove redundat code.
> This looks Ok to me
> http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
>
> Thanks a lot
>
> Maninder Singh
>
>> Hmm, I never saw the original email (or thread).
>
> (I have no record of ever receiving the original email. How odd...)
>
>> 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.)
>
> I have merged the change, slightly different format.
>
> See:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?h=cross_prelink_staging&id=fd99a47124b1f1141f2afe4e87da7cb209cc2927
>
> This is in the staging area.
>
> Maninder if this is ok, I'm more then happy to add your signed-off-by line to
> the commit before moving it into the cross_prelink branch.
>
> Thanks!
> --Mark
>
>> --Mark
>>
>> On 3/31/15 1:01 PM, Khem Raj wrote:
>>>
>>>> On Mar 30, 2015, at 8:14 PM, Maninder Singh >>> > wrote:
>>>>
>>>> Hi,
>>>>
>>>>
>>>> From 05ab779af24baef957972aa1d2a9e9d29212cc4c Mon Sep 17 00:00:00 2001
>>>> From: Maninder Singh >
>>>> 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
>>>
>>>> ---
>>>> 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
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-01 19:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.