Someone suggested to me privately turning on optimization, for
the record that doesn't help much: (with -O2)
.file "printasint.c"
.version "01.01"
gcc2_compiled.:
.section .rodata
.LC0:
.byte 0x70,0x72,0x69,0x6e,0x74,0x20,0x74,0x68,0x69,0x73
.byte 0x20,0x25,0x64,0xa,0x0
.text
.p2align 2,0x90
.globl printasint
.type printasint,@function
printasint:
pushl %ebp
movl %esp,%ebp
subl $8,%esp
addl $-8,%esp
pushl 8(%ebp)
pushl $.LC0
call printf
leave
ret
.Lfe1:
.size printasint,.Lfe1-printasint
.ident "[ASM_FILE_END]GCC: (c) 2.95.2 19991024 (release)"
--
Leo Bicknell - [EMAIL PROTECTED]
Systems Engineer - Internetworking Engineer - CCIE 3440
Read TMBG List - [EMAIL PROTECTED], www.tmbg.org
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- function calls/rets in assembly Steve Roome
- RE: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Leo Bicknell
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Leo Bicknell
- Re: function calls/rets in assembly Dan Nelson
- Re: function calls/rets in assembly Matt Dillon
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly Peter Pentchev
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly Terry Lambert

