Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>. See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.
testing and archival for now. I don't expect anyone to work with it since the binutils and gas changes are still pending. But you got to crawl before you walk.