Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1395150imm; Wed, 17 Oct 2018 19:50:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV61NIKxH/kWdFwZhjk9l2QOD4f8sXkvI1k34kcIat/0i3M+bG881O6QlVJs5eCB5Pj2XKiCf X-Received: by 2002:a62:d717:: with SMTP id b23-v6mr20235045pfh.238.1539831036074; Wed, 17 Oct 2018 19:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539831036; cv=none; d=google.com; s=arc-20160816; b=czUZGBDZzBzpRFSSgO0LBCCInBNcBe/T8SUBP5esTzgHwMUcme1YYz7almes1HsSUu ARMh4ewMA+8gWFA2FKJTI5v1BKGp7b47EayI+y1hWk87ufn5o4bBbUsFV8xaYskA0S4O NI3stIOSs4a9AY/u4npwqkNwybvwQk7vm3Sy28nYoRQfDk7hZhltbd4BRWKzSPyo9pea q84iQ5UaVUiSRNlCbCKCmW7+AhU2xRnhlrvW3D9zqrQ78wgchrBd7EFM87sQSbwK5ZG9 E8tx9OAbRHnHqKmipVx7Y9jg9OMrMOnrTR2l8gY3EvnIVm8kkn+uI2/IbmoVGnof7p61 ksyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zcP/6UbIDeUYcETK3StwWmYVGtC/0Bri/ncdvLn5iJo=; b=UwYuuXNr0N01/vvc5O3A2WvM0EGlPR+ctzLo6AyVTzsjywsDrrgVn/W8hy/195+hsx hGyPySH5LvECq3ZiDXreGeMDNlK9hzsVzY846NN9cjK7F32oumx/MXzrrezbNN3QAbEb J4G57sQAuQ9dc6FXCc9rkXoFLbafBhkmRZb+FoLWa6IbuYNEkXz9ySlghtGNi3L9iYB6 QX+PbrYjy4LkowaRizTFnfmtAm6K6Mc1fIi7BFZBFgM9Bsqyp+Sk1kZi+ZN0JVAbtbOb RR85QDNYNmCazaHm3DMKz36ISfUdMRaXa3GTqXaq0rAHnsZER7KRkNAHZ4nj6Xu+Ay1z dFVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c6-v6si12477521pll.160.2018.10.17.19.50.19; Wed, 17 Oct 2018 19:50:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727361AbeJRKsk (ORCPT + 99 others); Thu, 18 Oct 2018 06:48:40 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:50795 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727247AbeJRKsk (ORCPT ); Thu, 18 Oct 2018 06:48:40 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1158118|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e01534;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=16;RT=16;SR=0;TI=SMTPD_---.D3j6ECc_1539830970; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D3j6ECc_1539830970) by smtp.aliyun-inc.com(10.147.40.26); Thu, 18 Oct 2018 10:49:30 +0800 Date: Thu, 18 Oct 2018 10:49:30 +0800 From: Guo Ren To: Arnd Bergmann Cc: Andrew Morton , Daniel Lezcano , David Miller , gregkh , Christoph Hellwig , Marc Zyngier , Mark Rutland , Peter Zijlstra , Rob Herring , Thomas Gleixner , Linux Kernel Mailing List , linux-arch , DTML , Rob Herring , c-sky_gcc_upstream@c-sky.com Subject: Re: [PATCH V9 12/21] csky: ELF and module probe Message-ID: <20181018024929.GC13314@guoren-Inspiron-7460> References: <27589f69f513177892d39868050dccb5f21023aa.1539655732.git.ren_guo@c-sky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 17, 2018 at 05:18:49PM +0200, Arnd Bergmann wrote: > On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote: > > > > This patch adds ELF definition and module relocate codes. > > > > Signed-off-by: Guo Ren > > Cc: Arnd Bergmann > > > +#ifdef __cskyBE__ > > +#define ELF_DATA ELFDATA2MSB > > +#else > > +#define ELF_DATA ELFDATA2LSB > > +#endif > > You removed support for big-endian, right? I guess the #ifdef can also > get removed here then. Aside from that, Now, we only support little-endian and it could be removed. But maybe we need support big-endian in future, so I keep it here. Best Regards Guo Ren