Re: as questions
Re: as questions
- Subject: Re: as questions
- From: Andrew Pinski <email@hidden>
- Date: Sun, 15 Aug 2004 10:57:35 -0700
On Aug 15, 2004, at 2:21 AM, Jonas Maebe wrote:
On 15 aug 2004, at 05:38, Andrew Pinski wrote:
I would just update cctools as it is now required for mainline of
gcc, anyways.
see <http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00104.html>.
We support Mac OS X 10.1 till 10.3. Will (or at least should) the
binaries in that package work on 10.1/10.2 as well?
FWIW, I downloaded that package and to test it, I simply extracted the
contents of the package with pax to a temporary directory. Neither the
as in usr/libexec/gcc/darwin/ppc nor in ppc64 seems to want to grok
the .debug_frame nor .sleb128/.uleb128 directives either. They do
accept the .subsections_via_symbols, so I'm sure I'm using the right
as (my default as doesn't accept that either).
Because that is not the way to output dwarf-2 for darwin.
For a simple return 0 program, gcc-3.5 -gdwarf-2 produces:
.section __TEXT,__text,regular,pure_instructions
.section
__TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
.section __DWARFA,__debug_abbrev
Ldebug_abbrev0:
.section __DWARFA,__debug_info
Ldebug_info0:
.section __DWARFA,__debug_line
Ldebug_line0:
.text
.align 2
Ltext0:
.align 2
.globl _main
_main:
LFB2:
LM1:
stmw r30,-8(r1)
LCFI0:
stwu r1,-48(r1)
LCFI1:
mr r30,r1
LCFI2:
LM2:
li r0,0
LM3:
mr r3,r0
lwz r1,0(r1)
lmw r30,-8(r1)
blr
LFE2:
.section __DWARFA,__debug_frame,coalesced,no_toc+strip_static_syms
EH_frame0:
.set L$set$0,LECIE0-LSCIE0
.long L$set$0
LSCIE0:
.long 0xffffffff
.byte 0x1
.ascii "\0"
.byte 0x1
.byte 0x7c
.byte 0x41
.byte 0xc
.byte 0x1
.byte 0x0
.align 2
LECIE0:
.globl _main.eh1
_main.eh1:
LSFDE0:
.set L$set$1,LEFDE0-LASFDE0
.long L$set$1
LASFDE0:
.long EH_frame0
.long LFB2
.set L$set$2,LFE2-LFB2
.long L$set$2
.byte 0x4
.set L$set$3,LCFI1-LFB2
.long L$set$3
.byte 0xe
.byte 0x30
.byte 0x9f
.byte 0x1
.byte 0x9e
.byte 0x2
.byte 0x4
.set L$set$4,LCFI2-LCFI1
.long L$set$4
.byte 0xd
.byte 0x1e
.align 2
LEFDE0:
.text
.align 2
Letext0:
.section __DWARFA,__debug_line
.set L$set$5,LELT0-LSLT0
.long L$set$5
LSLT0:
.short 0x2
.set L$set$6,LELTP0-LASLTP0
.long L$set$6
LASLTP0:
.byte 0x1
.byte 0x1
.byte 0xf6
.byte 0xf5
.byte 0xa
.byte 0x0
.byte 0x1
.byte 0x1
.byte 0x1
.byte 0x1
.byte 0x0
.byte 0x0
.byte 0x0
.byte 0x1
.byte 0x0
.ascii "t.c\0"
.byte 0x0
.byte 0x0
.byte 0x0
.byte 0x0
LELTP0:
.byte 0x0
.byte 0x5
.byte 0x2
.long LM1
.byte 0x15
.byte 0x0
.byte 0x5
.byte 0x2
.long LM2
.byte 0x15
.byte 0x0
.byte 0x5
.byte 0x2
.long LM3
.byte 0x15
.byte 0x0
.byte 0x5
.byte 0x2
.long Letext0
.byte 0x0
.byte 0x1
.byte 0x1
LELT0:
.section __DWARFA,__debug_info
.long 0xf3
.short 0x2
.long Ldebug_abbrev0
.byte 0x4
.byte 0x1
.long Ldebug_line0
.long Letext0
.long Ltext0
.ascii "GNU C 3.5.0-tree-ssa 20040321 (merged 20040529) (Apple
Computer, Inc. build 1768)\0"
.byte 0x1
.ascii "t.c\0"
.ascii "/Volumes/zhivago/Users/pinskia/src/devel/no-lowering\0"
.byte 0x2
.byte 0x1
.ascii "main\0"
.byte 0x1
.byte 0x2
.long 0xbb
.long LFB2
.long LFE2
.byte 0x1
.byte 0x6e
.byte 0x3
.ascii "int\0"
.byte 0x4
.byte 0x5
.byte 0x4
.long 0xcd
.long 0xbb
.byte 0x5
.byte 0x0
.byte 0x6
.ascii "__CFConstantStringClassReference\0"
.long 0xc2
.byte 0x1
.byte 0x1
.byte 0x1
.byte 0x0
.section __DWARFA,__debug_abbrev
.byte 0x1
.byte 0x11
.byte 0x1
.byte 0x10
.byte 0x6
.byte 0x12
.byte 0x1
.byte 0x11
.byte 0x1
.byte 0x25
.byte 0x8
.byte 0x13
.byte 0xb
.byte 0x3
.byte 0x8
.byte 0x1b
.byte 0x8
.byte 0x0
.byte 0x0
.byte 0x2
.byte 0x2e
.byte 0x0
.byte 0x3f
.byte 0xc
.byte 0x3
.byte 0x8
.byte 0x3a
.byte 0xb
.byte 0x3b
.byte 0xb
.byte 0x49
.byte 0x13
.byte 0x11
.byte 0x1
.byte 0x12
.byte 0x1
.byte 0x40
.byte 0xa
.byte 0x0
.byte 0x0
.byte 0x3
.byte 0x24
.byte 0x0
.byte 0x3
.byte 0x8
.byte 0xb
.byte 0xb
.byte 0x3e
.byte 0xb
.byte 0x0
.byte 0x0
.byte 0x4
.byte 0x1
.byte 0x1
.byte 0x1
.byte 0x13
.byte 0x49
.byte 0x13
.byte 0x0
.byte 0x0
.byte 0x5
.byte 0x21
.byte 0x0
.byte 0x0
.byte 0x0
.byte 0x6
.byte 0x34
.byte 0x0
.byte 0x3
.byte 0x8
.byte 0x49
.byte 0x13
.byte 0x3f
.byte 0xc
.byte 0x34
.byte 0xc
.byte 0x3c
.byte 0xc
.byte 0x0
.byte 0x0
.byte 0x0
.section __DWARFA,__debug_pubnames
.long 0x17
.short 0x2
.long Ldebug_info0
.long 0xf7
.long 0xa4
.ascii "main\0"
.long 0x0
.section __DWARFA,__debug_aranges
.long 0x1c
.short 0x2
.long Ldebug_info0
.byte 0x4
.byte 0x0
.short 0x0
.short 0x0
.long Ltext0
.set L$set$7,Letext0-Ltext0
.long L$set$7
.long 0x0
.long 0x0
Thanks,
Andrew Pinski
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.