Re: [M16C-ELF] : Problem accessing "constant" data that is placed in ROM.

2005-12-23 Thread DJ Delorie
> I am doing this in my own start-up code. If you're not using my crt0.s then you REALLY need to at least look at it and see where/how I copy all the ROM data into RAM so that you can access it. > However, this is not the expected behavior, especially when using > hardware. My ".rodata" should b

[M16C-ELF] : Problem accessing "constant" data that is placed in ROM.

2005-12-23 Thread Prafulla Thakare
Hi, I have downloaded latest GCC and Binutils sources from FSF for M16C port. Using these sources, I could successfully build the cross toolchain i.e. m32c-elf-*. However, I am facing a problem while accessing the "const" data and hard-coded strings which by default get placed in section ".rod