* sysdeps/unix/sysv/linux/arm/eabi/Makefile (arm-using-eabi): Set.
authorDaniel Jacobowitz <dan@codesourcery.com>
Thu, 2 Mar 2006 15:19:51 +0000 (15:19 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Thu, 2 Mar 2006 15:19:51 +0000 (15:19 +0000)
* sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.

ChangeLog.arm
sysdeps/unix/sysv/linux/arm/eabi/Makefile
sysdeps/unix/sysv/linux/arm/nptl/Makefile [new file with mode: 0644]

index d7217bb..3f510d2 100644 (file)
@@ -1,3 +1,8 @@
+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,
index d3c02a2..9f2b0fe 100644 (file)
@@ -1,3 +1,6 @@
+# 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
diff --git a/sysdeps/unix/sysv/linux/arm/nptl/Makefile b/sysdeps/unix/sysv/linux/arm/nptl/Makefile
new file mode 100644 (file)
index 0000000..f270f19
--- /dev/null
@@ -0,0 +1,8 @@
+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