sys-elf64ppc.S updated to support PowerPC ABI V2
and create a soft link as sys-elf64lppc.S
---
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
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel