Re: PCI Express support for 2.4 kernel

From: Tomas Szepe
Date: Mon Dec 15 2003 - 12:40:46 EST


On Dec-16 2003, Tue, 04:09 +1100
Keith Owens <kaos@xxxxxxxxxx> wrote:

> a1:
> .long 0
> .local a2
> .comm a2,4,4
> .ident "GCC: (GNU) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)"

...

> Try it with an older version of gcc, which most people are
> still using to build the kernel. With 3.2.2, you get

And w/ gcc-3.3.2, you get what you'd actually expect :)

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.3.2/specs
Configured with: ../configure --enable-languages=c,c++ --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --disable-nls --target=i386-slackware-linux --host=i386-slackware-linux --build=i386-slackware-linux
Thread model: posix
gcc version 3.3.2
$ cat x.c
static int a1 = 0;
static int a2 = 1;
static int a3;
$ gcc -S x.c
$ cat x.s
.file "x.c"
.local a1
.comm a1,4,4
.data
.align 4
.type a2, @object
.size a2, 4
a2:
.long 1
.local a3
.comm a3,4,4
.ident "GCC: (GNU) 3.3.2"

--
Tomas Szepe <szepe@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/