openbsd-ports/lang/gcc/4.1/patches/patch-gcc_varasm_c
2005-08-04 14:51:36 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-gcc_varasm_c,v 1.6 2005/08/04 14:51:37 espie Exp $
--- gcc/varasm.c.orig Wed Jul 27 23:02:55 2005
+++ gcc/varasm.c Thu Aug 4 10:54:02 2005
@@ -195,7 +195,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