search for: b3f6e38

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

2014 Sep 09
3
[PATCH] ppc64: ELFv2: Load TOC value in system call stub
.../libc-alpha/2013-11/msg00315.html Signed-off-by: Mauricio Faria de Oliveira <mauricfo at linux.vnet.ibm.com> --- usr/klibc/arch/ppc64/sysstub.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 .sect...
2016 Jan 06
0
[klibc:master] ppc64: ELFv2: Load TOC value in system call stub
...t.ibm.com> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/klibc/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 .sect...
2013 Dec 03
0
[klibc:master] ppc64: Add ppc64le support
...tcr %r12 /* restore CR */ mr %r3,%r4 /* get return value */ blr /* return */ - - .size .longjmp,.-.longjmp +#if _CALL_ELF == 2 + .size longjmp,.-longjmp +#else + .size longjmp,.-.longjmp +#endif diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index 9ee9370..b3f6e38 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -9,22 +9,35 @@ sub make_sysstub($$$$$@) { my($outputdir, $fname, $type, $sname, $stype, @args) = @_; open(OUT, '>', "${outputdir}/${fname}.S"); - print OUT "#include <as...
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
...tcr %r12 /* restore CR */ mr %r3,%r4 /* get return value */ blr /* return */ - - .size .longjmp,.-.longjmp +#if _CALL_ELF == 2 + .size longjmp,.-longjmp +#else + .size longjmp,.-.longjmp +#endif diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index 9ee9370..b3f6e38 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -9,22 +9,35 @@ sub make_sysstub($$$$$@) { my($outputdir, $fname, $type, $sname, $stype, @args) = @_; open(OUT, '>', "${outputdir}/${fname}.S"); - print OUT "#include <as...
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