Re: [uClinux-dev] assembler output

From: Jason Harris (jasonh@sj.symbol.com)
Date: Wed Jan 17 2001 - 17:30:47 EST


The GNU compiler supports a -S option that converts *.c into *.s 
The *.s file contains the assembly language output of the compiler.

Jason H. 

Jason T. Harris
Director Voice Systems
Symbol Technologies Inc.
6480 Via Del Oro
San Jose CA 95119-1208
P: 408-528-2623
F: 408-528-2400
E: jasonh@sj.symbol.com

>>> apt090@motorola.com 01/17/01 02:12PM >>>
Hello, 
    I am fairly new to both linux and the ucsimm.  I am making various changes to kernel source, specifically writing time critical interrupt service routines.  I would like to see exactly what assembly instructions the 68k gcc compiler is generating.  I am wondering if it is possible to tell the compiler to spit out the intermediate assembley code it generates.  If I could eliminate a few instructions it might make my life a lot easier.  I plan to then put these assembler instructions asm(instruction) lines in the c source.  Quick and dirty, but I think it will get the job done.  I have already worked around some of the kernel interrupt handling code to make my task more efficient, but this would definetely help.  

Thanks,
Peter Thomas
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:25 EDT