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 | |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4722a3d9cd..7cc1ecbe657 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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) |