From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34297 invoked by alias); 15 Mar 2016 19:01:14 -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 34280 invoked by uid 89); 15 Mar 2016 19:01:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=PIE, pr19827b.s, pr19827.rd, pr19827bS 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 (AES128-SHA encrypted) ESMTPS; Tue, 15 Mar 2016 19:01:12 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Bind defined symbol locally in PIE From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <4e0c91e45402ebf4215066e4a61143896e831049@gdb-build> Date: Tue, 15 Mar 2016 19:01:00 -0000 X-SW-Source: 2016-q1/txt/msg09079.txt.bz2 *** TEST RESULTS FOR COMMIT 4e0c91e45402ebf4215066e4a61143896e831049 *** Author: H.J. Lu Branch: master Commit: 4e0c91e45402ebf4215066e4a61143896e831049 Bind defined symbol locally in PIE Symbols defined in PIE should be bound locally, the same as -shared -Bsymbolic. bfd/ PR ld/19827 * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol locally in PIE. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. (elf_x86_64_relocate_section): Likewise. ld/ PR ld/19827 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr19827.rd: New file. * testsuite/ld-i386/pr19827a.S: Likewise. * testsuite/ld-i386/pr19827b.S: Likewise. * testsuite/ld-x86-64/pr19827.rd: Likewise. * testsuite/ld-x86-64/pr19827a.S: Likewise. * testsuite/ld-x86-64/pr19827b.S: Likewise.