Hi! Processor ARM920T, chip Atmel at91rm9200.
Simple C code: char c[30]; unsigned short *pN = &c[1]; *pN = 0x1234;causes hardware exeption - memory aborts (used to implement memory protection or virtual memory).
We have a lot of source code, with pieces of code like this, which must be ported from x86 to ARM9.
Are there any compiler options to handle this exception? I compile it by using arm-elf-gcc 4.3.2 under Linux. binutils-2.18. Thanks. Best regrads, Vladimir