This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[xstormy] fix testsuite support source


This adapts to changes in the xstormy16 assembler.  OK?

2008-10-27  DJ Delorie  <dj@redhat.com>

	* gcc.target/xstormy16/below100.S (.chip_info): Use
	position-independent expressions for the fillers.

Index: gcc.target/xstormy16/below100.S
===================================================================
--- gcc.target/xstormy16/below100.S	(revision 141789)
+++ gcc.target/xstormy16/below100.S	(working copy)
@@ -151,19 +151,19 @@ _fini:
 #else
         .word   0x08000+ROM_SIZE-PROTECT_SIZE
 #endif
                                 /*************************************/
                                 /** C0-CF : Fixed string            **/
                                 /*************************************/
-        .ascii  "CHIPINFORMATION"
-1:      .space  (0xd0-1b),0x00
+1:	.ascii  "CHIPINFORMATION"
+2:	.space  (0x10-(2b-1b)),0x00
                                 /*************************************/
                                 /** D0-DF : Chipname                **/
                                 /*************************************/
-        .ascii  "LC59_32K"
-2:      .space  (0xe0-2b),0x00
+1:	.ascii  "LC59_32K"
+2:	.space  (0x10-(2b-1b)),0x00
                                 /*************************************/
                                 /** E0-E1 : Format version(BCD4)    **/
                                 /*************************************/
         .byte   0x10, 0x00
         .space  6, 0x00
                                 /*************************************/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]