about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-11-04 21:46:30 +0100
committerThomas Schwinge <thomas@codesourcery.com>2012-11-04 21:46:30 +0100
commite10bb1072cf11e52aad85d59673da86aeafd1b47 (patch)
tree5a3c71941be667ff8ced391026b254220e8dd8d7 /sysdeps/mach/hurd
parenta0c2940d67e59b2f19515e2ac7280a7be9629ffa (diff)
downloadglibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.tar.gz
glibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.tar.xz
glibc-e10bb1072cf11e52aad85d59673da86aeafd1b47.zip
[BZ #5246] Conditionalize use of PTR_DEMANGLE.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/i386/____longjmp_chk.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/____longjmp_chk.S b/sysdeps/mach/hurd/i386/____longjmp_chk.S
index f499fbd1e7..39282d3174 100644
--- a/sysdeps/mach/hurd/i386/____longjmp_chk.S
+++ b/sysdeps/mach/hurd/i386/____longjmp_chk.S
@@ -52,8 +52,10 @@ ENTRY (____longjmp_chk)
 	/* Get the stack pointer.  */
 	movl	(JB_SP*4)(%ecx), %edi
 	cfi_undefined(%edi)
+#ifdef PTR_DEMANGLE
 	PTR_DEMANGLE (%edx)
 	PTR_DEMANGLE (%edi)
+#endif
 
 	cmpl	%edi, %esp
 	/* Jumping to a higher-address frame is always allowed.  */