changeset 326:905fe5e8b705

[project @ 2004-10-23 22:53:53 by bellard] update
author bellard
date Sat, 23 Oct 2004 22:54:24 +0000
parents 0a6b6ad4b159
children cb4a2ec45cf7
files Changelog tcctest.c tcctok.h
diffstat 3 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Changelog	Sat Oct 23 22:53:42 2004 +0000
+++ b/Changelog	Sat Oct 23 22:54:24 2004 +0000
@@ -14,6 +14,9 @@
 - '-Ttext' linker option
 - section alignment fixes
 - bit fields fixes
+- do not generate code for unused inline functions
+- '-oformat' linker option. 
+- added 'binary' output format.
 
 version 0.9.20:
 
--- a/tcctest.c	Sat Oct 23 22:53:42 2004 +0000
+++ b/tcctest.c	Sat Oct 23 22:54:24 2004 +0000
@@ -1599,6 +1599,15 @@
           printf("%lld\n", value(&a));
     }
     lloptest(0x80000000, 0);
+
+    /* another long long spill test */
+    {
+        long long *p, v;
+        v = 1;
+        p = &v;
+        p[0]++;
+        printf("%lld\n", *p);
+    }
 }
 
 void vprintf1(const char *fmt, ...)
--- a/tcctok.h	Sat Oct 23 22:53:42 2004 +0000
+++ b/tcctok.h	Sat Oct 23 22:54:24 2004 +0000
@@ -181,6 +181,8 @@
  DEF_ASM(skip)
  DEF_ASM(space)
  DEF_ASM(string)
+ DEF_ASM(asciz)
+ DEF_ASM(ascii)
  DEF_ASM(globl)
  DEF_ASM(global)
  DEF_ASM(text)