All of lore.kernel.org
 help / color / mirror / Atom feed
From: hch@infradead.org (Christoph Hellwig)
To: linux-riscv@lists.infradead.org
Subject: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit
Date: Fri, 29 Jun 2018 00:12:00 -0700	[thread overview]
Message-ID: <20180629071200.GC12956@infradead.org> (raw)
In-Reply-To: <4c4def99db5e0392238947dc878c5018cc7aca3e.1529915117.git.zong@andestech.com>

On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote:
> Use generic marco to get the index and type of symbol.

Why do we even need this in a uapi header?  Shouldn't ELF_RISCV_R_SYM
and ELF_RISCV_R_TYPE move to module.c?  In that case we could just
use CONFIG_64BIT.

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@infradead.org>
To: Zong Li <zong@andestech.com>
Cc: palmer@sifive.com, hch@infradead.org,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
	zongbox@gmail.com, greentime@andestech.com
Subject: Re: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit
Date: Fri, 29 Jun 2018 00:12:00 -0700	[thread overview]
Message-ID: <20180629071200.GC12956@infradead.org> (raw)
In-Reply-To: <4c4def99db5e0392238947dc878c5018cc7aca3e.1529915117.git.zong@andestech.com>

On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote:
> Use generic marco to get the index and type of symbol.

Why do we even need this in a uapi header?  Shouldn't ELF_RISCV_R_SYM
and ELF_RISCV_R_TYPE move to module.c?  In that case we could just
use CONFIG_64BIT.

  reply	other threads:[~2018-06-29  7:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25  8:49 [PATCH v2 0/4] Building for 32-bit RISC-V kernel Zong Li
2018-06-25  8:49 ` Zong Li
2018-06-25  8:49 ` [PATCH v2 1/4] RISC-V: Add conditional macro for zone of DMA32 Zong Li
2018-06-25  8:49   ` Zong Li
2018-06-29  7:08   ` Christoph Hellwig
2018-06-29  7:08     ` Christoph Hellwig
2018-06-25  8:49 ` [PATCH v2 2/4] RISC-V: Select GENERIC_UCMPDI2 on RV32I Zong Li
2018-06-25  8:49   ` Zong Li
2018-06-29  7:08   ` Christoph Hellwig
2018-06-29  7:08     ` Christoph Hellwig
2018-06-25  8:49 ` [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit Zong Li
2018-06-25  8:49   ` Zong Li
2018-06-29  7:12   ` Christoph Hellwig [this message]
2018-06-29  7:12     ` Christoph Hellwig
2018-06-29 16:53     ` Zong Li
2018-06-29 16:53       ` Zong Li
2018-07-04 20:58       ` Palmer Dabbelt
2018-07-04 20:58         ` Palmer Dabbelt
2018-07-05 13:33         ` Zong Li
2018-07-05 13:33           ` Zong Li
2018-07-05 16:42           ` Palmer Dabbelt
2018-07-05 16:42             ` Palmer Dabbelt
2018-06-25  8:49 ` [PATCH v2 4/4] RISC-V: Change variable type for 32-bit compatible Zong Li
2018-06-25  8:49   ` Zong Li
2018-06-29  7:12   ` Christoph Hellwig
2018-06-29  7:12     ` Christoph Hellwig
2018-06-29  7:23 ` [PATCH v2 0/4] Building for 32-bit RISC-V kernel Christoph Hellwig
2018-06-29  7:23   ` Christoph Hellwig
2018-06-29 17:06   ` Zong Li
2018-06-29 17:06     ` Zong Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180629071200.GC12956@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-riscv@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.