diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-16 08:21:46 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-16 08:21:46 +0000 |
commit | dd76b89f2d2aff3094d92c34261afa705be08e30 (patch) | |
tree | 4d85dc206b198e53c4846610175b03bfcbd34b9c /gcc/config/darwin.h | |
parent | cdf67cee599f86ece205d09a35ac8bcf9a9aad9c (diff) | |
download | gcc-dd76b89f2d2aff3094d92c34261afa705be08e30.tar.gz |
fix extended identifiers to comply with the Darwin ABI.
gcc:
* config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for
extended identifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 24253320208..3e6efd79061 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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) |