aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chisnall <dchisnall@pathscale.com>2014-05-09 01:35:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 01:35:34 +0000
commit57ab7f59224ccdd747da9b8f1ca2827bcf6adf7c (patch)
treeb010ab80ae04934c17a132861d69b6449ff1296e
parentb0db0c776a729b5ccaaceec8e1a7609dc4365e6c (diff)
parent80ea9781cf051090abda530affd0ce7147202838 (diff)
downloadlibcxxrt-57ab7f59224ccdd747da9b8f1ca2827bcf6adf7c.tar.gz
am 80ea9781: Fix some compiler warnings by moving the definition of DW_EH_PE_absptr to the enumeration where it is used.
* commit '80ea9781cf051090abda530affd0ce7147202838': Fix some compiler warnings by moving the definition of DW_EH_PE_absptr to the enumeration where it is used.
-rw-r--r--src/dwarf_eh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dwarf_eh.h b/src/dwarf_eh.h
index 21557fc..d5e1e28 100644
--- a/src/dwarf_eh.h
+++ b/src/dwarf_eh.h
@@ -57,6 +57,8 @@ typedef unsigned char *dw_eh_ptr_t;
/// DWARF data encoding types.
enum dwarf_data_encoding
{
+ /// Absolute pointer value
+ DW_EH_PE_absptr = 0x00,
/// Unsigned, little-endian, base 128-encoded (variable length).
DW_EH_PE_uleb128 = 0x01,
/// Unsigned 16-bit integer.
@@ -95,8 +97,6 @@ enum dwarf_data_relative
{
/// Value is omitted
DW_EH_PE_omit = 0xff,
- /// Absolute pointer value
- DW_EH_PE_absptr = 0x00,
/// Value relative to program counter
DW_EH_PE_pcrel = 0x10,
/// Value relative to the text segment