public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Legacy unwinder: Remove definition of _Unwind_GetCFA
@ 2021-03-16 14:33 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-03-16 14:33 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4b7259555c6ded82a2b4b598efa770c2086e203f

commit 4b7259555c6ded82a2b4b598efa770c2086e203f
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Mar 16 15:33:09 2021 +0100

    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>

Diff:
---
 sysdeps/generic/unwind-dw2.c | 8 --------
 1 file changed, 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-16 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 14:33 [glibc] Legacy unwinder: Remove definition of _Unwind_GetCFA Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).