The patch titled scripts/decodecode: add AFLAGS has been added to the -mm tree. Its filename is doc-oops-tracing-add-code-decode-info-fix-scripts-decodecode-add-aflags.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: scripts/decodecode: add AFLAGS From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Add AFLAGS=options environment variable for the 'as' command. This enables us to generate code for something other than the host system architecture. E.g., on an x86_64 system: AFLAGS=--32 scripts/decodecode < i386.oops generates code for i386 (and then objdump uses the object file's arch. to disassemble it). Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/decodecode | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff -puN scripts/decodecode~doc-oops-tracing-add-code-decode-info-fix-scripts-decodecode-add-aflags scripts/decodecode --- a/scripts/decodecode~doc-oops-tracing-add-code-decode-info-fix-scripts-decodecode-add-aflags +++ a/scripts/decodecode @@ -1,6 +1,10 @@ #!/bin/sh # Disassemble the Code: line in Linux oopses # usage: decodecode < oops.file +# +# options: set env. variable AFLAGS=options to pass options to "as"; +# e.g., to decode an i386 oops on an x86_64 system, use: +# AFLAGS=--32 decodecode < 386.oops T=`mktemp` code= @@ -31,7 +35,7 @@ if [ $marker -ne 0 ]; then beforemark=`echo "$code" | cut -c-$((${marker} - 1))` echo -n " .byte 0x" > $T.s echo $beforemark | sed -e 's/ /,0x/g' >> $T.s - as -o $T.o $T.s + as $AFLAGS -o $T.o $T.s objdump -S $T.o rm $T.o $T.s @@ -42,6 +46,6 @@ fi code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g'` echo -n " .byte 0x" > $T.s echo $code >> $T.s -as -o $T.o $T.s +as $AFLAGS -o $T.o $T.s objdump -S $T.o rm $T.o $T.s _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are git-acpi.patch git-alsa.patch git-libata-all.patch git-mtd.patch romfs-printk-format-warnings.patch ubi-one-less-bug-usage.patch add-pci_try_set_mwi.patch git-scsi-misc.patch git-unionfs.patch git-ipwireless_cs.patch mm-merge-populate-and-nopage-into-fault-fixes-nonlinear.patch doc-kernel-parameters-use-x86-32-tag-instead-of-ia-32.patch add-argv_split-fix.patch add-common-orderly_poweroff-fix.patch kconfig-no-strange-misc-devices.patch afs-drop-explicit-extern.patch add-printktime-option-deprecate-time.patch fs-clarify-dummy-member-in-struct.patch sony-laptop-use-null-for-pointer.patch hugetlbfs-use-lib-parser-fix-docs.patch report-that-kernel-is-tainted-if-there-were-an-oops-before.patch doc-oops-tracing-add-code-decode-info.patch doc-oops-tracing-add-code-decode-info-fix.patch doc-oops-tracing-add-code-decode-info-fix-scripts-decodecode-add-aflags.patch schedstats-fix-printk-format.patch kernel-doc-add-tools-doc-in-makefile.patch kernel-doc-fix-unnamed-struct-union-warning.patch kernel-doc-strip-c99-comments.patch kernel-doc-fix-leading-dot-in-man-mode-output.patch kernel-doc-fix-leading-dot-in-man-mode-output-fix.patch profile-likely-unlikely-macros.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html