]> sourceware.org Git - systemtap.git/commitdiff
Fix build error with elfutils < 0.142.
authorRoland McGrath <roland@redhat.com>
Fri, 18 Sep 2009 03:55:10 +0000 (20:55 -0700)
committerRoland McGrath <roland@redhat.com>
Fri, 18 Sep 2009 03:55:10 +0000 (20:55 -0700)
* loc2c.c [!_ELFUTILS_PREREQ (0,142)]
(DW_OP_stack_value, DW_OP_implicit_value): Define as macros.

loc2c.c

diff --git a/loc2c.c b/loc2c.c
index ce5979b99f69ce80ed1c828087112f7f5b1d46cd..c27242fa1be58b36748f9ab5feeafd2dc6931e6e 100644 (file)
--- a/loc2c.c
+++ b/loc2c.c
 #define _ELFUTILS_PREREQ(major, minor) (0 >= 1)
 #endif
 
-#if ! _ELFUTILS_PREREQ(0,142)
-#define DW_TAG_rvalue_reference_type 0x42
+#if !_ELFUTILS_PREREQ (0,142)
+#define DW_TAG_rvalue_reference_type   0x42
+#define DW_OP_implicit_value           0x9e
+#define DW_OP_stack_value              0x9f
 #endif
 
 #define N_(x) x
This page took 0.027755 seconds and 5 git commands to generate.