------- Comment #9 from ramana at gcc dot gnu dot org 2009-10-02 08:26 -------
(In reply to comment #8)
Are you testing the correct compiler ? After building my 4.4 tree (though a
cross compiler ) I see the code generated as below.
The only reason why this might not work is if you are trying to build an
arm-linux and not an arm-linux-gnueabi toolchain but your bug report indicates
otherwise.
As you can see there are no .cfi_* directives.
.cpu arm10tdmi
.fpu softvfp
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 18, 4
.file "1.cc"
.text
.align 2
.global main
.type main, %function
main:
.fnstart
.LFB0:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.LFE0:
.cantunwind
.fnend
.size main, .-main
.ident "GCC: (GNU) 4.4.2 20091002 (prerelease) [trunk revision
152368]"
.section .note.GNU-stack,"",%progbits
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41533