search for: _call_elf

Displaying 5 results from an estimated 5 matches for "_call_elf".

Did you mean: call_elf
2013 Dec 03
0
[klibc:master] ppc64: Add ppc64le support
.../ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S index c976d5c..ed14534 100644 --- a/usr/klibc/arch/ppc64/crt0.S +++ b/usr/klibc/arch/ppc64/crt0.S @@ -9,25 +9,35 @@ # } # - .section ".toc","aw" -.LC0: .tc environ[TC],environ - .text - .align 4 - + .balign 4 + .globl _start +#if _CALL_ELF == 2 + .type _start, at function +_start: +#else .section ".opd","aw" + .balign 8 _start: .quad ._start, .TOC. at tocbase, 0 .previous - .size _start, 24 .type ._start, at function - .globl _start - .globl ._start ._start: - stdu %r1,-32(%r1) - addi %r3,%r1,32 +#...
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
.../ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S index c976d5c..250a84a 100644 --- a/usr/klibc/arch/ppc64/crt0.S +++ b/usr/klibc/arch/ppc64/crt0.S @@ -9,25 +9,35 @@ # } # - .section ".toc","aw" -.LC0: .tc environ[TC],environ - .text - .align 4 - + .balign 4 + .globl _start +#if _CALL_ELF == 2 + .type _start, at function +_start: +#else .section ".opd","aw" + .balign 8 _start: .quad ._start, .TOC. at tocbase, 0 .previous - .size _start, 24 .type ._start, at function - .globl _start - .globl ._start ._start: - stdu %r1,-32(%r1) - addi %r3,%r1,32 +#...
2014 Sep 09
3
[PATCH] ppc64: ELFv2: Load TOC value in system call stub
...ph | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index b3f6e38..a0c6d41 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -18,6 +18,9 @@ sub make_sysstub($$$$$@) { #if _CALL_ELF == 2 .type ${fname},\@function ${fname}: +0: addis 2,12,(.TOC.-0b)\@ha + addi 2,2,(.TOC.-0b)\@l + .localentry ${fname},.-${fname} #else .section ".opd","aw" .balign 8 -- 1.7.1
2016 Jan 06
0
[klibc:master] ppc64: ELFv2: Load TOC value in system call stub
.../arch/ppc64/sysstub.ph | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index b3f6e38..a0c6d41 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -18,6 +18,9 @@ sub make_sysstub($$$$$@) { #if _CALL_ELF == 2 .type ${fname},\@function ${fname}: +0: addis 2,12,(.TOC.-0b)\@ha + addi 2,2,(.TOC.-0b)\@l + .localentry ${fname},.-${fname} #else .section ".opd","aw" .balign 8
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various architectures that we've applied in Debian. Ben. Aurelien Jarno (1): ppc64: fix struct stat Ben Hutchings (2): MIPS: Update archfcntl.h syscalls: Override detection of direct socket syscalls on i386, m68k, s390 Helge Deller (1): Add pread and pwrite 32bit syscall wrappers for parisc Mauricio Faria de Oliveira