Commit cebb4698 by Iain Sandoe

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
parent 183d6db2
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> 2012-02-16 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51929 PR middle-end/51929
......
...@@ -615,7 +615,7 @@ int darwin_label_is_anonymous_local_objc_name (const char *name); ...@@ -615,7 +615,7 @@ int darwin_label_is_anonymous_local_objc_name (const char *name);
else if (!strncmp (xname, ".objc_class_name_", 17)) \ else if (!strncmp (xname, ".objc_class_name_", 17)) \
fprintf (FILE, "%s", xname); \ fprintf (FILE, "%s", xname); \
else if (xname[0] != '"' && name_needs_quotes (xname)) \ else if (xname[0] != '"' && name_needs_quotes (xname)) \
fprintf (FILE, "\"%s\"", xname); \ asm_fprintf (FILE, "\"%U%s\"", xname); \
else \ else \
asm_fprintf (FILE, "%U%s", xname); \ asm_fprintf (FILE, "%U%s", xname); \
} while (0) } while (0)
......
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