public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [xstormy16] fix non-building test harness file
@ 2008-10-27 20:02 DJ Delorie
  0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 2008-10-27 20:02 UTC (permalink / raw)
  To: gcc-patches


The assembler no longer permits expressions that would require
relocations in .space.  This patch changes it to be
position-independent - each chunk is padded to the right size, rather
than to an absolute address.  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 141389)
+++ 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
                                 /*************************************/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-27 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-27 20:02 [xstormy16] fix non-building test harness file DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).