adding -O2 to CFLAGS
authorGuillaume Aubertin <g-aubertin@ti.com>
Wed, 5 Dec 2012 12:41:12 +0000 (13:41 +0100)
committerGuillaume Aubertin <g-aubertin@ti.com>
Wed, 5 Dec 2012 12:41:12 +0000 (13:41 +0100)
commit5850b9d31003abb2897cbbfd7f8968dfe3b895f2
tree34d476dd58c0875b88b4bd2a244604070b4ce200
parent1a477e37c5801cf179e5259ae949170dd62351ec
adding -O2 to CFLAGS

without compiler optimisation, bss initialisation loop
will use the stack to store the bss pointer address.

However, the stack is currently included in the .bss section,
so it results in corrupting the stack and never leaving the
bss initialisation loop.
ducati/Makefile