2009-11-16 Alan Cudmore <alan.p.cudmore@nasa.gov>

* startup/init5235.c: Add volatile to prevent newer gcc versions from
	optimizing away.
This commit is contained in:
Joel Sherrill
2009-11-16 20:11:48 +00:00
parent 5e9c2be3f9
commit 2bac2a7002
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-11-16 Alan Cudmore <alan.p.cudmore@nasa.gov>
* startup/init5235.c: Add volatile to prevent newer gcc versions from
optimizing away.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mcf5235.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -29,7 +29,7 @@ void Init5235 (void)
{
extern void CopyDataClearBSSAndStart (void);
int x;
int temp = 0;
volatile int temp = 0;
int *address_of_MCF5235_BSP_START_FROM_FLASH;
/*Setup the GPIO Registers */