From patchwork Wed Jan 24 23:23:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 25502 Received: (qmail 42346 invoked by alias); 24 Jan 2018 23:23:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 42334 invoked by uid 89); 24 Jan 2018 23:23:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:2029 X-HELO: relay1.mentorg.com Date: Wed, 24 Jan 2018 23:23:13 +0000 From: Joseph Myers To: Subject: Add jmp_buf-macros.h for no-FPU ColdFire [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) 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). Committed. 2018-01-24 Joseph Myers * 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. diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h new file mode 100644 index 0000000..9b25281 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h @@ -0,0 +1,6 @@ +#define JMP_BUF_SIZE 256 +#define SIGJMP_BUF_SIZE 256 +#define JMP_BUF_ALIGN 2 +#define SIGJMP_BUF_ALIGN 2 +#define MASK_WAS_SAVED_OFFSET 124 +#define SAVED_MASK_OFFSET 128 diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h deleted file mode 100644 index 9b25281..0000000 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h +++ /dev/null @@ -1,6 +0,0 @@ -#define JMP_BUF_SIZE 256 -#define SIGJMP_BUF_SIZE 256 -#define JMP_BUF_ALIGN 2 -#define SIGJMP_BUF_ALIGN 2 -#define MASK_WAS_SAVED_OFFSET 124 -#define SAVED_MASK_OFFSET 128 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 0000000..24fa289 --- /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