openbsd-ports/lang/gcc/4.2/patches/patch-gcc_varasm_c
2007-03-17 22:34:13 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-gcc_varasm_c,v 1.3 2007/03/17 22:34:13 espie Exp $
--- gcc/varasm.c.orig Thu Jul 13 22:49:34 2006
+++ gcc/varasm.c Sun Jul 23 11:24:03 2006
@@ -397,7 +397,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