Displaying 7 results from an estimated 7 matches similar to: "[klibc:master] ppc64: build with -mcmodel=small"
2013 Dec 03
0
[PATCH 2/2] ppc64: build with -mcmodel=small
If available, use -mcmodel=small. klibc is small enough that we
should never hit the limits of the small memory model.
This produces better code, for example:
000000000f003890 <.strcasecmp>:
f003890: 3c a2 ff fe addis r5,r2,-2
...
f003898: 38 c5 23 58 addi r6,r5,9048
...
f0038ac: 7d 46 50 ae lbzx r10,r6,r10
vs:
000000000f0037c4 <.strcasecmp>:
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
Add PowerPC 64bit little endian support.
Signed-off-by: Anton Blanchard <anton at samba.org>
---
Makefile | 7 +++++--
usr/klibc/arch/ppc64/MCONFIG | 4 ++--
usr/klibc/arch/ppc64/crt0.S | 34 ++++++++++++++++++++-----------
usr/klibc/arch/ppc64/setjmp.S | 40 ++++++++++++++++++++++++++----------
usr/klibc/arch/ppc64/sysstub.ph | 45
2009 Jun 07
1
[LLVMdev] Memory models support (-mcmodel=large)
Hello all,
I'm developing a hobby kernel for x86-64 machines,
and I put the kernel into the higher half.
I'm trying to switch from GCC to LLVM/Clang, but it seems
that the latter doesn't support the -mcmodel=large
option, which is required in order to put the kernel
at the 0xFFFF800000000000 address in virtual memory,
as specified in my linker script:
http://pastebin.com/f2f9e0112
2016 Oct 28
0
PIC and mcmodel=large on x86 doesn't use any relocations
>
> Message: 3
> Date: Thu, 27 Oct 2016 17:12:53 -0400
> From: John Reagan via llvm-dev <llvm-dev at lists.llvm.org>
> To: <llvm-dev at lists.llvm.org>, <llvm-dev-request at lists.llvm.org>
> Subject: Re: [llvm-dev] PIC and mcmodel=large on x86 doesn't use any
> relocations
> Message-ID: <00cf01d23096$e1e14430$a5a3cc90$@net>
> Content-Type:
2016 Oct 27
1
PIC and mcmodel=large on x86 doesn't use any relocations
> Message: 4
> Date: Thu, 27 Oct 2016 22:04:28 +0200
> From: Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org>
> To: llvm-dev at lists.llvm.org
> Subject: Re: [llvm-dev] PIC and mcmodel=large on x86 doesn't use any
> relocations
> Message-ID: <20161027200428.GA2177 at britannica.bec.de>
> Content-Type: text/plain; charset=us-ascii
>
> On
2016 Oct 27
1
PIC and mcmodel=large on x86 doesn't use any relocations
We're at the point in our port of OpenVMS to x86 using LLVM to make choices
on mcmodel. Given OpenVMS's history, our linker will allocate static data
(ie, .data, .bss, .plt, GOT, etc.) in the bottom 32-bits of address space
(ie, 00000000.xxxxxxxx). However, we support code anywhere in the 64-bit
address space as PIC code (we do this on Itanium today using our own
code-generator and
2016 Oct 31
1
PIC and mcmodel=large on x86 doesn't use any relocations
>
> Message: 2
> Date: Sat, 29 Oct 2016 22:36:41 +0200
> From: Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org>
> To: llvm-dev at lists.llvm.org
> Subject: Re: [llvm-dev] PIC and mcmodel=large on x86 doesn't use any
> relocations
> Message-ID: <20161029203641.GB20270 at britannica.bec.de>
> Content-Type: text/plain; charset=us-ascii
>