Use of `%s' in diagnostics is long obsoleted by %qs (in this case, using %qE with the identifier directly, rather than using IDENTIFIER_POINTER, is preferred).
INTVAL / UINTVAL return HOST_WIDE_INT / unsigned HOST_WIDE_INT, not long / unsigned long. You have lots of uses of fprintf that presume they return long / unsigned long. As you have the interrupt attribute, you need to add this port to the list in extend.texi of ports with this attribute. (Generally, check the checklist of pieces in sourcebuild.texi to update for a new port.) At least one target for this port should be added to contrib/config-list.mk (and you should verify that the port builds cleanly with --enable-werror-always, for both 32-bit and 64-bit hosts, when building using current trunk GCC). -- Joseph S. Myers jos...@codesourcery.com