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: Tue, 19 Jan 2021 00:08:35 +0000

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

--- Comment #8 from bzt <bztemail at gmail dot com> ---
> The input has no branding, so the linker cannot invent it.

But it does invent it, that's the problem! "ld" should just use the default ABI
for the platform, the same as all the other tool use. Not inventing up
"soft-float" for some unknown reason.

> The emulation says nothing about the ABI

Exactly my point. It's unlike armel/armhf so there's NO WAY of specifying
double-float on command line! One more reason why "ld" should use the default
ABI flag on the platform!

Look, no matter what you say, "ld" producing output that's incompatible with
other tools' outputs of the same binutils package, is just bad. Very bad. It is
a bug, and a terrible user experience nontheless which should be fixed.

If "as" is capable of figuring out double-float from a single "ret"
instruction, then "ld" surely could use the same double-float for binary files
(which is just use the default ABI, btw).

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]