Friday, January 20, 2023

Re: amd64: data value inside .text warning results

Volker Schlecht:

> > lang/erlang/25 6
>
> I only find 3, not 6.

Indeed. The port failed to build and I re-built it after grabbing
the fix, so the log file ended up containing two builds.

> However, those are all false positives (.byte 0x0F, x01, 0xD0)

That turns out to be a very common pattern across the ports tree.
Those bytes encode the xgetbv instruction. Apparently gas(1) on Mac OS
does or did not know about this instruction.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment