On 12/15/2015 10:13 PM, Bernd Edlinger wrote:
due to recent discussion on the basic asm, and the special handling of ASM_INPUT in ia64, I tried to build a bare-metal cross-compiler for ia64, but that did not work, because it seems to be impossible to build it without having a stdlib.h.
Actually David Howells has complained to me about this as well, it seems to be a problem when building a toolchain for kernel compilation.
With the attached patch, I was finally able to build the cross compiler, by declaring abort in the way as it is done already in many other places at libgcc.
Can you just use __builtin_abort ()? Ok with that change. Bernd