llvm-gcc working on linux/amd64

With the patchs I send earlier, it is possible to compile llvm-gcc in
a amd64 with

../trunk/configure --enable-llvm=/home/rafael/dev/llvm/build/
--enable-checking --prefix=/home/rafael/dev/llvm/gcc/inst/
--enable-languages=c --disable-threads --disable-shared
--disable-multilib --program-prefix=llvm-

Enabling shared libraries causes the build to fail while linking
libgcc. Apparently llvm-gcc generated code uses text relocations.

Best Regards,
Rafael

With the patchs I send earlier, it is possible to compile llvm-gcc in
a amd64 with

../trunk/configure --enable-llvm=/home/rafael/dev/llvm/build/
--enable-checking --prefix=/home/rafael/dev/llvm/gcc/inst/
--enable-languages=c --disable-threads --disable-shared
--disable-multilib --program-prefix=llvm-

Great, I'll add this to the README.LLVM file.

Enabling shared libraries causes the build to fail while linking
libgcc. Apparently llvm-gcc generated code uses text relocations.

Right. The X86-64 backend (like the X86-32 backend) only has PIC support for darwin so far :(. In x86-32, you can use non-pic codegen for shared libraries, you just get worse performance (COW .text pages).

-Chris