sys-elf64ppc.S updated to support PowerPC ABI V2
and create a soft link as sys-elf64lppc.S

Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 sys-elf64lppc.S |    1 +
 sys-elf64ppc.S  |    7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 120000 sys-elf64lppc.S

diff --git a/sys-elf64lppc.S b/sys-elf64lppc.S
new file mode 120000
index 0000000..5502d27
--- /dev/null
+++ b/sys-elf64lppc.S
@@ -0,0 +1 @@
+sys-elf64ppc.S
\ No newline at end of file
diff --git a/sys-elf64ppc.S b/sys-elf64ppc.S
index 1b63ff0..d50f4a6 100644
--- a/sys-elf64ppc.S
+++ b/sys-elf64ppc.S
@@ -20,7 +20,7 @@
  */
 
        .text
-
+#if _CALL_ELF != 2
        .align  2
        .globl  direct_syscall
        .globl  .direct_syscall
@@ -32,6 +32,11 @@ direct_syscall:
        .previous
        .type   .direct_syscall,@function
 .direct_syscall:
+#else
+       .globl  direct_syscall
+       .type   direct_syscall,@function
+direct_syscall:
+#endif
        mr      0,3
        mr      3,4
        mr      4,5
-- 
1.7.9.5


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to