This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Set NOP in 32-bit sparc emulparams
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org
- Date: Mon, 20 Sep 2010 20:34:14 +0200
- Subject: Re: [PATCH] Set NOP in 32-bit sparc emulparams
- References: <20100920.113145.71596748.davem@davemloft.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Sep 20, 2010 at 11:31:45AM -0700, David Miller wrote:
>
> This makes sure that NOP emission for alignments done by the linker
> are created correctly, and this matches the 64-bit sparc setting.
>
> Ok to commit?
Yes, thanks.
> 2010-09-20 David S. Miller <davem@davemloft.net>
>
> * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
>
> diff --git a/ld/emulparams/elf32_sparc.sh b/ld/emulparams/elf32_sparc.sh
> index aef813e..13af316 100644
> --- a/ld/emulparams/elf32_sparc.sh
> +++ b/ld/emulparams/elf32_sparc.sh
> @@ -14,4 +14,5 @@ TEMPLATE_NAME=elf32
> DATA_PLT=
> GENERATE_SHLIB_SCRIPT=yes
> GENERATE_PIE_SCRIPT=yes
> +NOP=0x01000000
> NO_SMALL_DATA=yes
Jakub