aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-06-18 02:09:20 +0000
committerAlan Modra <amodra@gmail.com>2007-06-18 02:09:20 +0000
commitdbdca70b82b81c3262b697fcf5c8d8378b2f905a (patch)
treec48039eae092ac440e4eaf3a2b9fe5155fc9aeb0
parentaf4a3a18d9feb00bb57315970eb7c0327bf522ad (diff)
downloadgdb-dbdca70b82b81c3262b697fcf5c8d8378b2f905a.zip
gdb-dbdca70b82b81c3262b697fcf5c8d8378b2f905a.tar.gz
gdb-dbdca70b82b81c3262b697fcf5c8d8378b2f905a.tar.bz2
* embedspu.sh: Parse _SPUEAR_ symbol values as hex.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/embedspu.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 271d5b8..19a2f00 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-18 Brian D. Watt <bwatt@us.ibm.com>
+
+ * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
+
2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index 62b5bf7..b7b6620 100644
--- a/binutils/embedspu.sh
+++ b/binutils/embedspu.sh
@@ -248,7 +248,7 @@ ${SYMBOL}:
print " .type '${SYMBOL}'_" substr($8, 9) ", @object"; \
print " .size '${SYMBOL}'_" substr($8, 9) ", 4"; \
print "'${SYMBOL}'_" substr($8, 9) ":"; \
- print " .int " $2; \
+ print " .int 0x" $2; \
} \
'`
EOF