aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2014-05-28 08:42:25 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2014-05-28 08:42:25 +0000
commit92747f7d22c15533a4c7d7574bc7a7371741a727 (patch)
tree777f5e8ed193e5f5d5835b473a86fa37cb2e6de6 /gcc/doc
parentc8912e539b9060c3f4f037188374e2ccfa00666b (diff)
downloadgcc-92747f7d22c15533a4c7d7574bc7a7371741a727.zip
gcc-92747f7d22c15533a4c7d7574bc7a7371741a727.tar.gz
gcc-92747f7d22c15533a4c7d7574bc7a7371741a727.tar.bz2
re PR target/61044 (Computed goto on AVR fails to use word-addressing)
PR target/61044 * doc/extend.texi (Local Labels): Note that label differences are not supported for AVR. From-SVN: r210999
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 4e1a6b3..cc16c95 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -373,6 +373,8 @@ goto *(&&foo + array[i]);
This is more friendly to code living in shared libraries, as it reduces
the number of dynamic relocations that are needed, and by consequence,
allows the data to be read-only.
+This alternative with label differences is not supported for the AVR target,
+please use the first approach for AVR programs.
The @code{&&foo} expressions for the same label might have different
values if the containing function is inlined or cloned. If a program