Joseph Myers 175cef4163 Fix ARM build with GCC trunk.
sysdeps/unix/sysv/linux/arm/unwind-resume.c and
sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c have static
variables that are written in C code but only read from toplevel asms.
Current GCC trunk now optimizes away such apparently write-only static
variables, so causing a build failure.  This patch marks those
variables with __attribute_used__ to avoid that optimization.

Tested that this fixes the build for ARM.

	* sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
	(libgcc_s_resume): Use __attribute_used__.
	* sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
	Likewise.
2014-05-20 21:27:13 +00:00
..
2014-05-20 07:17:27 -07:00
2014-05-20 21:27:13 +00:00
2014-05-14 11:06:36 -07:00
2014-05-16 11:17:41 -07:00
2014-05-16 13:03:08 -07:00
2014-05-14 11:06:36 -07:00
2014-05-16 11:17:41 -07:00
2014-05-16 11:17:41 -07:00
2013-06-05 20:44:03 +00:00
2014-05-16 11:47:13 -07:00
2014-03-25 15:17:08 +01:00
2014-05-08 11:27:14 -07:00
2014-05-13 09:49:20 -07:00
2014-05-13 09:49:20 -07:00
2013-08-27 10:34:16 -07:00