summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf64alpha.sh
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-02-15 23:39:27 +0000
committerRichard Henderson <rth@redhat.com>2002-02-15 23:39:27 +0000
commit579373c5b1bcf2830a728e859caa1d6955bcfd59 (patch)
treef0f3a6e33e0e757d3d7fa0c2e4b6af6f9fb7fac5 /ld/emulparams/elf64alpha.sh
parentbdb789429886d4baa6669abcbd46da2746ea0719 (diff)
downloadbinutils-redhat-579373c5b1bcf2830a728e859caa1d6955bcfd59.tar.gz
* emulparams/elf64alpha.sh (NOP): Adjust for big-endian
definition. Emit a unop+nop pair.
Diffstat (limited to 'ld/emulparams/elf64alpha.sh')
-rw-r--r--ld/emulparams/elf64alpha.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emulparams/elf64alpha.sh b/ld/emulparams/elf64alpha.sh
index d0ca1395b5..3dd28ef58c 100644
--- a/ld/emulparams/elf64alpha.sh
+++ b/ld/emulparams/elf64alpha.sh
@@ -11,7 +11,9 @@ ARCH=alpha
MACHINE=
GENERATE_SHLIB_SCRIPT=yes
DATA_PLT=
-NOP=0x2ffe0000 # unop
+# Note that the number is always big-endian, thus we have to
+# reverse the digit string.
+NOP=0x0000fe2f1f04ff47 # unop; nop
OTHER_READONLY_SECTIONS="
.reginfo ${RELOCATING-0} : { *(.reginfo) }"