From patchwork Wed Jan 24 22:27:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 865514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89460-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="IxFYX42J"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zRftb3S7Xz9t1t for ; Thu, 25 Jan 2018 09:27:35 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=TczhBS0tx/yjGKylbpx/HOVi9wa43 OEuHUb5/LfPOicqbqiAfU2bwgiSX6uvDoTyLLVp43IACJv3rxcY7ndXVu8/bZv32 ESeYcGckcPADkkwmWk8i52MhAUo0ySAe5H/nY3w2Wu4eyZbgLTXeQ3FhMUqVWom2 Wipwmj+WH/10r0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=e8EQaPbjiXDKECpcPnRbwFxywTk=; b=IxF YX42Jrz3v3yT5UXtcRtMkkuzwBbnzilciRrR5E+UDdZ3OawOeEeZHpgc6CsMhaYw vEyIQdO/B6UAYX78QpNg8sG19LCJtK0IzQrtwiFXD2gRCnFizgv7mEMtkzY8MEvr NHol7IpS6eAZE7e8u++L7ovVz4chx/wrH23LTeKg= Received: (qmail 126064 invoked by alias); 24 Jan 2018 22:27:29 -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 126051 invoked by uid 89); 24 Jan 2018 22:27:29 -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, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Wed, 24 Jan 2018 22:27:22 +0000 From: Joseph Myers To: Subject: Add jmp_buf-macros.h for 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) This patch adds a jmp_buf-macros.h for ColdFire. In conjunction with a GCC patch to fix the libgcc build failure for ColdFire this suffices to restore the build (tested with build-many-glibcs.py). A further patch will be needed for soft-float ColdFire (while the function-calling ABI is the same for hard-float and soft-float ColdFire, it turns out the glibc ABI is not - so another ColdFire variant will be needed in build-many-glibcs.py), but I'll deal with that separately. Tested with build-many-glibcs.py (m68k-linux-gnu and m68k-linux-gnu-coldfire). (There's a localplt test failure for coldfire; that's the only failure in the compilation part of the testsuite.) Committed. 2018-01-24 Joseph Myers * 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 file. diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h new file mode 100644 index 0000000..9b25281 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/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/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h deleted file mode 100644 index 2f62ecb..0000000 --- a/sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h +++ /dev/null @@ -1,6 +0,0 @@ -#define JMP_BUF_SIZE 288 -#define SIGJMP_BUF_SIZE 288 -#define JMP_BUF_ALIGN 2 -#define SIGJMP_BUF_ALIGN 2 -#define MASK_WAS_SAVED_OFFSET 156 -#define SAVED_MASK_OFFSET 160 diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h new file mode 100644 index 0000000..2f62ecb --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h @@ -0,0 +1,6 @@ +#define JMP_BUF_SIZE 288 +#define SIGJMP_BUF_SIZE 288 +#define JMP_BUF_ALIGN 2 +#define SIGJMP_BUF_ALIGN 2 +#define MASK_WAS_SAVED_OFFSET 156 +#define SAVED_MASK_OFFSET 160