mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 09:08:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
15
arch/ia64/scripts/check-gas
Executable file
15
arch/ia64/scripts/check-gas
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
dir=$(dirname $0)
|
||||
CC=$1
|
||||
OBJDUMP=$2
|
||||
tmp=${TMPDIR:-/tmp}
|
||||
out=$tmp/out$$.o
|
||||
$CC -c $dir/check-gas-asm.S -o $out
|
||||
res=$($OBJDUMP -r --section .data $out | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
|
||||
rm -f $out
|
||||
if [ $res != ".text" ]; then
|
||||
echo buggy
|
||||
else
|
||||
echo good
|
||||
fi
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue