diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-20 16:27:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-20 16:27:34 +0000 |
commit | 1e9836570f11422834da6ad9ccc49ce2fd121222 (patch) | |
tree | c82b87b27858bcc53e34c1a804def361e269b678 /gold/output.h | |
parent | 63c2c2877bddc79a54ef833cf7b42f95a5f94ff6 (diff) | |
download | gdb-1e9836570f11422834da6ad9ccc49ce2fd121222.zip gdb-1e9836570f11422834da6ad9ccc49ce2fd121222.tar.gz gdb-1e9836570f11422834da6ad9ccc49ce2fd121222.tar.bz2 |
Update comments about output offsets and merged input sections.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/output.h b/gold/output.h index 38e5c48..a244fa5 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1895,8 +1895,10 @@ class Output_section : public Output_data // Given an input OBJECT, an input section index SHNDX within that // object, and an OFFSET relative to the start of that input // section, return whether or not the output offset is known. If - // this function returns true, it sets *POUTPUT to the output - // offset. + // this function returns true, it sets *POUTPUT to the offset in + // the output section, relative to the start of the input section + // in the output section. *POUTPUT may be different from OFFSET + // for a merged section. bool output_offset(const Relobj* object, unsigned int shndx, section_offset_type offset, |