bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary


From: bztemail at gmail dot com
Subject: [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary
Date: Mon, 18 Jan 2021 16:08:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27200

--- Comment #2 from bzt <bztemail at gmail dot com> ---
No assembler used in this project.

FYI, this works with x86_64 and aarch64 only risv64 affected. I also have C++,
Pascal, Rust versions of kernel.c, those must be linked with font.o too, so
this needs to be a language-agnostic linker-only solution. Setting the byte at
offset 48 to 5 solves the problem, and ld works afterwards, so this just a
matter of setting a field in the Elf header.

Cheers,
bzt

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]