about summary refs log tree commit diff
path: root/sysdeps/sh/bits/setjmp.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-06 00:08:36 +0000
committerRoland McGrath <roland@gnu.org>2002-11-06 00:08:36 +0000
commite791bd95a530740a79b2b383075ddfda68663921 (patch)
treefcfe08e73405400966b2e75ad8bc5243e382428f /sysdeps/sh/bits/setjmp.h
parent0b27510b8fe082f54c75ece7b8f92a8a3e526b60 (diff)
downloadglibc-e791bd95a530740a79b2b383075ddfda68663921.tar.gz
glibc-e791bd95a530740a79b2b383075ddfda68663921.tar.xz
glibc-e791bd95a530740a79b2b383075ddfda68663921.zip
* sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
	under [__USE_MISC || _ASM].

	* elf/elf.h: Remove the obsolete SH TLS relocations.
Diffstat (limited to 'sysdeps/sh/bits/setjmp.h')
-rw-r--r--sysdeps/sh/bits/setjmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sh/bits/setjmp.h b/sysdeps/sh/bits/setjmp.h
index 5182300f34..55bc66549b 100644
--- a/sysdeps/sh/bits/setjmp.h
+++ b/sysdeps/sh/bits/setjmp.h
@@ -42,7 +42,9 @@ typedef struct
   } __jmp_buf[1];
 #endif
 
+#if defined __USE_MISC || defined _ASM
 #define JB_SIZE		(4 * 15)
+#endif
 
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */