mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-16 18:21:41 +01:00
Constify `operands' in src/dwarf/Gexpr.c
This commit is contained in:
parent
ee8df26288
commit
088ac53775
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#define OFFSET 0x6 /* 32-bit offset for 32-bit DWARF, 64-bit otherwise */
|
#define OFFSET 0x6 /* 32-bit offset for 32-bit DWARF, 64-bit otherwise */
|
||||||
#define ADDR 0x7 /* Machine address. */
|
#define ADDR 0x7 /* Machine address. */
|
||||||
|
|
||||||
static uint8_t operands[256] =
|
static const uint8_t operands[256] =
|
||||||
{
|
{
|
||||||
[DW_OP_addr] = OPND1 (ADDR),
|
[DW_OP_addr] = OPND1 (ADDR),
|
||||||
[DW_OP_const1u] = OPND1 (VAL8),
|
[DW_OP_const1u] = OPND1 (VAL8),
|
||||||
|
|
Loading…
Add table
Reference in a new issue