OSDN Git Service

* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
[pf3gnuchains/gcc-fork.git] / gcc / config / darwin.h
index c2685a8..03955c6 100644 (file)
@@ -525,6 +525,9 @@ extern GTY(()) int darwin_ms_struct;
 
 #define USER_LABEL_PREFIX "_"
 
+/* A dummy symbol that will be replaced with the function base name.  */
+#define MACHOPIC_FUNCTION_BASE_NAME "<pic base>"
+
 /* Don't output a .file directive.  That is only used by the assembler for
    error reporting.  */
 #undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
@@ -609,7 +612,7 @@ extern GTY(()) int darwin_ms_struct;
 #define ASM_OUTPUT_LABELREF(FILE,NAME)                                      \
   do {                                                                      \
        const char *xname = (NAME);                                          \
-       if (! strcmp (xname, "<pic base>"))                                  \
+       if (! strcmp (xname, MACHOPIC_FUNCTION_BASE_NAME))                   \
          machopic_output_function_base_name(FILE);                           \
        else if (xname[0] == '&' || xname[0] == '*')                         \
          {                                                                  \