[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c |
Date: |
Fri, 21 Sep 2012 14:11:42 +0300 |
---
src/dwarf/Gexpr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dwarf/Gexpr.c b/src/dwarf/Gexpr.c
index 6eaffca..ef8b32a 100644
--- a/src/dwarf/Gexpr.c
+++ b/src/dwarf/Gexpr.c
@@ -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 ADDR 0x7 /* Machine address. */
-static uint8_t operands[256] =
+static const uint8_t operands[256] =
{
[DW_OP_addr] = OPND1 (ADDR),
[DW_OP_const1u] = OPND1 (VAL8),
--
1.7.9.5
- [Libunwind-devel] [PATCH 31/57] Nuke HAVE_BACKTRACE, (continued)
- [Libunwind-devel] [PATCH 31/57] Nuke HAVE_BACKTRACE, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 34/57] Enable coredump library build on ARM by default, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 33/57] MIPS coredump support, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUSED in ucontext_i.h, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 40/57] Constify `dwarf_to_unw_regnum_map', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 37/57] ppc32: `UNW_PPC32_REGS' fixlet, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 38/57] IA64: give prototype for `ia64_find_unwind_table()', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 39/57] Set `_UPT_reg_offset' read only, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 54/57] Replace empty argument lists with `void' in tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 51/57] Fix second operand read in dwarf_eval_expr(), Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 50/57] Teach autotools current ARM `ex_tables.h' location, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 48/57] Use `UNUSED' in tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 52/57] Apply `define_lock()', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 49/57] Use shared `ARRAY_SIZE' in IA64 tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 56/57] Add arguments to malloc and calloc prototypes in Ltest-nocalloc, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 55/57] Remove unused variable in Ltest-nocalloc, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 53/57] Prefer NULL over zero, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 35/57] SuperH port, Tommi Rantala, 2012/09/21