[PATCH] Set NOP in 32-bit sparc emulparams

David Miller davem@davemloft.net
Mon Sep 20 18:31:00 GMT 2010


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?

ld/

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



More information about the Binutils mailing list