diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-20 21:21:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-20 21:21:24 +0000 |
commit | fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd (patch) | |
tree | 1d8c345aa0b876471ab9e73e4f22c04d65aa61bf /gold/reloc.cc | |
parent | 1f7efbae406ff9f2e8967d508bfae665501dc8ae (diff) | |
download | gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.zip gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.gz gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.bz2 |
Convert more instances of off_t to be 32-bit types.
Diffstat (limited to 'gold/reloc.cc')
-rw-r--r-- | gold/reloc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc index a91c354..37a9a85 100644 --- a/gold/reloc.cc +++ b/gold/reloc.cc @@ -433,16 +433,16 @@ Sized_relobj<size, big_endian>::write_sections(const unsigned char* pshdrs, } off_t view_start; - off_t view_size; + section_size_type view_size; if (output_offset != -1) { view_start = output_section_offset + output_offset; - view_size = shdr.get_sh_size(); + view_size = convert_to_section_size_type(shdr.get_sh_size()); } else { view_start = output_section_offset; - view_size = output_section_size; + view_size = convert_to_section_size_type(output_section_size); } if (view_size == 0) |