basically, I just forgot to add '.set' directive.
Defining an attribute is more complex and can be found in msp430.c file around 
lines 230 - 250.

~d

On Wednesday 07 July 2004 14:50, Remy Blank wrote:
> Dmitry wrote:
> > done.
> > recompile gcc from cvs.
>
> Yes, I came up with the exact same fix yesterday (defining SET_ASM_OP)
> after actually implementing the "namealias" attribute I proposed (and it
> was working, too ;-). Well, at least now I know how to add new
> attributes, and how the tree node structures work in gcc...
>
> > On Tuesday 06 July 2004 18:38, Remy Blank wrote:
> >>I could probably implement someting easier like an
> >>aliasname("othername") attribute that adds a ".global othername" when
> >>generating the function name in asm_declare_function_name(), a bit
> >>similar to what interrupt(x) is doing.
>
> Thanks for the fix, and for all your excellent work on mspgcc!
>
> -- Remy
>
>
> Remove underscore and anti-spam suffix in reply address for a timely
> response.
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to