summaryrefslogtreecommitdiffstats
path: root/libgloss
diff options
context:
space:
mode:
authorBen Levinsky <ben.levinsky@xilinx.com>2018-04-27 09:05:54 -0700
committerJeff Johnston <jjohnstn@redhat.com>2018-05-03 15:16:13 -0400
commit28627a5a032e65712343bd2a37e67382e28fad7f (patch)
tree0203f0325c3e7a2712a91d36005f23e3234cea9f /libgloss
parent67609efeb0bcb198463a952a6a214813794a9c2b (diff)
downloadcygnal-28627a5a032e65712343bd2a37e67382e28fad7f.tar.gz
cygnal-28627a5a032e65712343bd2a37e67382e28fad7f.tar.bz2
cygnal-28627a5a032e65712343bd2a37e67382e28fad7f.zip
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>
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/microblaze/_hw_exception_handler.S3
-rw-r--r--libgloss/microblaze/_interrupt_handler.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/libgloss/microblaze/_hw_exception_handler.S b/libgloss/microblaze/_hw_exception_handler.S
index bb729ca33..47df945c4 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 844c7d01b..5bb7329cc 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: