Re: -mcmodel=large doesn't work to me

2010-10-21 Thread Ian Lance Taylor
Wei Li writes: > I am working on huge object files and I am glad to see that gcc > supports -mcmodel=large now. However, my experiment even doesn't work > because of relocation problem in crtbeginS.o This message was not appropriate for the mailing list gcc@gcc.gnu.org, which is for the developm

-mcmodel=large doesn't work to me

2010-10-21 Thread Wei Li
Hi, I am working on huge object files and I am glad to see that gcc supports -mcmodel=large now. However, my experiment even doesn't work because of relocation problem in crtbeginS.o My Source file: t.c #include extern int foo(int argc, char **argv); void *pv1[1024]={(void*)foo,}; char a[214