This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link tests after GCC_NO_EXECUTABLES
Bernd Schmidt wrote:
Jie Zhang wrote:
Bernd Schmidt wrote:
Jie Zhang wrote:
But by design if gcc_no_link = no, link tests should be avoided.
??? I would have thought gcc_no_link = yes means link tests are avoided.
Oops, I meant gcc_no_link = yes.
Stupid double negatives. Okay, so then your problem is that
gcc_no_link=yes. Find out why it's setting that.
bfin-elf-gcc -mfdpic failed to link a simple test case because code is
put into L1 instruction sram and data is put into L1 data sram, but
Blackfin immediate offset load instruction cannot access GOT since the
gap between instruction sram and data sram is too large. Using -msim as
default will pass this test case and build gcc without problem but I
would like bfin-elf-gcc target hardware board by default. Use -fPIC as
default is not good, since -fpic is enough for any real applications. So
I would like to avoid link test for shl_load when GCC_NO_EXECUTABLES.
Jie