mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
IA64: constify read only arrays in `tdep_init()'
This commit is contained in:
parent
088ac53775
commit
dcbe6836eb
1 changed files with 3 additions and 3 deletions
|
@ -52,15 +52,15 @@ HIDDEN struct ia64_global_unwind_state unw =
|
||||||
HIDDEN void
|
HIDDEN void
|
||||||
tdep_init (void)
|
tdep_init (void)
|
||||||
{
|
{
|
||||||
uint8_t f1_bytes[16] = {
|
const uint8_t f1_bytes[16] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||||
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
};
|
};
|
||||||
uint8_t nat_val_bytes[16] = {
|
const uint8_t nat_val_bytes[16] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xfe,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xfe,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
};
|
};
|
||||||
uint8_t int_val_bytes[16] = {
|
const uint8_t int_val_bytes[16] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x3e,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x3e,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue