From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62393 invoked by alias); 28 Jun 2018 13:54:22 -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 62370 invoked by uid 89); 28 Jun 2018 13:54:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1020 X-HELO: mx1.redhat.com Subject: Re: [PATCH 2/2] libc-abis: Define ABSOLUTE ABI [BZ #19818][BZ #23307] To: "Maciej W. Rozycki" Cc: libc-alpha@sourceware.org, Alan Modra References: <87sh5a38tz.fsf@mid.deneb.enyo.de> From: Florian Weimer Message-ID: Date: Thu, 28 Jun 2018 13:54:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-06/txt/msg00894.txt.bz2 On 06/28/2018 03:49 PM, Maciej W. Rozycki wrote: > + /* Mark that we need support for absolute symbols in the dynamic loader. */ > + if (htab != NULL && htab->use_absolute_zero) > + i_ehdrp->e_ident[EI_ABIVERSION] = MIPS_LIBC_ABI_ABSOLUTE; > + > _bfd_elf_post_process_headers (abfd, link_info); > } > > and then `htab->use_absolute_zero' will be TRUE iff a GOT relocation has > been calculated to actually refer to a specially-created absolute symbol > used to address the issue covered by binutils PR ld/21375. > > The flag will be FALSE if code has been relaxed to avoid referring the > GOT (by using immediate zero instead), in which case no absolute symbol > will have been specially created. > > Does this explanation clear your concern? Yes, I think this is okay then. We cannot express this change at the RPM dependency level, but I'm not sure how active the Fedora MIPS port is these days, so it probably does not matter. Thanks, Florian