This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V gas: Remove em=linux from configure.tgt
- From: Andrew Waterman <andrew at sifive dot com>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: binutils at sourceware dot org
- Date: Thu, 19 Jan 2017 11:21:31 -0800
- Subject: Re: [PATCH] RISC-V gas: Remove em=linux from configure.tgt
- Authentication-results: sourceware.org; auth=none
- References: <1484813451-8954-1-git-send-email-sebastian.huber@embedded-brains.de>
Approved. Thanks, Sebastian.
On Thu, Jan 19, 2017 at 12:10 AM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
> 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 ;;
> --
> 1.8.4.5
>