From patchwork Tue Apr 8 14:35:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 337677 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 92A55140100 for ; Wed, 9 Apr 2014 00:35:56 +1000 (EST) 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:cc:subject:message-id :mime-version:content-type; q=dns; s=default; b=SK+MbkpKnYrh+fus C8w+6ga72JqPt4Z2bzPt4zDH1i31b9dLR23BcoOKWF9FNUyG5sFtBIzJOGT+rBfK 8NRyGIvwLS2kpkODvVStylvTJZVM+9Z6LnEGK2ataCVEwa6zAMy8z6a6u9vgHOhv SsDdXF6G9OwsexV+1QIA103M7Xs= 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:cc:subject:message-id :mime-version:content-type; s=default; bh=3TMsoqpT6hrER7cIkaUgT5 aKfS0=; b=o27ugQsWuLJ7mp3zt/mVUsqjM7fcBP55cpf+XeJjU0y37TDpu772mC PYYPA2AmTUheIkILhv034tKPUp8oKeDz4FGs3o0T+I6ihrUp+NhnEgIKhVADietr lelem8xDnSnZmNMtrhv6G/ZKmUZoy7bpjXDxUJvTosJuRarVrSvlU= Received: (qmail 11525 invoked by alias); 8 Apr 2014 14:35: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 11442 invoked by uid 89); 8 Apr 2014 14:35:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp17.uk.ibm.com Date: Tue, 8 Apr 2014 16:35:18 +0200 From: Andreas Krebbel To: libc-alpha@sourceware.org Cc: allan@archlinux.org Subject: [PATCH] NEWS: Add comment about S/390 ABI changes Message-ID: <20140408143518.GA28705@maggie> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14040814-0542-0000-0000-000008966D43 Hi, the attached patch adds the text Carlos added to: https://sourceware.org/glibc/wiki/Release/2.19#Packaging_Changes to the glibc NEWS file. Thanks to Carlos for writing it! Alan, is that ok for 2.19 branch as well? Bye, -Andreas- From aae3aab214438c4e3e09daba41f62a9ad3fbc4df Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Tue, 8 Apr 2014 16:30:07 +0200 Subject: [PATCH] NEWS: Add comment about changed ABI on s390 and s390x. --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/NEWS b/NEWS index db8cc10..0f86584 100644 --- a/NEWS +++ b/NEWS @@ -151,6 +151,20 @@ Version 2.19 * Preliminary documentation about Multi-Thread, Async-Signal and Async-Cancel Safety has been added. + +* Change of ABI data structures for s390 and s390x: + On s390 and s390x the size of struct ucontext and jmp_buf was increased to + allow for future hardware extensions. All library functions that accept or + return these structures were versioned in order to provide backwards + compatibility with existing code. However, not all cases can be handled + with interface versioning. If an application embeds either structure into + another structure and that structure is passed to another compilation unit + which expects the newer larger-sized object then any access to the new + fields will result in undefined behaviour. Similarly any access to fields + that were moved by the enlarging of the structures will cause undefined + behaviour. To fix the undefined behaviour all objects that are part of the + final in-memory image must agree on the size of structures, and this may + require recompilation. Version 2.18