Commit 076faae
committed
qoriq: Adjust debug compile flags to workaround architecture limits
PowerPC e500v2 has a 248-byte limit on immediate offsets in load/store
instructions. When compiling with -O0, GCC generates stack frames that
exceed this limit (>4KB for complex functions), causing assembler errors.
Switch to -O1 for qoriq debug builds to reduce stack frame size while
maintaining full debug capabilities (-g3 -ggdb3 -fno-omit-frame-pointer).1 parent 236314a commit 076faae
2 files changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
| |||
0 commit comments