svn commit: r323192 - head/contrib/binutils/opcodes

Bruce Evans brde at optusnet.com.au
Sat Sep 9 07:09:45 UTC 2017


On Tue, 5 Sep 2017, Ryan Libby wrote:

> Log:
>  gnu binutils: FSGSBASE assembly/disassembly
>
>  Enable the in-tree binutils to assemble and disassemble amd64 FSGSBASE
>  instructions (rdfsbase, rdgsbase, wrfsbase, wrgsbase), used in the base
>  system since r322763.

Thanks.

>  This gives one last gasp for in-tree gcc, and provides a small
>  enhancement for in-tree binutils objdump.

After this, it will be necessary to use .byte.  This is almost simpler
for *fsbase too.

ddb still doesn't understand this instruction or many other more
important instructions.  amd64 is most broken, but I rarely notice
since I normally use i386.  ddb still doesn't understand pc-relative
addressing so for amd64 it displays addresses of global variables as
raw offsets from %rip.

Bruce


More information about the svn-src-head mailing list