This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: confusing comment for partial_inplace
- To: dje at transmeta dot com
- Subject: Re: confusing comment for partial_inplace
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 23 Feb 2000 21:34:01 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <200002240206.SAA19270@casey.transmeta.com>
Date: Wed, 23 Feb 2000 18:06:03 -0800
From: Doug Evans <dje@transmeta.com>
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".
Which is it???
The comment is confusing because it does not explain what the true and
false values mean; it only explains what the flag refers to. Complain
to sac.
If partial_inplace is true, the addend is stored in the section. If
partial_inplace is false, the addend is stored in the reloc entry.
Ian