From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57096 invoked by alias); 22 Aug 2016 01:46:29 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 57070 invoked by uid 89); 22 Aug 2016 01:46:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Aug 2016 01:46:18 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Error on unsupported PowerPC ifuncs From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <888a7fc3665a67e20da1bce2f865b0ff9ef15842@gdb-build> Date: Mon, 22 Aug 2016 20:15:00 -0000 X-SW-Source: 2016-q3/txt/msg02880.txt.bz2 *** TEST RESULTS FOR COMMIT 888a7fc3665a67e20da1bce2f865b0ff9ef15842 *** Author: Alan Modra Branch: master Commit: 888a7fc3665a67e20da1bce2f865b0ff9ef15842 Error on unsupported PowerPC ifuncs The pr19784 tests fail on ppc32 due to a gcc bug. The failure should be noticed when building both libpr19784a.so and libpr19784b.so, rather than ld building a buggy libpr19784a.so that fails at run time. This patch fixes that by moving the @local ifunc check out of check_relocs, where a call destination may not yet be known to be ifunc. The patch also adds a related error for -mbss-plt code. * elf32-ppc.c (ppc_elf_check_relocs): Move error for @local ifunc.. (ppc_elf_relocate_section): ..to here. Comment. Error on detecting -mbss-plt -fPIC local ifuncs too. (ppc_elf_size_dynamic_sections): Comment on unnecessary glink branch table entries.