2014-05-26 20:47 GMT+04:00 Georg-Johann Lay <a...@gjlay.de>:
> This adds a note to the user manual that code with label differences is not
> supported.  This is because adding an offset to a stub address as generated
> with gs() will in general not yield the address of the label+offset.
>
> This actually occurs only if gs() has something to do, e.g. on devices with
> more than 128KiB of flash; but I don't see any benefit from supporting the
> feature on small devices -- left out all the problems caused by relaxing and
> when gas resolves the label difference.
>
> Thus, add a note that it's not available on any AVR and mark the PR as
> invalid.
>
> Ok for trunk?
>
> Johann
>
>
>         PR target/61044
>         * doc/extend.texi (Local Labels): Note that label differences are
>         not supported for AVR.
>
> Index: doc/extend.texi
>

Approved.
Please, apply.

Reply via email to