Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp789419imm; Wed, 17 Oct 2018 08:20:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63gW7SK+zW/OKHcmsA5UsF9fMEGYLxd5a47pGXkVdJHU1LGiKM61KPl6jISmB2ptdpdIzH3 X-Received: by 2002:a63:1555:: with SMTP id 21-v6mr24577844pgv.383.1539789636878; Wed, 17 Oct 2018 08:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539789636; cv=none; d=google.com; s=arc-20160816; b=S81HjGnYjejZDZYMQGU/CGk/Mipo6mUhjSVPho7rlUjpwwSZgtXERGmchqBAjirpFF 6qOeSwqYxnnW2Ad0BrSqllfFUkVMFTViKMGQ8gmpljiAvFmA+VyZPMYcqxfbxRj6T200 yxySOKi7bwNlEpjED81Ll9KRHtzj1oNCN17l9At52n+CidyPE2apGvGdJ+fTzktrlOWT 9FSWpnWpOk2BHVtVXyYHGhVQhGUE4BVPVu3ZVXxm883LKli0EzTloo9Gu+74f1wKDjaG TPp8F+m1yE4V32xoqwU81nB4828FVcnYY/BgMpRID3OpPfg5fm+74LeN4Ru7aAwlNsj6 aBJw== 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=7cneHIWjz7K5rpI3XYjwVIdoJZ92okMRPNwTLEfUAxg=; b=ETpikfhrZzRoWI8IxRK8Fd/5qtuzfcKEdrWjsLdAII05vI1kCxuWV0bdOviQoF88ph X4Pi9TK4G1OroPzFeTLw133qKW9/ZK0XluC5kv7HALNhOSkJKCI/pbkFeo4aoU/Z2vhh +peBxmTeAD27/yIr8+pyRmPK3r2hy/FEhmbeXridAesIGyC+UoeskK5+GmvPgedy6fIC R6kbm+XjkxRM2hPJbNaliFpnvJoc0cZdfZ14dv9XeRQT0upo95daCpIGJVcQ4Y5GFMQd bGkQrid1GXRBsdegdO9Gtv+JYl93A3hFsisOCFhkYybI14s8YvYSUpEDZm8vMFRhHzgr yZcw== 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 l12-v6si11127239plc.172.2018.10.17.08.20.21; Wed, 17 Oct 2018 08:20: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 S1727787AbeJQXPR (ORCPT + 99 others); Wed, 17 Oct 2018 19:15:17 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33552 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeJQXPQ (ORCPT ); Wed, 17 Oct 2018 19:15:16 -0400 Received: by mail-qt1-f195.google.com with SMTP id q40-v6so30476111qte.0; Wed, 17 Oct 2018 08:19:06 -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=7cneHIWjz7K5rpI3XYjwVIdoJZ92okMRPNwTLEfUAxg=; b=KzXFuVHmiUIkhHMGJn2CIuww7Kake3SRkiNSUERM+DEAwNmTkYD/64GFDYxuL2ZJYB VLaNI/tTfO84GJS/ED8F6fyaIpgtsrQb+n6i9B7ttSLrfM7tWpi1MRDjAFIB5tRZhMum KCtyDCYPeTAJ++wrmW+AbSLfytik72NtdrJtNloFNUBqkl0GyOfE+nLgstU/BjvB/Dxc lDatafXx+TxrtlVgDUQah+0nLmpNBEkBrE80BbHFoT2OLSgrSnNsRveyegSTY/JAfPxG iGposgDwuPKd6huXmFHJ29xH2OOZBpt0COcK9neR2gxmRY5SHCvVmyhTONz8oyf2OzyT k/AA== X-Gm-Message-State: ABuFfojbaK3Q9aAjuLhXF96DpwIrCqXLPy36Yx1eQ5Ky3q1wjd5SZYF7 eqw+6DXXP1EvCfhGpArveEDHvHnw+tyhXjeXtD8= X-Received: by 2002:aed:35cd:: with SMTP id d13-v6mr24891918qte.212.1539789545696; Wed, 17 Oct 2018 08:19:05 -0700 (PDT) MIME-Version: 1.0 References: <27589f69f513177892d39868050dccb5f21023aa.1539655732.git.ren_guo@c-sky.com> In-Reply-To: <27589f69f513177892d39868050dccb5f21023aa.1539655732.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Wed, 17 Oct 2018 17:18:49 +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 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, Reviewed-by: Arnd Bergmann