* sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.
+2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/arm/eabi/Makefile (arm-using-eabi): Set.
+ * sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.
+
2006-02-28 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.S,
+# Set this flag here so that arm/nptl/Makefile will see it.
+arm-using-eabi = yes
+
ifeq ($(subdir),csu)
# In order for unwinding to fail when it falls out of main, we need a
# cantunwind marker. There's one in start.S. To make sure we reach it, add
--- /dev/null
+ifeq ($(subdir),nptl)
+ifneq ($(arm-using-eabi),yes)
+# These tests rely on PTHREAD_KEYS_MAX. The SJLJ exception machinery
+# in libgcc registers one key, however, so only PTHREAD_KEYS_MAX-1
+# keys are available. This works fine for EABI targets.
+tests := $(filter-out tst-key1 tst-key4,$(tests))
+endif
+endif