OSDN Git Service

* darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2005 23:19:29 +0000 (23:19 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2005 23:19:29 +0000 (23:19 +0000)
        for Objective-C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100233 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.h

index 1657e7d..2c0a647 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-26  Mike Stump  <mrs@apple.com>
+
+       * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
+       for Objective-C++.
+       
 2005-05-26  Richard Guenther  <rguenth@gcc.gnu.org>
 
        * tree-ssa-forwprop.c (forward_propagate_addr_expr):
index c2a53d0..96a501a 100644 (file)
@@ -533,6 +533,8 @@ Boston, MA 02111-1307, USA.  */
             machopic_validate_stub_or_non_lazy_ptr (xname);                 \
           else if (len > 14 && !strcmp ("$non_lazy_ptr", xname + len - 13)) \
             machopic_validate_stub_or_non_lazy_ptr (xname);                 \
+          else if (len > 15 && !strcmp ("$non_lazy_ptr\"", xname + len - 14)) \
+            machopic_validate_stub_or_non_lazy_ptr (xname);                 \
           if (xname[1] != '"' && name_needs_quotes (&xname[1]))             \
             fprintf (FILE, "\"%s\"", &xname[1]);                            \
           else                                                              \