comparison lwlink/link.c @ 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 91f91557dc9e
children ebda5c96665e
comparison
equal deleted inserted replaced
256:bc25269d96bc 257:d5374e80dd04
733 { 733 {
734 linkscript.modlang = sym -> offset; 734 linkscript.modlang = sym -> offset;
735 } 735 }
736 else if (!strcasecmp(sm, "attr")) 736 else if (!strcasecmp(sm, "attr"))
737 { 737 {
738 linkscript.modlang = sym -> offset; 738 linkscript.modattr = sym -> offset;
739 } 739 }
740 else if (!strcasecmp(sm, "rev")) 740 else if (!strcasecmp(sm, "rev"))
741 { 741 {
742 linkscript.modrev = sym -> offset; 742 linkscript.modrev = sym -> offset;
743 } 743 }