search for: gorr

Displaying 11 results from an estimated 11 matches for "gorr".

Did you mean: corr
2018 May 21
4
ARM64, dropping ADRP instructions, and ld.lld
Hello, I am working in an embedded environment with somewhat restrictive memory requirements where the page alignment requirements of an ADRP instruction cannot be guaranteed. With the ld program inside of the Xcode, there is a -preload flag which causes ADRP instructions to be dropped, and generates code that is 100% position independent. As near as I can determine, ld.lld does not have this
2018 May 21
0
ARM64, dropping ADRP instructions, and ld.lld
Thank you for providing the explanation for how ADRP works...something I should have done myself. With this explanation in hand, one other alternative I was looking at was using a linkerscript to essentially rebase the code and have ADRP instructions that would address the correct location as a result. However, I am not a linkerscript expert, so I am not sure if such a thing is even possible or
2018 May 21
0
ARM64, dropping ADRP instructions, and ld.lld
Hi Eric, On 21 May 2018 at 13:31, Eric Gorr via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I am working in an embedded environment with somewhat restrictive memory > requirements where the page alignment requirements of an ADRP instruction > cannot be guaranteed. It sounds like you're relying on the linker optimizatio...
2018 May 21
1
ARM64, dropping ADRP instructions, and ld.lld
...hing like: .text ALIGN(0x1000) : { *(.text) } .my_next_section ALIGN (0x1000) : { *(my_next_section) } Bothe .text and .my_next_section would start at 4k boundaries. Link to docs: https://sourceware.org/binutils/docs/ld/Builtin-Functions.html#Builtin-Functions Peter On 21 May 2018 at 14:23, Eric Gorr via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Thank you for providing the explanation for how ADRP works...something I > should have done myself. > > With this explanation in hand, one other alternative I was looking at was > using a linkerscript to essentially rebase the...
2018 May 21
5
ARM64, dropping ADRP instructions, and ld.lld
On 21 May 2018 at 13:57, Bruce Hoult via llvm-dev <llvm-dev at lists.llvm.org> wrote: > "ADRL produces position-independent code, because the address is calculated > relative to PC." > > From this, I'd expect ADRP to simply do Xd <- PC + n*4096, where n is a 20 > bit number, just like AUIPC in RISC-V (also a 20 literal multiplied by 4096) > or AUIPC in MIPS
2018 May 16
2
Compile error while building LLDB
...ent away after a clean install even though my configuration is exactly the same. I'll let you know once I know more. On Wed, May 16, 2018 at 5:28 PM Davide Italiano <davide at freebsd.org> wrote: > + Jonas who hit the same bug recently. > > On Wed, May 16, 2018 at 8:01 AM, Eric Gorr via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I was just trying to build lldb-6.0 from source (and had previously > > successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but > > received a compile error while using both just cmake and cmake+ninja &g...
2018 May 16
0
Compile error while building LLDB
+ Jonas who hit the same bug recently. On Wed, May 16, 2018 at 8:01 AM, Eric Gorr via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I was just trying to build lldb-6.0 from source (and had previously > successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but > received a compile error while using both just cmake and cmake+ninja > > Does this lo...
2018 May 26
0
Compile error while building LLDB
...though my configuration is exactly the same. > I'll let you know once I know more. > > On Wed, May 16, 2018 at 5:28 PM Davide Italiano <davide at freebsd.org> > wrote: > >> + Jonas who hit the same bug recently. >> >> On Wed, May 16, 2018 at 8:01 AM, Eric Gorr via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> > I was just trying to build lldb-6.0 from source (and had previously >> > successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but >> > received a compile error while using both just cmake an...
2018 May 16
2
Compile error while building LLDB
I was just trying to build lldb-6.0 from source (and had previously successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but received a compile error while using both just cmake and cmake+ninja Does this look familiar to anyone? In file included from llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89: In file included from
2018 May 21
0
ARM64, dropping ADRP instructions, and ld.lld
...offset from the current PC< accurate to the byte, anywhere in a +/- 2 GB range. The actual alignment of the PC is irrelevant. It's not like the ADRP or AUIPC sets the low 12 bits to zero or something. It leaves them alone (as it finds them in the PC). On Tue, May 22, 2018 at 12:31 AM, Eric Gorr via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hello, > > I am working in an embedded environment with somewhat restrictive memory > requirements where the page alignment requirements of an ADRP instruction > cannot be guaranteed. > > With the ld program inside of t...
2018 May 21
2
ARM64, dropping ADRP instructions, and ld.lld
...ports -mcmodel=tiny. How long it would take to implementing it in LLVM would depend on how familiar you are with LLVM and how much you know of the specification of -mcmodel=tiny; on the assumption you aren't that familiar I'd guess at an order of weeks. Peter On 21 May 2018 at 14:23, Eric Gorr via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Thank you for providing the explanation for how ADRP works...something I > should have done myself. > > With this explanation in hand, one other alternative I was looking at was > using a linkerscript to essentially rebase the...