Commit 6b8149a1 by Michael Meissner

Make libgcc2 build under AIX3.2.5

From-SVN: r11171
parent 3a2c1cd8
...@@ -3126,7 +3126,7 @@ __unwind_function(void *ptr) ...@@ -3126,7 +3126,7 @@ __unwind_function(void *ptr)
asm("movl %ecx,0(%esp)"); asm("movl %ecx,0(%esp)");
asm("ret"); asm("ret");
} }
#elif #machine(rs6000) #elif #machine(rs6000) && !defined _ARCH_PPC
__unwind_function(void *ptr) __unwind_function(void *ptr)
{ {
asm("mr 31,1"); asm("mr 31,1");
...@@ -3142,7 +3142,7 @@ __unwind_function(void *ptr) ...@@ -3142,7 +3142,7 @@ __unwind_function(void *ptr)
asm("# br"); asm("# br");
asm("mtctr 3;bctr # b 3"); asm("mtctr 3;bctr # b 3");
} }
#elif #machine(powerpc) #elif (#machine(rs6000) || #machine(powerpc)) && defined _ARCH_PPC
__unwind_function(void *ptr) __unwind_function(void *ptr)
{ {
asm("mr 31,1"); asm("mr 31,1");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment