aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-01-24 23:22:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-01-24 23:22:28 +0000
commit0cfe5be58faa2a9a67b1de734f356562c2f26eb6 (patch)
treede7d1c47889537db49073dc0bb284424633f5048
parent91b2cffa9fd5956b8d949e06196ab4c37a8a7f9a (diff)
downloadglibc-0cfe5be58faa2a9a67b1de734f356562c2f26eb6.tar
glibc-0cfe5be58faa2a9a67b1de734f356562c2f26eb6.tar.gz
glibc-0cfe5be58faa2a9a67b1de734f356562c2f26eb6.tar.bz2
glibc-0cfe5be58faa2a9a67b1de734f356562c2f26eb6.zip
Add jmp_buf-macros.h for no-FPU ColdFire.
Continuing the fixes for ColdFire glibc build with build-many-glibcs.py, given a GCC patch for the libgcc build failure, this patch adds jmp_buf-macros.h for no-FPU ColdFire. This allows the no-FPU build to progress further than without the patch (although other fixes are still needed for the build to complete). * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to .... * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h: ... here. * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h: New file.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h (renamed from sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h)0
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h6
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 002839213f..cc7a92c2d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2018-01-24 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
+ ....
+ * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
+ ... here.
+ * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
+ New file.
+
* sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
* sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
* sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h
index 9b25281277..9b25281277 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h
new file mode 100644
index 0000000000..24fa289e64
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h
@@ -0,0 +1,6 @@
+#define JMP_BUF_SIZE 192
+#define SIGJMP_BUF_SIZE 192
+#define JMP_BUF_ALIGN 2
+#define SIGJMP_BUF_ALIGN 2
+#define MASK_WAS_SAVED_OFFSET 60
+#define SAVED_MASK_OFFSET 64