[PATCH] Set NOP in 32-bit sparc emulparams
Jakub Jelinek
jakub@redhat.com
Mon Sep 20 18:34:00 GMT 2010
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
More information about the Binutils
mailing list