From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70263 invoked by alias); 9 Nov 2016 11:56:39 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 70246 invoked by uid 89); 9 Nov 2016 11:56:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Subject: Re: Pending fixes for all-ABIs builds To: Andreas Schwab References: <35e9c513-c873-3d7e-38e4-6aa14e9ef245@redhat.com> Cc: Joseph Myers , libc-alpha@sourceware.org From: Florian Weimer Message-ID: Date: Wed, 09 Nov 2016 11:56:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00323.txt.bz2 On 11/09/2016 10:01 AM, Andreas Schwab wrote: > On Nov 09 2016, Florian Weimer wrote: > >> Does this mean the dynamic linker starts with it's GOT pointer as NULL, >> initializes that to point it to the malloc in elf/dl-minimal.c, and then, >> once libc.so.6 is relocated updates its GOT pointer to point to the malloc >> in libc.so.6? > > ld.so re-relocates itself after all static dependencies have been loaded > and relocated. And even at this point, the code is used for future dynamic linking operations? Thanks, Florian