From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33633 invoked by alias); 5 Nov 2017 02:35:26 -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 33579 invoked by uid 89); 5 Nov 2017 02:35:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:848 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (158.69.185.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 05 Nov 2017 02:35:21 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] PowerPC readonly_dynrelocs From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <98bbb1b86180324b278842d8d73c79cb5d76d349@gdb-build> Date: Sun, 05 Nov 2017 02:35:00 -0000 X-SW-Source: 2017-q4/txt/msg03770.txt.bz2 *** TEST RESULTS FOR COMMIT 98bbb1b86180324b278842d8d73c79cb5d76d349 *** Author: Alan Modra Branch: master Commit: 98bbb1b86180324b278842d8d73c79cb5d76d349 PowerPC readonly_dynrelocs PowerPC64 lacked the mapfile textrel warning on finding dynamic relocs in read-only sections. This patch adds it, and tidies the readonly_dynrelocs interface. PowerPC doesn't need a SEC_ALLOC test because !SEC_ALLOC sections are excluded by check_relocs so will never have dyn_relocs. * elf32-ppc.c (readonly_dynrelocs): Delete info param. Update all callers. Don't bother with SEC_ALLOC test. Return section pointer. Move minfo call to.. (maybe_set_textrel): ..here. * elf64-ppc.c (readonly_dynrelocs): Return section pointer. (maybe_set_textrel): Call minfo to print textrel warning to map file.