From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81730 invoked by alias); 4 Mar 2017 02:07:18 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 81278 invoked by uid 89); 4 Mar 2017 02:07:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-qk0-f180.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=S8loni88ffGhc7fB5JUUa8q41vgQIwpfzPXctl0pXoU=; b=ppBrOhnFp+Q8SpEEhJsYzL21gNQgn6z0V9w8ZfgFnr+JZ5IoBK7+6e14KkMhLPDsDy 842gHzfwMPEINy0OFirZLCoNvABnmzyP5HB03qzfnHiZ6NGlKZhrJ7rLGyfv20Dh5sbJ KWPq7ED3Ozc9xfDprhUjUL1Gth5R+mC3d5oiCJ2T3Z/VngFG8VVK2/gM0oE40nzYgm0E ehMMyVaoMNzA0r2eIAF5t/fxcYW7kh4PUzxnLzv0lprFLgWKnF9cRVhnpZIj4LnsTB6T p8f9zjQL/y5ONeaeDApTH16bTO/3+DOStrKCOTmNYjPeUkyDoFvvtPdyj6D3UII75+4H BVww== X-Gm-Message-State: AMke39krtqaiRuE7NdKXe6EFt/S6fjn0GIySXfUyFUlfj0WynUUB6iZYLKgVj7334dqXguOf X-Received: by 10.200.3.38 with SMTP id q38mr5480985qtg.126.1488593232763; Fri, 03 Mar 2017 18:07:12 -0800 (PST) Subject: Re: RFC: ABI support for special memory area To: "H.J. Lu" , Suprateeka R Hegde References: <88608944-14c9-9d28-80d1-32283521683b@gmail.com> Cc: gnu-gabi@sourceware.org From: Carlos O'Donell Organization: Red Hat Message-ID: Date: Sun, 01 Jan 2017 00:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-q1/txt/msg00011.txt.bz2 On 03/03/2017 11:00 AM, H.J. Lu wrote: > __gnu_mbind_setup is called from ld.so. Since there is only one ld.so, > it needs to know what to pass to __gnu_mbind_setup. Not all arguments > have to be used by all implementations nor all memory types. I think what Supra is suggesting is a pointer-to-implementation interface which would allow ld.so to pass completely different arguments to the library depending on what kind of memory is being defined by the sh_info value. It avoids needing to encode all the types in the API, and just uses an incomplete pointer to the type. -- Cheers, Carlos.