From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123128 invoked by alias); 10 May 2016 17:24:38 -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 123116 invoked by uid 89); 10 May 2016 17:24:38 -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:1449, Stop 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, 10 May 2016 17:24:27 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Refactor Cortex-A8 erratum workaround in preparation From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <8d9d9490142a0cd6edb7cfec820a7c8f28b88395@gdb-build> Date: Tue, 10 May 2016 17:24:00 -0000 X-SW-Source: 2016-q2/txt/msg02486.txt.bz2 *** TEST RESULTS FOR COMMIT 8d9d9490142a0cd6edb7cfec820a7c8f28b88395 *** Author: Thomas Preud'homme Branch: master Commit: 8d9d9490142a0cd6edb7cfec820a7c8f28b88395 Refactor Cortex-A8 erratum workaround in preparation 2016-05-10 Thomas Preud'homme bfd/ * elf32-arm.c (enum elf32_arm_stub_type): Delete arm_stub_a8_veneer_lwm enumerator. (arm_stub_a8_veneer_lwm): New unsigned constant to replace aforementioned enumerator. (struct elf32_arm_stub_hash_entry): Delete target_addend field and add source_value. (struct a8_erratum_fix): Delete addend field and add target_offset. (stub_hash_newfunc): Initialize source_value field amd remove initialization for target_addend. (arm_build_one_stub): Stop special casing Thumb relocations: promote the else to being always executed, moving the arm_stub_a8_veneer_b_cond specific code in it. Remove stub_entry->target_addend from points_to computation. (cortex_a8_erratum_scan): Store in a8_erratum_fix structure the offset to target symbol from start of section rather than the offset from the stub address. (elf32_arm_size_stubs): Set stub_entry's source_value and target_value fields from struct a8_erratum_fix's offset and target_offset respectively. (make_branch_to_a8_stub): Rename target variable to loc. Compute veneered_insn_loc and loc using stub_entry's source_value.