mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 01:08:03 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
19
scripts/profile2linkerlist.pl
Executable file
19
scripts/profile2linkerlist.pl
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/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/);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue