changeset 257:d5374e80dd04

Fix handling of attr override for os9 output Don't assign the attr override from __os9 sections to the lang hold value. The attr value was overriding the lang value which was clearly wrong.
author William Astle <lost@l-w.ca>
date Thu, 31 Jan 2013 16:28:41 -0700
parents bc25269d96bc
children ebda5c96665e
files lwlink/link.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlink/link.c	Wed Jan 30 21:47:15 2013 -0700
+++ b/lwlink/link.c	Thu Jan 31 16:28:41 2013 -0700
@@ -735,7 +735,7 @@
 		}
 		else if (!strcasecmp(sm, "attr"))
 		{
-			linkscript.modlang = sym -> offset;
+			linkscript.modattr = sym -> offset;
 		}
 		else if (!strcasecmp(sm, "rev"))
 		{