From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56414 invoked by alias); 22 Feb 2016 18:17:56 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 56392 invoked by uid 89); 22 Feb 2016 18:17:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,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: mx2.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Date: Fri, 01 Jan 2016 00:00:00 -0000 From: Michael Matz To: "H.J. Lu" cc: gnu-gabi@sourceware.org Subject: Re: Specify how undefined weak symbol should be resolved in executable In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2016-q1/txt/msg00009.txt.bz2 Hi, On Mon, 22 Feb 2016, H.J. Lu wrote: > > Typo? What is the meaning of "dynamic relocation available at > > runtime". Are you talking about a relocation entry or the relocation > > process? > > Dynamic relocation isn't available with static linking. So you _are_ talking about the process. I think it's customary to call such executables "dynamic", or perhaps non-static, isn't it? (Why I'm confused with your wording: a dynamic executable which happens to have no dynamic reloc entries, has "no dynamic relocation available at runtime", and so we couldn't add one :)) > > How about "When creating a dynamic executable the link editor should > > ..."? So, I still can understand my version better (possibly with s/dynamic/non-static/) :) > >> the link editor should generate dynamic relocations against > >> unresolved weak symbols so that their values will be resolved at > >> run-time. Ciao, Michael.