Use the version of tmap.nas that actually caused problems
authorH. Peter Anvin <hpa@zytor.com>
Wed, 10 Sep 2003 23:33:38 +0000 (23:33 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 10 Sep 2003 23:33:38 +0000 (23:33 +0000)
test/tmap.nas

index 8993145..51b477f 100644 (file)
@@ -1,4 +1,4 @@
-;; NASM note: this file abuses the section directives in such a way that\r
+;; NASM note: this file abuses the section flags in such a way that\r
 ;; NASM 0.98.37 broke when this was compiled with:\r
 ;; nasm -o tmap.o -f elf -DLINUX tmap.nas\r
 \r
@@ -20,8 +20,8 @@
 ;;\r
 ;;\r
 ;; $Log$
-;; Revision 1.1  2003/09/08 22:59:45  hpa
-;; More test files...
+;; Revision 1.2  2003/09/10 23:33:38  hpa
+;; Use the version of tmap.nas that actually caused problems
 ;;\r
 ;; Revision 1.10  2001/02/24 13:35:21  bpereira\r
 ;; no message\r
@@ -72,7 +72,7 @@
 [global %1]\r
 %endmacro\r
 \r
-%define CODE_SEG .rwtext\r
+%define CODE_SEG .data\r
 %else\r
 %macro cextern 1\r
 %define %1 _%1\r
@@ -137,7 +137,7 @@ loopcount       dd      0
 pixelcount      dd      0\r
 tystep          dd      0\r
 \r
-[SECTION CODE_SEG write exec]\r
+[SECTION CODE_SEG write]\r
 \r
 ;----------------------------------------------------------------------------\r
 ;fixed_t FixedMul (fixed_t a, fixed_t b)\r
@@ -877,7 +877,7 @@ shdone:
 \r
 oldcolormap     dd      0\r
 \r
-[SECTION CODE_SEG write exec]\r
+[SECTION CODE_SEG write]\r
 \r
 cglobal R_DrawSpan_8\r
 R_DrawSpan_8:\r
@@ -971,7 +971,7 @@ align 4
 obelix          dd      0\r
 etaussi         dd      0\r
 \r
-[SECTION .text]\r
+[SECTION CODE_SEG]\r
 \r
 cglobal R_DrawSpan_8_old\r
 R_DrawSpan_8_old:\r
@@ -1108,7 +1108,7 @@ align 4
 ;;  Uses:  extern struct rastery *_rastertab;\r
 ;;\r
 \r
-[SECTION CODE_SEG write exec]\r
+[SECTION CODE_SEG write]\r
 \r
 MINX            EQU    0\r
 MAXX            EQU    4\r