Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 23:14:46 +0300 (EEST)
From:      Vladimir Kushnir <kushn@mail.kar.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Generating profiled binaries under ELF: where is gcrt1.o? 
Message-ID:  <Pine.BSF.4.00.9809012310320.9226-100000@kushnir.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hello,
First of, thanks for a great job with aout-elf switch.

Now here's yet another problem
Sorry if that's obvious, but does profiling work at all under FreeBSD-ELF?
According to /usr/src/contrib/gcc/config/freebsd.h (line 547) linker looks
for gcrt1.o:

  %{!maout:  %{!shared: \
    %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
    crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"

but there's no such a file and no mention of it in any Makefile. Besides,
aout gcrt0.o is generated from crt0.c, but there doesn't seem to be any
specific flags in i386-elf/crt*. 

Thanks in advance,
Vladimir



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9809012310320.9226-100000>