Elimination of all floating point code in the tiny assembler
Simon Richter
Simon.Richter@hogyros.de
Thu Sep 14 08:38:39 GMT 2023
Hi,
On 9/14/23 16:49, jacob navia wrote:
> Big endian hosts have disappeared long ago.
In the hobbyist market, yes. POWER and zSeries still exist, and are in
active use.
> Doing cross assembly in a 32 bit host for a 64 bit host… that looks weird but maybe possible, even if I would say that doing cross assembly in a 64 bit host for a 32 bit target would be more easy to find.
Both are fairly normal, and I'd argue that the ability to bootstrap a 64
bit system from a 32 bit system is quite important.
This is also a matter of code quality. Baking assumptions into the code
leads to maintainability issues down the line as someone will have to
identify the problem and manually trace it back to the spot in the code
where the assumption was made that doesn't quite hold.
> I have created a framework where you CAN do changes in a relatively tiny piece of software and see all effects immediately. Just download the tiny assembler and you are all set. You have a small 35 000 lines asm.c and a 10 000 lines asm.h. Period. Nothing else. And compiles everywhere since it is standard C.
But does it work everywhere, or does it silently fail in a way that it
generates broken data, causing other people to spend significant amounts
of time finding out what the problem is, report it and be told that
their use case is out of scope? Because we have way too many "free
software" projects like that.
Simon
More information about the Binutils
mailing list