Re: is there a proposed value for RISC-V in elf-em.h ?
On Tue, May 08, 2018 at 08:15:28PM +0200, Adam Borowski wrote:
> On Mon, May 07, 2018 at 09:47:41AM -0400, Dennis Clarke wrote:
> >
> > Just curious if there is a proposed value for RISC-V inside the ELF header ?
> >
> > https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf-em.h
>
> arch/riscv/include/asm/elf.h:#define EM_RISCV 0xF3
>
> I guess someone should move that define to elf-em.h so it's together with
> the rest. I don't know how to build and test a riscv kernel (been using
> qemu-user), though, so I'm not submitting this one myself. Probably just
> a matter of "ARCH=riscv make defconfig", ..., but ...
https://wiki.debian.org/RISC-V#Setting_up_a_riscv64_virtual_machine
has some information on building kernel+bbl and setting up qemu-system
for riscv64.
HTH,
Karsten
--
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.
Reply to: