OSDN Git Service

(ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax"
[pf3gnuchains/gcc-fork.git] / gcc / varasm.c
index 865de48..a54c5df 100644 (file)
@@ -3535,7 +3535,7 @@ output_constant (exp, size)
          unsigned char *buffer = (unsigned char *) alloca (size);
          if (get_set_constructor_bytes (exp, buffer, size))
            abort ();
-         assemble_string (buffer, size);
+         assemble_string ((char *) buffer, size);
        }
       else
        error ("unknown set constructor type");