Add arch support for pcc64, s390, s390x, armv7l, aarch64

We've been carrying this patch downstream in Fedora, but I guess it could well go upstream.