From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18238 invoked by alias); 3 May 2018 19:16:45 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 18016 invoked by uid 447); 3 May 2018 19:16:45 -0000 Date: Thu, 03 May 2018 19:16:00 -0000 Message-ID: <20180503191645.18008.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libgloss: microblaze: adjust handlers to be weak. X-Act-Checkin: newlib-cygwin X-Git-Author: Ben Levinsky X-Git-Refname: refs/heads/master X-Git-Oldrev: 67609efeb0bcb198463a952a6a214813794a9c2b X-Git-Newrev: 28627a5a032e65712343bd2a37e67382e28fad7f X-SW-Source: 2018-q2/txt/msg00002.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=28627a5a032e65712343bd2a37e67382e28fad7f commit 28627a5a032e65712343bd2a37e67382e28fad7f Author: Ben Levinsky Date: Fri Apr 27 09:05:54 2018 -0700 libgloss: microblaze: adjust handlers to be weak. Previously, hw exception handler stub and interrupt handler stub for microbaze were unable to be overwritten. Change to weak to fix this. Signed-off-by: Ben Levinsky Diff: --- libgloss/microblaze/_hw_exception_handler.S | 3 ++- libgloss/microblaze/_interrupt_handler.S | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libgloss/microblaze/_hw_exception_handler.S b/libgloss/microblaze/_hw_exception_handler.S index bb729ca..47df945 100644 --- a/libgloss/microblaze/_hw_exception_handler.S +++ b/libgloss/microblaze/_hw_exception_handler.S @@ -30,7 +30,8 @@ */ .text - .globl _hw_exception_handler # HW Exception Handler Label + .weakext _hw_exception_handler # HW Exception Handler Label + .type _hw_exception_handler, %function .align 2 _hw_exception_handler: diff --git a/libgloss/microblaze/_interrupt_handler.S b/libgloss/microblaze/_interrupt_handler.S index 844c7d0..5bb7329 100644 --- a/libgloss/microblaze/_interrupt_handler.S +++ b/libgloss/microblaze/_interrupt_handler.S @@ -30,7 +30,8 @@ */ .text - .globl _interrupt_handler # Interrupt Handler Label + .weakext _interrupt_handler # Interrupt Handler Label + .type _interrupt_handler, %function .align 2 _interrupt_handler: