6f0b523996
meant to be used on archs that have gcc4 in base, this doesn't require a full gcc build from ports, and provides libgfortran as a subpackage. idea from espie some months ago.
13 lines
487 B
Plaintext
13 lines
487 B
Plaintext
$OpenBSD: patch-gcc_varasm_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
|
|
--- gcc/varasm.c.orig Sat Mar 10 01:59:15 2007
|
|
+++ gcc/varasm.c Mon Jun 14 19:23:04 2010
|
|
@@ -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
|