This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: confusing comment for partial_inplace


Hi Doug,

: bfd-in2.h has this:
: 
:         /* When performing a partial link, some formats must modify the
:           relocations rather than the data - this flag signals this.*/
:   boolean partial_inplace;
: 
: What is "inplace" refering to?
: When I read the phrase "partial_inplace" it says to me "in the
: section".  However, when I read the comment it says "in the relocs".

It is meant to mean "inside the value that is the target of the
relocation".  ie this only applies to REL relocs (not RELA).

At least that's what I have always understood it to mean.

Cheers
	Nick

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