Re: -fpie -pic question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Balint Cristian wrote:

> 	I have a question about exec-shield, i compiled with -fpic -pic passed to gcc an aplication (qmail for eg)
>  on FC1 and how can i know that really work the exec-shield stuff on the aplication ?

I assume the -fpic and -pic above really mean -fpie and -pie.

In that case, run this

readelf -a PROGRAM | egrep -q 'Type:[[:space:]]*DYN' &&
readelf -a PROGRAM | egrep -q '  DEBUG[[:space:]]*$' &&
echo "is PIC"



-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux