Add a comment about the copy relocation.

llvm-svn: 295622
This commit is contained in:
Rui Ueyama
2017-02-19 22:48:33 +00:00
parent caf810e3e4
commit a80915853a
2 changed files with 27 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ template <class ELFT>
size_t elf::readEhRecordSize(InputSectionBase<ELFT> *S, size_t Off) {
return EhReader<ELFT>(S, S->Data.slice(Off)).readEhRecordSize();
}
// .eh_frame section is a sequence of records. Each record starts with
// a 4 byte length field. This function reads the length.
template <class ELFT> size_t EhReader<ELFT>::readEhRecordSize() {