RFA: ARM: Implement __builtin_trap

Anton Korobeynikov anton@korobeynikov.info
Thu Sep 9 22:27:00 GMT 2010


> Specifically, the LLVM backend emits:
>
> _t:                                     @ @t
>        .long 0xe7ffdefe @ trap
>
>
> So no, I don't think that trap is a standard mnemonic.
iirc "trap" is supported as a separate mnemonic in darwin as. gas does
not support it, thus we emit .word / .long here


-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the Gcc-patches mailing list