Binutils/gas/ld port for RISC-V [PATCH v2]

Stefan O'Rear
Sun Oct 23 00:33:00 GMT 2016

On Sat, Oct 22, 2016 at 4:30 PM, Palmer Dabbelt <> wrote:
>  * : "sizeof(long
>    double)" is 64-bit on RISC-V, which precludes the use of the Q extension for
>    128-bit floating point.  This may cause an ABI-breakage.

It's slightly worse than just causing a problem for the Q-extension,
it contradicts the most recently published specification:
states that sizeof(long double) is 16.

Changing the spec to match gcc is an option of course (we can make
"long double" 64-bit and tell people to use __float128 when it becomes


More information about the Binutils mailing list