aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-20 15:21:26 +0545
committerMike Frysinger <vapier@gentoo.org>2015-11-22 01:37:24 -0500
commit37258e9950490293bb00808a55d82dea640efe6c (patch)
treece422f45d5576a101c5549fea979d4ba185d75fb /sim/common/ChangeLog
parent82d442c6c67e42c1697b07aa7ac2b323baf333c0 (diff)
downloadfsf-binutils-gdb-37258e9950490293bb00808a55d82dea640efe6c.zip
fsf-binutils-gdb-37258e9950490293bb00808a55d82dea640efe6c.tar.gz
fsf-binutils-gdb-37258e9950490293bb00808a55d82dea640efe6c.tar.bz2
sim: common: add PRI printf defines
Keeping track of the right printf formats for the various types can be a pretty big hassle, especially in common code which has to support a variety of bitsizes. Take a page from the existing standards and add a set of PRI macros which hide the details in a common header.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ddf4558..464fd80 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,11 @@
+2015-11-21 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-types.h (SIM_PRI_TB): Define.
+ (PRI_TW, PRIiTW, PRIxTW): New PRI target word defines.
+ (PRI_TA, PRIiTA, PRIxTA): New PRI target address defines.
+ (PRI_TC, PRIiTC, PRIxTC): New PRI target cell defines.
+ (PRI_TF, PRIiTF, PRIxTF): New PRI target floating point defines.
+
2015-11-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (WITH_MODULO_MEMORY): Delete.