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-Tag: gdb-4_18-branchpoint~9912 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4;p=thirdparty%2Fbinutils-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; }