This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AVR indirect_jump addresses limited to 16 bits
- From: Paul Schlie <schlie at comcast dot net>
- To: Paul Brook <paul at codesourcery dot com>,<gcc at gcc dot gnu dot org>
- Cc: Giovanni Bajo <giovannibajo at libero dot it>,Marek Michalkiewicz <marekm at amelek dot gda dot pl>
- Date: Sat, 19 Mar 2005 21:52:23 -0500
- Subject: Re: AVR indirect_jump addresses limited to 16 bits
> From: Paul Brook <paul@codesourcery.com>
> Don't we know which labels are targets of indirect jumps?
> So the proposed restriction now becomes: functions *and targets of indirect
> jumps* must be aligned to an N word boundary. I'd guess that the latter are
> sufficiently rare that this is still an acceptable restriction.
- seams plausible, if it were reasonably easy to identify such labels to the
linker with a corresponding alignment requirement to the exclusion of all
other labels? (and the restricted alignment method were deemed acceptable?)