openbsd-ports/lang/gcc/4.1/patches/patch-gcc_varasm_c
2005-06-13 19:54:30 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-gcc_varasm_c,v 1.5 2005/06/13 19:54:30 espie Exp $
--- gcc/varasm.c.orig Wed Jun 8 02:15:53 2005
+++ gcc/varasm.c Mon Jun 13 18:59:33 2005
@@ -192,7 +192,7 @@ initialize_cold_section_name (void)
stripped_name = targetm.strip_name_encoding (name);
- buffer = ACONCAT ((stripped_name, "_unlikely", NULL));
+ buffer = ACONCAT ((stripped_name, "_unlikely", (char *)0));
cfun->unlikely_text_section_name = ggc_strdup (buffer);
}
else