diff options
| author | Mark Wielaard <[email protected]> | 2018-10-20 13:20:30 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-10-20 13:20:30 +0200 |
| commit | 9a74c190a2b357c6318e6222ff08c5bcee2f9291 (patch) | |
| tree | 64129f243e73d53cef1274d07e33bd204a4ce7f1 /backends/ChangeLog | |
| parent | 72d023b35f3639864b61bd1c11aaadc4957e6286 (diff) | |
backends: ppc use define instead of const for size of dwarf_regs array.
The size of the dwarf_regs is a constant, but when building without
optimizations the compiler doesn't see that and will warn that it
cannot proof the stack size is bounded. Use a define instead of a
const, so the compiler will use a constant expression everywhere.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
| -rw-r--r-- | backends/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index a7434dd2..768c270b 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,8 @@ +2018-10-20 Mark Wielaard <[email protected]> + + * ppc_initreg.c (ppc_set_initial_registers_tid): Use define instead of + const for size of dwarf_regs array. + 2018-10-02 Andreas Schwab <[email protected]> * riscv_symbol.c (riscv_reloc_simple_type): Add parameter addsub. |
