diff --git a/gold/fileread.cc b/gold/fileread.cc index 0bd8320..f2272e4 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -568,6 +568,10 @@ File_read::find_or_make_view(off_t offset, off_t start, && parameters->options().map_whole_files()) this->whole_file_view_ = this->make_view(0, this->size_, 0, cache); +#ifdef __x86_64 + aligned = false; +#endif + // Try to find a View with the required BYTESHIFT. File_read::View* vshifted; File_read::View* v = this->find_view(offset + start, size,