Displaying 5 results from an estimated 5 matches for "ldgp".
Did you mean:
ldap
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...sr/klibc/arch/alpha/crt0.S
new file mode 100644
index 0000000..5e2babb
--- /dev/null
+++ b/usr/klibc/arch/alpha/crt0.S
@@ -0,0 +1,22 @@
+#
+# arch/alpha/crt0.S
+#
+
+ .text
+ .type _start, at function
+ .ent _start, 0
+ .globl _start
+_start:
+ .frame $30, 0, $26, 0
+ mov $31, $15
+ br $29, 1f
+1: ldgp $29, 0($29)
+ .prologue 0
+
+ lda $16, 0($30) # ELF data structure
+ lda $17, 0($0) # atexit pointer
+
+ jsr $26, __libc_init
+
+ .size _start,.-_start
+ .end _start
diff --git a/usr/klibc/arch/alpha/divide.c b/usr/klibc/arch/alpha/divide.c
new file mode 100644
index 0000000..c44254f
--- /dev/nul...
2019 Jan 21
0
[klibc:master] alpha: Fix dual1 system call wrapper
...it a/usr/klibc/arch/alpha/sysdual.S b/usr/klibc/arch/alpha/sysdual.S
index 1719e37..03e719d 100644
--- a/usr/klibc/arch/alpha/sysdual.S
+++ b/usr/klibc/arch/alpha/sysdual.S
@@ -18,15 +18,15 @@
__syscall_dual1:
.frame sp,0,ra,0
callsys
- mov v0, a4
beq a3, 1f
br pv, 2f # pv <- pc
2:
ldgp gp, 0(pv)
lda a1, errno
- lda v0, -1(zero)
- stl a3, 0(a1)
+ stl v0, 0(a1)
+ lda a4, -1(zero)
1:
+ mov a4, v0
ret zero,(ra),1
.size __syscall_dual1,.-__syscall_dual1
2005 Dec 17
0
[patch] alpha grab errno from right register after syscall
...hat both patches fixes alpha klibc.
Signed-off-by: maximilian attems <janitor@sternwelten.at>
--- libc-1.1.1.orig/klibc/arch/alpha/syscall.S 2005-09-06 13:49:34.000000000 -0700
+++ klibc-1.1.1/klibc/arch/alpha/syscall.S 2005-12-15 23:42:02.000000000 -0800
@@ -17,8 +17,8 @@
2:
ldgp gp, 0(pv)
lda a1, errno
+ stl v0, 0(a1)
lda v0, -1(zero)
- stl a3, 0(a1)
1:
ret zero,(ra),1
2005 Jun 01
2
[LLVMdev] 64-bit Linux Support
On Wed, 2005-06-01 at 10:04 -0500, Misha Brukman wrote:
> On Wed, Jun 01, 2005 at 10:50:35AM -0400, Bill Wendling wrote:
> > It didn't look like there was a cftonend binary for the IA-64
> > platform. Are we supposed to use the x86 binaries instead?
>
> The answer to that is that we don't have IA-64 in-house, so we don't
> provide an IA-64 C/C++ front-end, but
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: