[qt] qboosh! help :-)
Tomasz Pala
gotar w polanet.pl
Nie, 18 Kwi 2004, 15:10:20 CEST
On Sun, Apr 18, 2004 at 14:29:37 +0200, Bartosz Taudul wrote:
> > W gcc3 -z combreloc jest domyślnie włączone, niestandardowe jest -z
> > nocombreloc.
> Tak? No to naprawdę zabawne są twierdzenia fanboyów gentoo, którzy
> gadają że jak sobie *sami* skompilowali kde z -zcombreloc to im zaczęło
> 10 razy szybciej działać. :>
ROTFL;) Mały test-case:
~: echo "int main() {}" > test-combreloc.c
~: gcc test-combreloc.c -lm -o test-combreloc1
~: gcc test-combreloc.c -lm -o test-combreloc2 -z combreloc
~: gcc test-combreloc.c -lm -o test-combreloc3 -z nocombreloc
~: \ls -l test-combreloc*
-rwx------ 1 gotar gotar 6346 Apr 18 15:00 test-combreloc1
-rwx------ 1 gotar gotar 6346 Apr 18 15:00 test-combreloc2
-rwx------ 1 gotar gotar 6338 Apr 18 15:00 test-combreloc3
-rw------- 1 gotar gotar 14 Apr 18 14:59 test-combreloc.c
~: diff test-combreloc1 test-combreloc2
~: diff test-combreloc1 test-combreloc3
Files test-combreloc1 and test-combreloc3 differ
~: readelf -S ./test-combreloc1 | grep REL
[ 8] .rel.dyn REL 08048250 000250 000008 08 A 4 0 4
[ 9] .rel.plt REL 08048258 000258 000008 08 A 4 b 4
~: readelf -S ./test-combreloc2 | grep REL
[ 8] .rel.dyn REL 08048250 000250 000008 08 A 4 0 4
[ 9] .rel.plt REL 08048258 000258 000008 08 A 4 b 4
~: readelf -S ./test-combreloc3 | grep REL
[ 8] .rel.got REL 08048250 000250 000008 08 A 4 15 4
[ 9] .rel.plt REL 08048258 000258 000008 08 A 4 b 4
Kluczowe jest .rel.dyn.
--
GoTaR <priv0.onet.pl->gotar>
http://vfmg.sourceforge.net/
Więcej informacji o liście dyskusyjnej pld-devel-pl