This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc3.3 everything in the data segment?


Andrew,
they go to bss with arm-elf-gcc 3.3

	.file	"bss.c"
	.global	fred
	.section	.data.fred,"aw",%progbits
	.align	2
	.type	fred, %object
	.size	fred, 4
fred:
	.word	1
	.global	foo
	.section	.bss.foo,"aw",%nobits
	.align	2
	.type	foo, %object
	.size	foo, 4
foo:
	.space	4
	.section	.bss.bar,"aw",%nobits
	.align	2
	.type	bar, %object
	.size	bar, 4
bar:
	.space	4
	.ident	"GCC: (GNU) 3.3"

Jani

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]