This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ping] 3 aarch64/arm/rs6000 patches
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Tue, 17 Jan 2017 09:21:38 +0100
- Subject: Re: [ping] 3 aarch64/arm/rs6000 patches
- Authentication-results: sourceware.org; auth=none
- References: <2384369.JtBCaDPbPu@polaris> <20170117080053.GJ32333@bubble.grove.modra.org>
> The one thing I find questionable about this patch is that it will set
> mem_alias_set for the resulting MEMs to the TOC alias set. Is that
> correct for memory not in the TOC?
I don't understand why the memory would not be in the TOC (but I discovered
this TOC business while investigating the issue, nice invention ;-) Or rather
I don't understand why this would be a problem with the patch if this was not
already the case in the existing code.
The main difference between VxWorks and the other ports is that you cannot
create TOC entries manually, they are exclusively created by the linker; but
that's it, if they are created properly, they work as for the other ports.
--
Eric Botcazou