openbsd-ports/lang/gcc/4.2/patches/patch-gcc_varasm_c

13 lines
482 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_varasm_c,v 1.4 2009/04/16 18:36:48 espie Exp $
--- gcc/varasm.c.orig Sat Feb 2 02:42:03 2008
+++ gcc/varasm.c Tue Apr 7 19:39:00 2009
@@ -396,7 +396,7 @@ initialize_cold_section_name (void)
2006-07-31 05:50:53 -04:00
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