From: Ian Lance Taylor Date: Sat, 2 Dec 1995 01:59:20 +0000 (+0000) Subject: * srec.c (srec_scan): Set lma as well as vma. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4;p=binutils-gdb.git * srec.c (srec_scan): Set lma as well as vma. --- diff --git a/bfd/srec.c b/bfd/srec.c index 466a85b47d2..ad7df128588 100644 --- a/bfd/srec.c +++ b/bfd/srec.c @@ -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; }