This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, microblaze]: Adjust exception handler to be weak


From: Nagaraju Mekala <nagaraju.mekala@xilinx.com>

libgloss/ChangeLog

2013-07-23  Nagaraju Mekala <nagaraju.mekala@xilinx.com>

  * microblaze/_exception_handler.S: Adjust to be weak.

Signed-off-by: Nagaraju Mekala <nagaraju.mekala@xilinx.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
---
 libgloss/microblaze/_exception_handler.S |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libgloss/microblaze/_exception_handler.S b/libgloss/microblaze/_exception_handler.S
index 2224c92..59385ad 100644
--- a/libgloss/microblaze/_exception_handler.S
+++ b/libgloss/microblaze/_exception_handler.S
@@ -30,9 +30,11 @@
 */
 
 	.text
-	.globl _exception_handler    # Exception Handler Label 
 	.align 2
+	.weakext _exception_handler
+	.ent _exception_handler
+	.type _exception_handler, @function
 	
 	_exception_handler:
-	rtsd    r17, 0
-	nop
+	addi r11,r11,8
+	bra r11
-- 
1.7.9.5



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]