about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-03-16 15:33:09 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-03-16 15:33:09 +0100
commit4b7259555c6ded82a2b4b598efa770c2086e203f (patch)
tree7a090eed384d61e9cf56f8bd4cfa79031e66c40f
parente958490f8c74e660bd93c128b3bea746e268f3f6 (diff)
downloadglibc-4b7259555c6ded82a2b4b598efa770c2086e203f.tar.gz
glibc-4b7259555c6ded82a2b4b598efa770c2086e203f.tar.xz
glibc-4b7259555c6ded82a2b4b598efa770c2086e203f.zip
Legacy unwinder: Remove definition of _Unwind_GetCFA
It is not actually used by the legacy unwinder linked into
libc.so, and it conflicts with the unwind-link functionality
in libpthread.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-rw-r--r--sysdeps/generic/unwind-dw2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/generic/unwind-dw2.c b/sysdeps/generic/unwind-dw2.c
index 618fa8885f..da971279be 100644
--- a/sysdeps/generic/unwind-dw2.c
+++ b/sysdeps/generic/unwind-dw2.c
@@ -177,14 +177,6 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
   return * (_Unwind_Word *) context->reg[index];
 }
 
-/* Get the value of the CFA as saved in CONTEXT.  */
-
-_Unwind_Word
-_Unwind_GetCFA (struct _Unwind_Context *context)
-{
-  return (_Unwind_Ptr) context->cfa;
-}
-
 /* Overwrite the saved value for register REG in CONTEXT with VAL.  */
 
 inline void