Displaying 4 results from an estimated 4 matches for "0b2dd32".
2013 Nov 12
0
[klibc:master] arm64: Add arm64 support
...ally loaded at 4MB. Place klibc.so
+# a little before that at 2MB to prevent overlap.
+KLIBCSHAREDFLAGS = -Ttext 0x0200000
diff --git a/usr/klibc/arch/arm/crt0.S b/usr/klibc/arch/arm64/crt0.S
similarity index 62%
copy from usr/klibc/arch/arm/crt0.S
copy to usr/klibc/arch/arm64/crt0.S
index 1e81f8e..0b2dd32 100644
--- a/usr/klibc/arch/arm/crt0.S
+++ b/usr/klibc/arch/arm64/crt0.S
@@ -1,5 +1,5 @@
#
-# arch/arm/crt0.S
+# arch/arm64/crt0.S
#
# void _start(void)
# {
@@ -8,16 +8,12 @@
#
.text
- .balign 4
+ .balign 8
.type _start,#function
.globl _start
-#ifdef __thumb__
- .thumb_func
-#endif...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...e memory models for this architecture
+
+# On arm64, binaries are normally loaded at 4MB. Place klibc.so
+# a little before that at 2MB to prevent overlap.
+KLIBCSHAREDFLAGS = -Ttext 0x0200000
diff --git a/usr/klibc/arch/arm64/crt0.S b/usr/klibc/arch/arm64/crt0.S
new file mode 100644
index 0000000..0b2dd32
--- /dev/null
+++ b/usr/klibc/arch/arm64/crt0.S
@@ -0,0 +1,19 @@
+#
+# arch/arm64/crt0.S
+#
+# void _start(void)
+# {
+# __libc_init(elf_structure, atexit_ptr);
+# }
+#
+
+ .text
+ .balign 8
+ .type _start,#function
+ .globl _start
+
+_start:
+ mov x0, sp
+ mov x1, #0
+ bl __libc_init
+ .size _s...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello,
Here is V2 of the arm64 support for klibc patch set.
Notable changes since the original series:
* fp regs dropped from setjmp/longjmp
* chmod, lstat and stat re-implemented with *at functions.
* open64 merged into open.
As with the original, this series is to be applied against the latest
klibc, just after
25a66fa README.klibc: update build information
V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello,
This series introduces arm64 support to klibc.
I've rebased the work from Neil Williams and Anil Singhar into the
following three patches. Most of the code changes are due to new
syscall implementations being needed for arm64 as a only a minimal set
of syscalls are defined in the arm64 kernel.
This series is to be applied against the latest klibc, just after
25a66fa README.klibc: