This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: call gcc no -fpic/-fpie only -pie?


Hi Zet,

> But the ld manual said if specify -pie should specify -fpic etc.

Where does it say this ?  I tried looking for it, but did not find it
anywhere.

> static relocation type only has R_386_32/R_386_PC32, they should be
> changed to dynamic relocation type R_386_COPY/R_386_GLOB_DAT etc by
> ld. If so why not manual said that( if specify -pie should specify
> -fpic etc) ? If not , what the details that cannot be changed to
> dynamic link?

This sounds like a documentation error, but I will need to see the 
source for the documentation first.

> like the -pie there is a similar option -shared, under the same
> questions what about -shared?

This also ought to be reviewed.

Cheers
  Nick


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