On 03/26/16 21:44, Stuart Henderson wrote:
On 2016/03/26 20:13, Karel Gardas wrote:
have you tried to bootstrap your own gcc with recent binutils? i.e.
--with-as=<your new binutils as>... On the other hand you may also
give a try to LLVM/clang from ports and see if they support your
required features...
OpenBSD binutils is modified for things like W^X. As far as i386 and
amd64 go it's probably a more useful approach to write support for
the additional opcodes, see the most recent couple of commits in
src/gnu/usr.bin/binutils-2.17 for clues about how to do this.
I will take a loot, thanks for the pointer.
For some other arch (ARM in particular) support in binutils-2.17 is
a bit of a stumbling point...not sure quite what to do there.
Hm, I have no clue about ARM tobe honest..
Alternatively yes do try LLVM/Clang as that has its own assembler.
Yep, I will look at it.
Thanks,
Hannes