aboutsummaryrefslogtreecommitdiff
path: root/gprof/make_solaris_order_map
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-12-31 06:28:22 +0000
committerJeff Law <law@redhat.com>1995-12-31 06:28:22 +0000
commit71128bd7a98889baab8044ccc1138a62371dda4c (patch)
tree2085ff6a615b7f74d95870668af9d3505bec1461 /gprof/make_solaris_order_map
parenta493dcd8ba445771f7d353fa68208bd31674f80a (diff)
downloadgdb-71128bd7a98889baab8044ccc1138a62371dda4c.zip
gdb-71128bd7a98889baab8044ccc1138a62371dda4c.tar.gz
gdb-71128bd7a98889baab8044ccc1138a62371dda4c.tar.bz2
Just so we have them checked in somewhere; they're sanitized away as we
really don't want to distribute them as part of gprof (not without major work).
Diffstat (limited to 'gprof/make_solaris_order_map')
-rwxr-xr-xgprof/make_solaris_order_map8
1 files changed, 8 insertions, 0 deletions
diff --git a/gprof/make_solaris_order_map b/gprof/make_solaris_order_map
new file mode 100755
index 0000000..6167709
--- /dev/null
+++ b/gprof/make_solaris_order_map
@@ -0,0 +1,8 @@
+#!/bin/csh -f
+# $1 is the file containing the function ordering
+# $2 is the output file (a linker map file for the solaris native linker)
+
+echo 'text = LOAD ?RXO;' > $2
+foreach func (`cat $1`)
+ echo "text: .text%$func;" >> $2
+end