thanks for your reply I am attaching one sample program. 1. arm-linux-gnueabi-gcc -fno-optimize-sibling-calls -O0 test.c 2. arm-linux-gnueabi-gcc -fno-optimize-sibling-calls -O2 test.c arm-linux-gnueabi-nm of O0 is log1 arm-linux-gnueabi-nm of O2 is log I am attaching o/p of command using option --save-temps i.e in file test.s arm-linux-gnueabi-gcc -fno-optimize-sibling-calls --save-temps -O2 test.c arm-linux-gnueabi-as -v GNU assembler version 2.19.51 (arm-linux-gnueabi) using BFD version (Sourcery G++ Lite 2009q1-203) 2.19.51.20090205 _----------------------------------------------------------------------------------------------------------------------------- arm-linux-gnueabi-gcc -v Using built-in specs. Target: arm-linux-gnueabi Configured with: /scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/src/gcc-4.4/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --enable-extra-sgxxlite-multilibs --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --with-specs='%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2009q1-203' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-linux-gnueabi/libc --with-build-sysroot=/scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/lite/install/arm-linux-gnueabi/libc --with-gmp=/scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/lite/obj/host-libs-2009q1-203-arm-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/lite/obj/host-libs-2009q1-203-arm-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/lite/install/arm-linux-gnueabi/bin --with-build-time-tools=/scratch/mitchell/builds/4.4-arm-linux-gnueabi-respin/lite/install/arm-linux-gnueabi/bin --with-interwork --with-cpu=cortex-a9 --with-arch=armv7-a --with-mode=arm --with-tune=cortex-a9 --with-fpu=vfp3 --with-float=softfp Thread model: posix gcc version 4.4.1 (Sourcery G++ Lite 2009q1-203) -------------------------------------------------------------------------------------------------------------------------------------- On Thu, Mar 25, 2010 at 7:21 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > trisha yad <trisha1march@xxxxxxxxx> writes: > >> I am sending you simple test program. >> >> I run following command >> arm-linux-gnueabi-gcc --save-temps -O0 main.c >> arm-linux-gnueabi-gcc --save-temps -O2 main.c (Function name disappear) > > Please reply to the mailing list, not just to me. Thanks. > > I don't see any T. symbols in the assembly files that you sent. > Presumably the assembler is inserting these symbols. Although, when I > ran a recent version of gas, it did not do so. What assembler are you > using? > > I would guess that these are ARM mapping symbols. Why are they a > problem? > > Ian >
Attachment:
test.c
Description: Binary data
Attachment:
log
Description: Binary data
Attachment:
log1
Description: Binary data
Attachment:
test.s
Description: Binary data
Attachment:
test.o
Description: Binary data