This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SH PIC: use TARGET_SH2 instead of ! TARGET_SH1
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: SH PIC: use TARGET_SH2 instead of ! TARGET_SH1
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Fri, 6 Oct 2000 19:19:03 +0100 (BST)
- Cc: gcc-patches at gcc dot gnu dot org, amylaar at cygnus dot com
> But now that I look into it, I can't think of any reason why those PIC
> call sequences can't be used on SH1. Can anybody?
bsrf is not available on the SH1. Neither is braf. You would have to use
a mova / add rn,r0 / jsr @r0 combination.