search for: r_386_pc8

Displaying 4 results from an estimated 4 matches for "r_386_pc8".

Did you mean: r_386_pc32
2017 Jan 20
4
Linking Linux kernel with LLD
Hi Dmitry, thanls for sharing. Few comments/questions below: >Here is the list of modifications I had to do in order to link the kernel (I have used llvmlinux with clang and mainline with gcc, the >results are similar): > >1. LLD patches: > - D28094 (Implemented support for R_386_PC8/R_386_8 relocations) Do you remember where it was used ? >5. In arch/x86/kernel/vmlinux.lds.S commented out the "CONSTRUCTORS", because LLD doesn't support it. It is https://reviews.llvm.org/D28951. CONSTRUCTORS can be just removed, they do nothing for ELF. >6. In arch/x86/b...
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/cpuch...
2017 Jan 20
2
Linking Linux kernel with LLD
...below: >> >> >Here is the list of modifications I had to do in order to link the >> kernel (I have used llvmlinux with clang and mainline with gcc, the >> >results are similar): >> > >> >1. LLD patches: >> > - D28094 (Implemented support for R_386_PC8/R_386_8 relocations) >> >> Do you remember where it was used ? >> >> >5. In arch/x86/kernel/vmlinux.lds.S commented out the "CONSTRUCTORS", >> because LLD doesn't support it. >> >> It is https://reviews.llvm.org/D28951. CONSTRUCTORS can be...
2017 Feb 09
4
Linking Linux kernel with LLD
>That address seems to come from >here: https://github.com/torvalds/linux/blob/5924bbecd0267d87c24110cbe2041b5075173a25/arch/x86/boot/pm.c#L124 > >``` >protected_mode_jump(boot_params.hdr.code32_start, > (u32)&boot_params + (ds() << 4)); >``` > >That boot_params.hdr.code32_start field is probably either invalid (bad reloc or something else causing the