Commit 92747f7d by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent c8912e53
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> 2014-05-27 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.md (stack_protect_set_<mode>): * config/aarch64/aarch64.md (stack_protect_set_<mode>):
......
...@@ -373,6 +373,8 @@ goto *(&&foo + array[i]); ...@@ -373,6 +373,8 @@ goto *(&&foo + array[i]);
This is more friendly to code living in shared libraries, as it reduces This is more friendly to code living in shared libraries, as it reduces
the number of dynamic relocations that are needed, and by consequence, the number of dynamic relocations that are needed, and by consequence,
allows the data to be read-only. 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 The @code{&&foo} expressions for the same label might have different
values if the containing function is inlined or cloned. If a program values if the containing function is inlined or cloned. If a program
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment