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: 432 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id E894E360075 for ; Tue, 8 Apr 2014 07:35:52 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id 705351F57C1D; Tue, 8 Apr 2014 07:35:52 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com 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 homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 097EFC0413F for ; Tue, 8 Apr 2014 07:35:51 -0700 (PDT) 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=LC7AFjgKeQHhZWYH h/RJTtrb2BigMPguBmxfBPnaNRLFTCe1WSM/RNTfZwerM9j3S2Cy3m/xe52i/QrO 1+uxzhqFyUqN1tHxI5XJB/ATPK0VIphGmIaypcnT/e5knX+NZk77rquw0SE/HeWL Cq+PdtrPJm4r8q08np/wxGTAPL0= 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=hSBe85qL6dThjwfkD5kbjjujp9AtcrwGjuj/clcQ1dGWpoYSwexgH7 lCcC+4ssV/RC4a1m92XrUCQcn1ELoibFK32iYVRZzUDZdsL3RYlSecVA+egYhH7H EXyaqfUE1RuFClaWI104BORVjp7lx/6vvyoL9DMaP/3hHVH5fiy90= 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 X-DH-Original-To: glibc@patchwork.siddhesh.in 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