openbsd-ports/lang/gcc/4.3/patches/patch-gcc_varasm_c
2007-03-17 22:35:25 +00:00

13 lines
486 B
Plaintext

$OpenBSD: patch-gcc_varasm_c,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
--- gcc/varasm.c.orig Thu Feb 15 11:33:59 2007
+++ gcc/varasm.c Mon Feb 19 14:08:49 2007
@@ -633,7 +633,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