Commit 10a42d34 authored by David S. Miller's avatar David S. Miller

arch/sparc/kernel/check_asm.sh: Handle output from newer versions of GCC.

parent 225b563b
...@@ -11,8 +11,7 @@ case $1 in ...@@ -11,8 +11,7 @@ case $1 in
echo " sizeof(struct $2_struct)," >> $4 echo " sizeof(struct $2_struct)," >> $4
;; ;;
-ints) -ints)
sed -n -e '/check_asm_data:/,/\.size/p' <$2 | sed -e 's/check_asm_data://' -e 's/\.size.*//' -e 's/\.ident.*//' -e 's/\.long[ ]\([0-9]*\)/\1,/' >>$3 sed -n -e '/check_asm_data:/,/\.size/p' <$2 | sed -e 's/check_asm_data://' -e 's/\.size.*//' -e 's/\.ident.*//' -e 's/\.global.*//' -e 's/\.long[ ]\([0-9]*\)/\1,/' >>$3 ;;
;;
*) *)
exit 1 exit 1
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment