aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b60ca2a..4ae0267 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2014-05-28 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/61044
+ * doc/extend.texi (Local Labels): Note that label differences are
+ not supported for AVR.
+
2014-05-27 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.md (stack_protect_set_<mode>):
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