Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1643141imm; Thu, 18 Oct 2018 01:32:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV628NO0UQJVM6Jj3Lf/fWhHSz4eqEoefVhqA4usc2KjgvQQ57yjsWGhsUIJYwLnbPInfu0rW X-Received: by 2002:a63:680a:: with SMTP id d10-v6mr27369833pgc.7.1539851564992; Thu, 18 Oct 2018 01:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539851564; cv=none; d=google.com; s=arc-20160816; b=Yfos5VqrsZwYjHnPGrNO1s45AqD+53TAfRk2siBQKMjRRliq9fObP2BAZNwRJ7iYVi irH9zHX3Db0mhN6Rz9haPdsckqrTGffl24AWEbu7lgI5pWbgT0sZe21gicUaB6bq6xxh vhOcz3XKH9ypUKb/CD3LEoBD89qvhYB0JwCEUXysHE7JTiba172zC9HS/R+74Nxjbrgt 7JkEGyIjh7niWvLuxBu7LUcFO4rgY88riYEQxZLVnAh/kdhtX/ues9XvmWQsp6H5TKZL ohbbMxeP255FIey4jOEU9HgZSufn/Qq8BsmRUfjs8r5kDmWQ76/DW3+YnC8fHziTFCW/ sAbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=R8sDPwY4l3gEUHyt0euGvwGTWuIF0k6mhka7sPoXV/0=; b=SwUjy5rRf96BrKPfVK4SAC8TRtI9R37KPZcBBeObP4pYiFftD+Cn4QbOo87WYgHwIW S+HqYp0CMnyRGa/hU/v+qVAFQMQWqlsTe71XE/qxZo+97BGYxKrY5I0Krkl3dE6VoTWt H5H7akdw2vEei78eGC3n+E1M9tLtJ7MfydUIuzLBuuikD5Q6b0/9/n7EjLvjmSsC1+Zz qdcaVPz9zAHUazHP963to4cbY47fXubHyoILb5I5+UQ0mjWLImPjeWbK6dYcH5/+PtB+ fbgDiqhiPKuvfyvDwArzqStMWY9iCcUpt27NpukXdDlUNEUHKUlCnhygmuMmta9k3pCg hB6A== 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 p16-v6si20583447pgb.404.2018.10.18.01.32.28; Thu, 18 Oct 2018 01:32:44 -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 S1727649AbeJRQcB (ORCPT + 99 others); Thu, 18 Oct 2018 12:32:01 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:36330 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbeJRQcA (ORCPT ); Thu, 18 Oct 2018 12:32:00 -0400 Received: by mail-qk1-f195.google.com with SMTP id q184-v6so199701qkd.3; Thu, 18 Oct 2018 01:32:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R8sDPwY4l3gEUHyt0euGvwGTWuIF0k6mhka7sPoXV/0=; b=P3OY9/tfIBoGQW6pc0kebiPkm5gOEyNpx2LzNT6xEDGEBlqXqjEC6peElkrNjhCM2D FunS+7l8c526wG0QafJmJzyH+ndH8451jmvsWW02nycsHdIthO1EsdpY7eDql0e7iiTW e+16LJmVJ6rOuEOMxPY7N+JxDzFjFXGh5Wx+1MAK6ioRfnzQgOvpzRN5wlWPV8JdKXPE FB6CE7IPsW3/FvQYO5vOd96Mimvl/pSop/67/1zd4IYlXU1DgFKqK8VvDvYNOTHsOS23 xReLJBU5XAGJbcgZcwMjCcr35UISTWt7Gf8HVctd19V5w1F4gXhhzq8FDhHmwltnc9dn p3rw== X-Gm-Message-State: ABuFfog5dr2VFY1KRsbCEUwEQ0mmb106tuFZZZ4JT5KoinaoRABAfVNC V+enESskwrAMjU0Abrfak8sJcjcm/eFmt0680iHaEA== X-Received: by 2002:a37:e21a:: with SMTP id g26-v6mr27242186qki.330.1539851525372; Thu, 18 Oct 2018 01:32:05 -0700 (PDT) MIME-Version: 1.0 References: <27589f69f513177892d39868050dccb5f21023aa.1539655732.git.ren_guo@c-sky.com> <20181018024929.GC13314@guoren-Inspiron-7460> In-Reply-To: <20181018024929.GC13314@guoren-Inspiron-7460> From: Arnd Bergmann Date: Thu, 18 Oct 2018 10:31:48 +0200 Message-ID: Subject: Re: [PATCH V9 12/21] csky: ELF and module probe To: Guo Ren 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 18, 2018 at 4:49 AM Guo Ren wrote: > > 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. Ok, just made sure it was intentional. Arnd