Re: Generate assembly listings of the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 5 Dec 2007 15:45:18 +0100 "Vegard Nossum" <vegard.nossum@xxxxxxxxx>
wrote:

:>On Dec 5, 2007 12:41 PM, Binyamin Dissen <bdissen@xxxxxxxxxxxxxxxxxx> wrote:
:>> Give a Kernel source tree, how can I generate assembly listings for all or
:>> part?

:>> Running GCC -S against an individual module does not work - generates many
:>> compiler errors.

:>I suggest a variation; remove the existing object file. Then run make
:>V=1 target/object.o. This will give you the command line that is used
:>to compile that particular file. Now you can replace the -c -o
:>target/object.o with your -S and the assembly listing will be output.

That worked fine.

Is there some change that I can make to the MAKE file so that I can do it for
all modules?

-- 
Binyamin Dissen <bdissen@xxxxxxxxxxxxxxxxxx>
http://www.dissensoftware.com

Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux