]> git.sur5r.net Git - openocd/commit
embedded: do not allocate large temporary structures on stack
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sat, 21 Nov 2009 22:25:46 +0000 (23:25 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 22 Nov 2009 12:38:42 +0000 (13:38 +0100)
commit964c3639e2464b18d72f16fa175fee9beb843b36
tree4dc0a07648e32f57ec731e6194764b52fa3c5feb
parent31da0003dc6d307faa8fd66eb23319bd5e9ab7dd
embedded: do not allocate large temporary structures on stack

With -O3 when inlining aggressively the total stack usage will
be the sum of many fn's, which can easily get out of hand.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/image.c