avoid gcc warnings (and potential errors) when strict aliasing is on

This commit is contained in:
Markus Fröschle
2013-07-22 08:09:49 +00:00
parent ebc8f90743
commit a8744a81e8
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,8 @@
* linker symbols must be defined in the linker command file.
*/
typedef uint32_t __attribute__((__may_alias__)) uint32_t_a;
extern uint8_t _MBAR[];
extern uint8_t _MMUBAR[];
extern uint8_t _RAMBAR0[];