New drop, with first cut of section layout code.

This commit is contained in:
Ian Lance Taylor
2006-09-21 22:13:18 +00:00
parent 5ffff7c1d1
commit a2fb1b05e4
19 changed files with 1479 additions and 171 deletions

View File

@ -173,22 +173,6 @@ class File_view
const unsigned char* data_;
};
// An object which locks a file using RAII.
class File_read_lock
{
public:
File_read_lock(File_read& file)
: file_(file)
{ this->file_.lock(); }
~File_read_lock()
{ this->file_.unlock(); }
private:
File_read& file_;
};
// All the information we hold for a single input file. This can be
// an object file, a shared library, or an archive.