Displaying 20 results from an estimated 700 matches similar to: "Linking Linux kernel with LLD"
2017 Jan 20
2
Linking Linux kernel with LLD
On Fri, Jan 20, 2017 at 12:44 PM, Sean Silva <chisophugis at gmail.com> wrote:
>
>
> On Fri, Jan 20, 2017 at 8:35 AM, George Rimar via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi Dmitry,
>>
>> thanls for sharing. Few comments/questions below:
>>
>> >Here is the list of modifications I had to do in order to link the
>>
2017 Jan 24
3
Linking Linux kernel with LLD
>>> - D28094 (Implemented support for R_386_PC8/R_386_8 relocations)
>> Do you remember where it was used ?
>
>setup.elf:
> ld.lld -m elf_i386 -T arch/x86/boot/setup.ld arch/x86/boot/a20.o arch/x86/boot/bioscall.o arch/x86/boot/cmdline.o arch/x86/boot/copy.o arch/x86/boot/cpu.o >arch/x86/boot/cpuflags.o arch/x86/boot/cpucheck.o arch/x86/boot/early_serial_console.o
2013 Oct 20
2
[LLVMdev] A new builtin: __builtin_stack_pointer()
On 10/10/13 22:01, Jakob Stoklund Olesen wrote:
> On Oct 10, 2013, at 12:32 PM, Behan Webster <behanw at converseincode.com> wrote:
>
>> One of the issues the LLVMLinux project is having is with the use of
>> named registers in the Linux kernel code. The kernel uses something like
>> this in order to assign a C variable name to a register (one for each
>> kernel
2012 Sep 07
2
[LLVMdev] The LLVMLinux Project
I'd like to announce the LLVMLinux project. This project aims to fully
build the Linux kernel using Clang/LLVM on the various architectures
supported by the Linux kernel. The project consolidates the work of the
lll-project, the PAX team, and Mark Charlebois' work on the ARM kernel.
http://llvm.linuxfoundation.org <http://llvm.linuxfoundation.org/>
The hope is that this project
2013 Nov 05
0
[LLVMdev] A new builtin: __builtin_stack_pointer()
On 20/10/2013 16:22, Behan Webster wrote:
> On 10/10/13 22:01, Jakob Stoklund Olesen wrote:
>> On Oct 10, 2013, at 12:32 PM, Behan Webster <behanw at converseincode.com> wrote:
>>
>>> One of the issues the LLVMLinux project is having is with the use of
>>> named registers in the Linux kernel code. The kernel uses something like
>>> this in order to
2013 Oct 10
0
[LLVMdev] A new builtin: __builtin_stack_pointer()
On Oct 10, 2013, at 12:32 PM, Behan Webster <behanw at converseincode.com> wrote:
> One of the issues the LLVMLinux project is having is with the use of
> named registers in the Linux kernel code. The kernel uses something like
> this in order to assign a C variable name to a register (one for each
> kernel arch).
>
> register unsigned long current_stack_pointer
2013 Oct 10
3
[LLVMdev] A new builtin: __builtin_stack_pointer()
One of the issues the LLVMLinux project is having is with the use of
named registers in the Linux kernel code. The kernel uses something like
this in order to assign a C variable name to a register (one for each
kernel arch).
register unsigned long current_stack_pointer asm("esp");
clang doesn't allow this kind of thing which required a patch which less
efficient:
#define
2015 Mar 04
2
[LLVMdev] Mips patches for LLVM 3.5.2
Hi Tom,
I've got a few patches that I'd like to get into 3.5.2 if I can.
* r230235 - [mips] Honour -mno-odd-spreg for vector insert/extract when MSA is enabled.
o Fixes a failure in the test-suite when -mno-odd-spreg and -mmsa are used together.
* r227089 - [mips] Enable arithmetic and binary operations for the i128 data type.
o This fixes an instruction selection
2017 Feb 17
3
Linking Linux kernel with LLD
>>That boot_params.hdr.code32_start field is probably either invalid (bad reloc or something else causing the bootloader to >>calculate the wrong address) or valid but the thing it thinks it is pointing to wasn't loaded (missing PT_LOAD etc.).
>boot_params.hdr.code32_start field is valid :) It is 0x100000, like expected
>
>Then I suspect that that segment isn't being
2016 Jan 05
2
Whole program LLVM bitcode files
Hi all,
I'm trying to generate whole program bitcode files for linux kernel
and do interprocedural
analysis on kernel.
I use llvmlinux to compile kernel with clang and generate a bunch of
bitcode files successfully.
I need to link all these bitcode files together into a single bitcode file,
so that I can run whole program analysis.
Can I use llvm-link to achieve this?
Or should I use
2013 Jul 17
3
[LLVMdev] regarding compiling clang for different platform
Hi,
I am new to LLVM
I want to use llvm and clang on Android, I have downloaded android
toolchain and did the configure for llvm using the following commad
./configure --build=arm-linux-androideabi --host=arm-linux-androideabi
--target=arm-linux-androideabi --with-float=hard --with-fpu=neon
--enable-targets=arm --enable-optimized --enable-assertions
and was getting the error
"checking
2003 Nov 15
2
Internal server error - cannot align media streams - help needed
Hi,
I configured asterisk on redhat linux 9 box. I installed two different
ip softphones (SJPHONE and X-PRO) and got them registered with asterisk.
The call from one phone to another does get routed via asterisk, but
there is one problem coming up. As soon as call is accepted by the end
user , it is automatically disconnected with the error "cannot align
media streams". If I enable SIP
2017 Jan 28
5
Linking Linux kernel with LLD
On Fri, Jan 27, 2017 at 1:31 PM, Rui Ueyama <ruiu at google.com> wrote:
> Sean,
>
> So as you noticed that linker script tokenization rule is not very trivial
> -- it is context sensitive. The current lexer is extremely simple and
> almost always works well. Improving "almost always" to "perfect" is not
> high priority because we have many more high
2016 Jun 27
0
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Mon, Jun 27, 2016 at 9:39 AM, Hahnfeld, Jonas
<Hahnfeld at itc.rwth-aachen.de> wrote:
> Please have a look at the dedicated mailing list:
> http://lists.llvm.org/pipermail/llvm-branch-commits/
>
OK, I clicked the offline version of that ML on the main-page of
<llvm.org>, so I knew of it.
Anyway, I think most people use Git these days.
> Please wait for the official
2013 Nov 05
2
[LLVMdev] A new builtin: __builtin_stack_pointer()
11.10.2013, 01:39, "Jakob Stoklund Olesen" <stoklund at 2pi.dk>:
> On Oct 10, 2013, at 12:32 PM, Behan Webster <behanw at converseincode.com> wrote:
>
>> One of the issues the LLVMLinux project is having is with the use of
>> named registers in the Linux kernel code. The kernel uses something like
>> this in order to assign a C variable name to a
2013 Jul 18
0
[LLVMdev] regarding compiling clang for different platform
Hi Venkata,
> ./configure --build=arm-linux-androideabi --host=arm-linux-androideabi
> --target=arm-linux-androideabi --with-float=hard --with-fpu=neon
> --enable-targets=arm --enable-optimized --enable-assertions
Renato's suggestion is a good one, but I suspect the immediate problem
here is that this configure line is for building *on* an ARM board.
You're probably executing
2009 Feb 05
1
Source RPM compile error
Hi, all.
I have several boxes with CentOS versions 3.x, 4.x, and 5.x running in my
shop, with Samba loaded on many. I've been able to stay on the current
version of Samba in CentOS 4.x and 5.x using the source RPM from Sernet.
However, I'm not able to upgrade Samba on the CentOS 3.x boxes. Here's the
error I get when I run "rpmbuild --rebuild --clean
2013 Nov 05
2
[LLVMdev] A new builtin: __builtin_stack_pointer()
Le 5 nov. 2013 à 19:00, Behan Webster <behanw at converseincode.com> a écrit :
> On 11/05/13 09:26, Konstantin Tokarev wrote:
>>
>> 11.10.2013, 01:39, "Jakob Stoklund Olesen" <stoklund at 2pi.dk>:
>>> On Oct 10, 2013, at 12:32 PM, Behan Webster <behanw at converseincode.com> wrote:
>>>
>>>> One of the issues the LLVMLinux
2013 Mar 30
2
[LLVMdev] SolusOS 2 + Clang
Hello, my name is Ikey Doherty.
I am the founder of the SolusOS Linux Distribution.
With SolusOS 2 we have decided to create our own base from scratch,
using the PiSi package manager.
After many repository revisions, it soon become apparant that GCC (4.7.2
in this instance) is dog-slow.
Out of pure curiosity I attempted to rebuild packages using Clang.
Clang had been pulled in as a dependency
2016 Feb 08
2
[LLVM v3.8-rc2] New (tar)balls, please?
On Sat, Feb 6, 2016 at 12:34 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Sat, Feb 6, 2016 at 1:55 AM, Hans Wennborg <hans at chromium.org> wrote:
>> On Fri, Feb 5, 2016 at 8:43 AM, Hans Wennborg <hans at chromium.org> wrote:
>>> On Fri, Feb 5, 2016 at 12:48 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>>>> sorry, but I cannot