Profiling on sparc64 is broken because e(nd of)text is missing.
Once fixed, profiling works just fine on a Blade 1500. Am I missing
something?
OK?
Index: arch/sparc64/conf/ld.script
===================================================================
RCS file: /home/vcs/cvs/openbsd/src/sys/arch/sparc64/conf/ld.script,v
retrieving revision 1.5
diff -u -p -r1.5 ld.script
--- arch/sparc64/conf/ld.script 28 Dec 2013 19:27:35 -0000 1.5
+++ arch/sparc64/conf/ld.script 6 Jan 2014 03:00:38 -0000
@@ -33,6 +33,7 @@ SECTIONS
.text :
{
*(.text)
+ PROVIDE(etext = .);
} :text
.rodata :
{