From patchwork Thu Oct 13 17:46:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 681900 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3svytT3dSDz9ryZ for ; Fri, 14 Oct 2016 04:50:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 990FE339DE; Thu, 13 Oct 2016 17:50:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O9naALEBL7pZ; Thu, 13 Oct 2016 17:50:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DF291339D6; Thu, 13 Oct 2016 17:50:02 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 36AE21CEE9E for ; Thu, 13 Oct 2016 17:50:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 32FF9925A0 for ; Thu, 13 Oct 2016 17:50:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gNnL2t5dWr9Z for ; Thu, 13 Oct 2016 17:50:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.47.9]) by whitealder.osuosl.org (Postfix) with ESMTPS id 705819259B for ; Thu, 13 Oct 2016 17:50:01 +0000 (UTC) Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id 87AED24E1379; Thu, 13 Oct 2016 10:50:00 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 7A56C4E215; Thu, 13 Oct 2016 10:50:00 -0700 (PDT) Received: from mailhost.synopsys.com (unknown [10.13.184.66]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 545534E214; Thu, 13 Oct 2016 10:50:00 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 43E2CEDF; Thu, 13 Oct 2016 10:50:00 -0700 (PDT) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 093D9EDB; Thu, 13 Oct 2016 10:49:59 -0700 (PDT) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 13 Oct 2016 10:46:27 -0700 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 13 Oct 2016 23:16:24 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.27) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 13 Oct 2016 23:16:23 +0530 From: Vineet Gupta To: Subject: [PATCH] ARC: update .note.ABI-tag for ABIv4 Date: Thu, 13 Oct 2016 10:46:14 -0700 Message-ID: <1476380774-25566-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.10.161.27] Cc: Anton Kolesov , uclibc@uclibc.org, Vineet Gupta , linux-snps-arc@lists.infradead.org X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" Cc: Anton Kolesov Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Vineet Gupta --- libc/sysdeps/linux/arc/crt1.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/arc/crt1.S b/libc/sysdeps/linux/arc/crt1.S index ae863e7acf5f..70a06e058d3b 100644 --- a/libc/sysdeps/linux/arc/crt1.S +++ b/libc/sysdeps/linux/arc/crt1.S @@ -72,5 +72,9 @@ __start: 0: .asciz "GNU" /* Vendor name */ 1: .align 4 2: .long 0 /* Note data: Linux executable */ - .long 3,9,0 /* Earliest compatible kernel */ +#if (__GNUC__ > 4) + .long 4,8,0 /* Earliest compatible kernel for ABI v4 */ +#else + .long 3,9,0 /* Earliest compatible kernel for ABI v3 */ +#endif 3: .align 4 /* Pad out section */