[yocto] [prelink-cross] [PATCH 1/1] Remove extra check for ld-linux.so.3 in strcmp

Khem Raj raj.khem at gmail.com
Tue Mar 31 11:01:42 PDT 2015


> On Mar 30, 2015, at 8:14 PM, Maninder Singh <maninder1.s at samsung.com> wrote:
> 
> Hi,
> 
> From 05ab779af24baef957972aa1d2a9e9d29212cc4c Mon Sep 17 00:00:00 2001
> From: Maninder Singh <maninder1.s at samsung.com <mailto:maninder1.s at 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 at 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 at yoctoproject.org <mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150331/bfd1a671/attachment.html>


More information about the yocto mailing list