fix extended identifiers to comply with the Darwin ABI.

gcc:

	* config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for
	extended identifiers.

From-SVN: r184302
This commit is contained in:
Iain Sandoe 2012-02-16 08:21:46 +00:00
parent 183d6db2a8
commit cebb469847
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-02-16 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for
extended identifiers.
2012-02-16 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51929

View File

@ -615,7 +615,7 @@ int darwin_label_is_anonymous_local_objc_name (const char *name);
else if (!strncmp (xname, ".objc_class_name_", 17)) \
fprintf (FILE, "%s", xname); \
else if (xname[0] != '"' && name_needs_quotes (xname)) \
fprintf (FILE, "\"%s\"", xname); \
asm_fprintf (FILE, "\"%U%s\"", xname); \
else \
asm_fprintf (FILE, "%U%s", xname); \
} while (0)