[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.
- [Bug ld/27200] New: Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, address@hidden, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary,
bztemail at gmail dot com <=
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, address@hidden, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, address@hidden, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/18
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, nickc at redhat dot com, 2021/01/19
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, nickc at redhat dot com, 2021/01/19
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, nelson.chu1990 at gmail dot com, 2021/01/20
- [Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary, bztemail at gmail dot com, 2021/01/20