I'm using AT91EB40A evaluation board and GCC. Everything works just fine until I use .rodata -section in my program. If I use rodata the program is compiled, but it doesn't work as it should. I would be very happy if somebody could tell me what I'm doing wrong.
---Source code I'm using looks like this---:
/* GPIO set and reset registers */ #define PIO_SODR 0xffff0030 #define PIO_CODR 0xffff0034
/* Bits to be set/reset on the GPIO port in order to toggle the LED */ #define RED_LED 1