hm....
just ignore this message.
I'll check if I can do something.
if you really frustraiting by this, try
__attribute__ ((section(".text;")))
note semicolon after .text

cheers,
~d

On Tuesday 27 January 2004 20:52, James Henry Dodd wrote:
> Hi Guys,
>
> I have a message table which I want in flash. When I declare it this way...
>
> const char *Msgs[] = {
>       "Message 1",
>       "Message 2", ...
>
> ... the messages go in flash but the table goes in RAM.
>
> When I declare it this way...
>
> const char __attribute__ ((section(".text"))) *Msgs[] = {
>
> both go in flash, which is what I want, but I get a warning:
>
> msp430-gcc.exe -D__DEBUG__ -D__MSP430_149__ -DNO_CRYSTAL -D_MSPFET_
> -I.\incl ude -IE:\mspgcc\msp430\include -mmcu=msp430x149 -g -O2 -wall -c
> src\AmCmd.c -o obj\AmCmd.o
> /cygdrive/d/TEMP/ccsxnPw5.s: Assembler messages:
> /cygdrive/d/TEMP/ccsxnPw5.s:209: Warning: ignoring changed section
> attributes for .text
>
> Is there a syntax that would avoid the warning?
>
> Cheers,
>
> James
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/*****************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild     UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  State Polytechnical Univ.
      (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-'             +7 (812) 5403923, 5585314
 *****************************************************************/


Reply via email to