* srec.c (srec_scan): Set lma as well as vma.

This commit is contained in:
Ian Lance Taylor 1995-12-02 01:59:20 +00:00
parent 98a2c9d2ea
commit 55ae43ab3a

View file

@ -521,6 +521,7 @@ srec_scan (abfd)
goto error_return;
sec->flags = SEC_HAS_CONTENTS | SEC_LOAD | SEC_ALLOC;
sec->vma = address;
sec->lma = address;
sec->_raw_size = bytes;
sec->filepos = pos;
}