libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 12/27] PPC: do not export dwarf_to_unw_regnum_m


From: Tommi Rantala
Subject: [Libunwind-devel] [PATCH 12/27] PPC: do not export dwarf_to_unw_regnum_map
Date: Wed, 22 Aug 2012 14:28:38 +0300

dwarf_to_unw_regnum_map is internal to libunwind, and should not be
exported.
---
 src/ppc32/Gglobal.c |    2 +-
 src/ppc64/Gglobal.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ppc32/Gglobal.c b/src/ppc32/Gglobal.c
index b7cebff..15221f3 100644
--- a/src/ppc32/Gglobal.c
+++ b/src/ppc32/Gglobal.c
@@ -33,7 +33,7 @@ HIDDEN int tdep_needs_initialization = 1;
 
 /* The API register numbers are exactly the same as the .eh_frame
    registers, for now at least.  */
-uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
+HIDDEN uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
   {
        [UNW_PPC32_R0]=UNW_PPC32_R0,
        [UNW_PPC32_R1]=UNW_PPC32_R1,
diff --git a/src/ppc64/Gglobal.c b/src/ppc64/Gglobal.c
index 6481357..888554d 100644
--- a/src/ppc64/Gglobal.c
+++ b/src/ppc64/Gglobal.c
@@ -33,7 +33,7 @@ HIDDEN int tdep_needs_initialization = 1;
 
 /* The API register numbers are exactly the same as the .eh_frame
    registers, for now at least.  */
-uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
+HIDDEN uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH] =
   {
        [UNW_PPC64_R0]=UNW_PPC64_R0,
        [UNW_PPC64_R1]=UNW_PPC64_R1,
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]