]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
In dwarf-opcodes.h, add DW_OP_GNU_implicit_pointer and fix DW_OP_call_ref
authorPetr Machata <pmachata@redhat.com>
Mon, 20 Sep 2010 19:40:06 +0000 (21:40 +0200)
committerPetr Machata <pmachata@redhat.com>
Mon, 20 Sep 2010 19:40:06 +0000 (21:40 +0200)
- patch by Jakub Jelinek

src/dwarf-opcodes.h

index 875dcc0711629133e31d6cb098860d80288727aa..f80deff3c66c4663678c52af987ca782e0e8e7e1 100644 (file)
   DW_OP_0 (DW_OP_push_object_address)                          \
   DW_OP_1 (DW_OP_call2, DW_FORM_data2)                         \
   DW_OP_1 (DW_OP_call4, DW_FORM_data4)                         \
-  DW_OP_1 (DW_OP_call_ref, DW_FORM_addr)                       \
+  DW_OP_1 (DW_OP_call_ref, DW_FORM_ref_addr)                   \
   DW_OP_0 (DW_OP_form_tls_address)                             \
   DW_OP_0 (DW_OP_GNU_push_tls_address)                         \
   DW_OP_0 (DW_OP_call_frame_cfa)                               \
   DW_OP_0 (DW_OP_GNU_uninit)                                   \
   /* DWARF 4 */                                                        \
   DW_OP_0 (DW_OP_stack_value)                                  \
-  DW_OP_1 (DW_OP_implicit_value, DW_FORM_block)
+  DW_OP_1 (DW_OP_implicit_value, DW_FORM_block)                        \
+  /* GNU extensions */                                         \
+  DW_OP_2 (DW_OP_GNU_implicit_pointer, DW_FORM_ref_addr, DW_FORM_sdata)