[PATCH] cleanup: local label prefix

Greta Yorsh Greta.Yorsh@arm.com
Fri May 20 12:50:00 GMT 2011


This patch replaces a hardcoded "." of local label prefix with
LOCAL_LABEL_PREFIX macro in the ARM backend (generating a "trampoline" in
thumb mode). 

The patch also contains a new test to make sure that the local label
".Ltrampoline_start:" is generated correctly.

No regressions on arm-none-eabi. 



-- Greta



gcc/Changelog:

2011-05-13  Greta Yorsh <greta.yorsh@arm.com>

	* config/arm/arm.c: Replace hardcoded "." of local label prefix 
	with LOCAL_LABEL_PREFIX macro.

gcc/testsuite/ChangeLog:

2011-05-13  Greta Yorsh <greta.yorsh@arm.com>

	* gcc.target/arm/trampoline-1.c: New test, to make sure 
	the local label ".Ltrampoline" is generated correctly.
	
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: local-label-prefix.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110520/848b0cea/attachment.txt>


More information about the Gcc-patches mailing list