aboutsummaryrefslogtreecommitdiff
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
commit8bb57516981ce16d299556036fb85b0e1c2cebe0 (patch)
treedf18cb66df93d10722530f84f8de43d65a685f1a
parent9151e8bfc2868e79ece4dc94de224e1771278280 (diff)
downloadgdb-8bb57516981ce16d299556036fb85b0e1c2cebe0.zip
gdb-8bb57516981ce16d299556036fb85b0e1c2cebe0.tar.gz
gdb-8bb57516981ce16d299556036fb85b0e1c2cebe0.tar.bz2
* emulparams/elf64alpha.sh (NOP): Adjust for big-endian
definition. Emit a unop+nop pair.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emulparams/elf64alpha.sh4
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e1c0df3..f56d805 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-15 Richard Henderson <rth@redhat.com>
+
+ * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
+ definition. Emit a unop+nop pair.
+
2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
diff --git a/ld/emulparams/elf64alpha.sh b/ld/emulparams/elf64alpha.sh
index d0ca139..3dd28ef 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) }"