summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/scripts/profile2linkerlist.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/scripts/profile2linkerlist.pl')
-rw-r--r--ANDROID_3.4.5/scripts/profile2linkerlist.pl19
1 files changed, 0 insertions, 19 deletions
diff --git a/ANDROID_3.4.5/scripts/profile2linkerlist.pl b/ANDROID_3.4.5/scripts/profile2linkerlist.pl
deleted file mode 100644
index 6943fa7c..00000000
--- a/ANDROID_3.4.5/scripts/profile2linkerlist.pl
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/perl
-
-#
-# Takes a (sorted) output of readprofile and turns it into a list suitable for
-# linker scripts
-#
-# usage:
-# readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
-#
-use strict;
-
-while (<>) {
- my $line = $_;
-
- $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
-
- print "*(.text.$1)\n"
- unless ($line =~ /unknown/) || ($line =~ /total/);
-}