]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
authorMark Wielaard <mark@klomp.org>
Wed, 26 Jul 2017 16:15:20 +0000 (18:15 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 2 Aug 2017 11:51:52 +0000 (13:51 +0200)
Signed-off-by: Mark Wielaard <mark@klomp.org>
ChangeLog
NEWS
libdw/ChangeLog
libdw/dwarf.h

index 25944f0624f10da37025ff3cca2a4a8b654e8167..7748f139ebd549c744c3f6f89d638bea5417f4eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-26  Mark Wielaard  <mark@klomp.org>
+
+       * NEWS: Mention new DWARF5 calling conventions.
+
 2017-07-26  Mark Wielaard  <mark@klomp.org>
 
        * NEWS: Mention new dwarf_default_lower_bound function.
diff --git a/NEWS b/NEWS
index 5bf0a4d400d87d9f7bec673358826bd942d45925..409805e701f21b669d57a39c6eaa147de82a52a3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 Version 0.170
 
-libdw: Added new DWARF5 attribute, tag, character encodings constants and
-       language codes to dwarf.h.
+libdw: Added new DWARF5 attribute, tag, character encoding, language code
+       and calling convention constants to dwarf.h.
        New function dwarf_default_lower_bound.
 
 strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
index ee7dc92e01cb2f9aeb2a206b9ecd170a30d81418..1c4eb3668447421322226be5053a8ea163a54a05 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-26  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.h: Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
+
 2017-07-26  Mark Wielaard  <mark@klomp.org>
 
        * dwarf_default_lower_bound.c: New file.
index dd4384fb8c60d114ad46b5ad00cf9dc8f36bdc07..de8f7e5a7abdc69f77a0fb5f0095c7e502f18a81 100644 (file)
@@ -688,12 +688,17 @@ enum
   };
 
 
-/* DWARF calling conventions encodings.  */
+/* DWARF calling conventions encodings.
+   Used as values of DW_AT_calling_convention for subroutines
+   (normal, program or nocall) or structures, unions and class types
+   (normal, reference or value).  */
 enum
   {
     DW_CC_normal = 0x1,
     DW_CC_program = 0x2,
     DW_CC_nocall = 0x3,
+    DW_CC_pass_by_reference = 0x4,
+    DW_CC_pass_by_value = 0x5,
     DW_CC_lo_user = 0x40,
     DW_CC_hi_user = 0xff
   };