From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14999 invoked by alias); 18 Jun 2016 04:11:32 -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 14958 invoked by uid 89); 18 Jun 2016 04:11:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Deferred, H*R:D*gmail.com X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS 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-pf0-f174.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:reply-to:references:to:cc:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ZXuURVVFtrOJFkq9YOfgGTQS40ua11nDInIM+DLqBww=; b=y32wG2XyIY1vqeR8pKDI7OUmZoFboSENvGL3gfyqxVnlR8hTiE2grcLkMW3TBqmY6C pXxg/rle8B+2DvQpr4wQBOPeWKvIy1RMHgkItFXLr3+cWTYggLuP4EVt9YYD++e9PyHY sE8f7nGEVTpmMmTwQSimCWXteUEEyDz58xcNydMDVQ0vTSlylUzyFWDEKvvmsE+Z8VoD IuL2HMAFOYgusa/PVYBiDbRuhP4+Txd2g0x2Zdu7Se7g9QTMDij5Imd4sSy12AtLBXeN bS7MoyiOH5xun+XqsdAHk0axpTSAIpyuO5A5Ujl6UISa/TBu9QcSZDmixYOZKezW30k2 ooGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:reply-to:references:to:cc :organization:message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=ZXuURVVFtrOJFkq9YOfgGTQS40ua11nDInIM+DLqBww=; b=jPEoTAjabPfoy8ykXG1vtB8I7vfJZse4lR0jHsYaK7dBLokojfdKhK239nZ+N4AtFK tA4gCEnFhgPqVhtXKdrqph20avSyGryYve2y58pxybtjlX0MsTXfF87tg5wU5uiTpulg mdtiM3gSj9raOYjTGuYPTPKLuOi+d3wDkJJVTo2pU7wKfS1Ffmk4Fee9r/ZBoihO4EUn vWWYKGKIN95h9hEOSubIgZEqWcqhnm31HpNT4SDVNKnWhA8FC0IlyWoq/XhB+7KAPLs9 EdrGs7FJQttNksRekdjtEm/ENAOfWnxKZfy7ewArqSN6FZZycWpsrDSEg+xoMuaFm+0w bvXA== X-Gm-Message-State: ALyK8tLziGM2HXjF2VGDBNClee5N7PqnZTC4pJIL/jxkpPsSlVxJbpj4nocQ2zul5m1Nmw== X-Received: by 10.98.46.70 with SMTP id u67mr6267677pfu.134.1466223077637; Fri, 17 Jun 2016 21:11:17 -0700 (PDT) From: Suprateeka R Hegde Subject: Re: Deferred Binding of Function Pointers in SHLIB Reply-To: hegdesmailbox@gmail.com References: <36cd44e9-9f62-6784-17d8-22dd3c41e9f6@gmail.com> <20160610213649.D8A7B2C39F7@topped-with-meat.com> To: Carlos O'Donell , Roland McGrath Cc: gnu-gabi@sourceware.org Organization: HEGDESASPECT Message-ID: Date: Fri, 01 Jan 2016 00:00:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 160617-3, 18-06-2016), Outbound message X-Antivirus-Status: Clean X-SW-Source: 2016-q2/txt/msg00024.txt.bz2 On 14-Jun-2016 02:33 AM, Carlos O'Donell wrote: > On 06/13/2016 11:27 AM, Suprateeka R Hegde wrote: >> I have an executable with hundreds of function pointers as an array. >> Functions are called using array index which depends on the arguments >> passed to the executable. This executable is short lived and in each >> invocation calls only one function. > > Could you please provide a small code example that shows the exact > problem? Its already there. The examples I have given are also exact problems. The shlib behavior and exe behavior are different. -- Supra