This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -ftest-coverage and .got sections on alpha


> 
> On Sun, May 28, 2000 at 02:36:53PM -0500, Brad Lucier wrote:
> > When I do that I get the infamous .got section over 64K message from
> > the linux loader.  This implies to me that gcc is emitting many symbols
> > that eventually get into the .o file just for test coverage.
> 
> I just looked again.  It isn't.  It's referencing exactly 2,
> no matter the size of the input.

Sorry, I was confused, I had this difficulty (and still have this difficulty)
ith 2.95.1, I cannot reproduce it with the development compiler.

Brad

With the 2.95.1 compiler:

popov-201% gcc -O0 -ftest-coverage -fprofile-arcs -mieee -D___SINGLE_HOST -c _meroon.c all.c test.c test_.c
popov-202% gcc -O0 -ftest-coverage -fprofile-arcs -mieee -D___SINGLE_HOST -o test  _meroon.o all.o test.o test_.o -lgambc -lm -ldl
/export/u10/binutils-2.9.5.0.16/bin/ld: _meroon.o: .got subsegment exceeds 64K (size 91000)
/export/u10/binutils-2.9.5.0.16/bin/ld: failed to set dynamic section sizes: No such file or directory
collect2: ld returned 1 exit status


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]