summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: