[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABG-yt09BEZFhr6uCjohvCQYVJFaBe6EMUGShq9GeRJELyVJ-g@mail.gmail.com>
Date: Sat, 10 Sep 2011 08:25:52 +0530
From: Shakthi Kannan <shakthimaan@...il.com>
To: Michal Marek <mmarek@...e.cz>
Cc: linux-kernel@...r.kernel.org
Subject: Re: CRC calculation in Module.symvers
Hi,
--- On Fri, Sep 9, 2011 at 6:47 PM, Michal Marek <mmarek@...e.cz> wrote:
| Copy the gcc ... | genksyms ... commandline printed by make V=1
| crypto/api.symtypes.
\--
I ran:
$ gcc -E -D__GENKSYMS__ -Wp,-MD,crypto/.api.symtypes.d -nostdinc
-isystem /usr/lib/gcc/i686-redhat-linux/4.5.1/include
-I/tmp/linux-3.0.2/arch/x86/include -Iarch/x86/include/generated
-Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3
-freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=1024 -Wno-unused-but-set-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(api)"
-D"KBUILD_MODNAME=KBUILD_STR(api)" crypto/api.c |
scripts/genksyms/genksyms
and it printed the checksums.
Thanks for your help!
SK
--
Shakthi Kannan
http://www.shakthimaan.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists