From 54a096a5af6b5a9b57ac17a9485cd6069d3044af Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Wed, 1 Aug 2012 15:47:41 +0300 Subject: [PATCH] PPC: do not export dwarf_to_unw_regnum_map 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 b7cebff5..15221f38 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 64813571..888554d3 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,