Implement the "trap" pattern for MicroBlaze using matching
ABORT_INSTRUCTION used in glibc.

Resolves recent build failure while building glibc, also encountered
by ARM and AARCH64 and discussed here;
https://sourceware.org/ml/libc-alpha/2013-11/msg00320.html


ChangeLog

2013-11-26  David Holsgrove <david.holsgr...@xilinx.com>

 * gcc/config/microblaze/microblaze.md: Add trap insn and attribute.


ChangeLog testsuite

2013-11-26  David Holsgrove <david.holsgr...@xilinx.com>

 * gcc/testsuite/gcc.target/microblaze/others/builtin-trap.c: New test.

Attachment: 0001-Patch-microblaze-Add-__builtin_trap-instruction-patt.patch
Description: Binary data

Reply via email to