This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: [Q] Position independent code



----- Original Message -----
From: "Kim, Jeong-Hwan" <KimJeongHwan@lge.com>
To: <crossgcc@sources.redhat.com>
Sent: Wednesday, April 04, 2001 3:01 PM
Subject: [Q] Position independent code


> Hi,
>
> If makefile does not contain -fpic (-fPIC) compile option, is the
generated
> code not Position Independent Code ?

PIC is default option.

> (using gcc for powerpc)
> If map file displays no data in .got sector, is the code not Position
> Independent Code?

.got is a table for dynamic linking,if you generate a library with "-shared"
there should be a got table.


>
>
> Kim
>
>
>
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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