This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fwd: [PATCH] RISC-V gas: Remove em=linux from configure.tgt
- From: Palmer Dabbelt <palmer at dabbelt dot com>
- To: sebastian dot huber at embedded-brains dot de
- To: binutils at sourceware dot org
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: Andrew Waterman <andrew at sifive dot com>
- Date: Fri, 20 Jan 2017 23:43:39 -0800 (PST)
- Subject: Re: Fwd: [PATCH] RISC-V gas: Remove em=linux from configure.tgt
- Authentication-results: sourceware.org; auth=none
No problem, Andrew found me :). I think this is OK, I can commit it if you
want me to.
Is this OK for 2.28?
Thanks for the fix!
On Thu, 19 Jan 2017 02:30:03 PST (-0800), sebastian.huber@embedded-brains.de wrote:
> Sorry, I forgot to CC you.
>
> -------- Forwarded Message --------
> Subject: [PATCH] RISC-V gas: Remove em=linux from configure.tgt
> Date: Thu, 19 Jan 2017 09:10:51 +0100
> From: Sebastian Huber <sebastian.huber@embedded-brains.de>
> To: binutils@sourceware.org
> CC: Sebastian Huber <sebastian.huber@embedded-brains.de>
>
>
>
> The use of te-linux.h is unnecessary since the TE_LINUX define is unused
> and LOCAL_LABELS_FB is defined to 1 in tc-riscv.h as well.
>
> gas/
> * configure.tgt (riscv*-*-*): Remove em=linux.
> ---
> gas/configure.tgt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gas/configure.tgt b/gas/configure.tgt
> index 9760b18..dfd8f22 100644
> --- a/gas/configure.tgt
> +++ b/gas/configure.tgt
> @@ -399,7 +399,7 @@ case ${generic_target} in
>
> pru-*-*) fmt=elf ;;
>
> - riscv*-*-*) fmt=elf endian=little em=linux ;;
> + riscv*-*-*) fmt=elf endian=little ;;
>
> s390-*-linux-*) fmt=elf em=linux ;;
> s390-*-tpf*) fmt=elf ;;