128Fermer130
GodzilLe 15/09/2010 à 15:03
clang le supporte aussi.
et meme mon gcc 4.2.2 pour ARM

	.file	"test.c"
	.global	test
	.data
	.align	2
	.type	test, %object
	.size	test, 12
test:
	.word	10
	.byte	20
	.space	3
	.word	30
	.global	test_packed
	.type	test_packed, %object
	.size	test_packed, 9
test_packed:
	.4byte	10
	.byte	20
	.4byte	30
	.global	test_pragma
	.type	test_pragma, %object
	.size	test_pragma, 9
test_pragma:
	.4byte	10
	.byte	20
	.4byte	30
	.ident	"GCC: (GNU) 4.2.2"

et meme un gcc 3.4.1 pour arm
test_packed:
	.4byte	10
	.byte	20
	.4byte	30
	.global	test_pragma
	.align	2
	.type	test_pragma, %object
	.size	test_pragma, 12
test_pragma:
	.word	10
	.byte	20
	.4byte	30



Moralité, autant jeter les extention GNU non portable ^^

Squalyl: TG merci