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 <ben.levinsky@xilinx.com>
This commit is contained in:
Ben Levinsky 2018-04-27 09:05:54 -07:00 committed by Jeff Johnston
parent 67609efeb0
commit 28627a5a03
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,8 @@
*/ */
.text .text
.globl _hw_exception_handler # HW Exception Handler Label .weakext _hw_exception_handler # HW Exception Handler Label
.type _hw_exception_handler, %function
.align 2 .align 2
_hw_exception_handler: _hw_exception_handler:

View File

@ -30,7 +30,8 @@
*/ */
.text .text
.globl _interrupt_handler # Interrupt Handler Label .weakext _interrupt_handler # Interrupt Handler Label
.type _interrupt_handler, %function
.align 2 .align 2
_interrupt_handler: _interrupt_handler: