This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC] SH: movstr* aliases for movmem*
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: aoliva at redhat dot com (Alexandre Oliva)
- Cc: joern dot rennecke at superh dot com (Joern Rennecke), kkojima at rr dot iij4u dot or dot jp (Kaz Kojima), gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 15:12:44 +0100 (BST)
- Subject: Re: [PATCH/RFC] SH: movstr* aliases for movmem*
>
> On Jul 29, 2004, Joern Rennecke <joern.rennecke@superh.com> wrote:
>
> >> 2004-07-28 Kaz Kojima <kkojima@gcc.gnu.org>
> >>
> >> * config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.
> >>
>
> > This is OK.
>
> > In fact, I beliieve that the library function names should never have been
> > changed in the first place.
>
> I saw they were hidden in libgcc_s.so, but didn't realize it would be
> a problem for static libgcc. If you'd prefer, I suppose it would be
> my responsibility to change the name back, but I guess we're better
> off with aliases. Sorry about that.
Now that the new names are there, I agree that it is better if we leave
them in. Removing them now would churn the ABI even more, and then
we'd also have to add comments why the movemem pattern maps to movstr*
functions. The cost of a few additional aliases in the static library is
neglegible.