* srec.c (srec_scan): Set lma as well as vma.
authorIan Lance Taylor <ian@airs.com>
Sat, 2 Dec 1995 01:59:20 +0000 (01:59 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 2 Dec 1995 01:59:20 +0000 (01:59 +0000)
bfd/srec.c

index 466a85b47d24281b1de3546835e4c47cbb340e7e..ad7df1285888b62b92f186fb1c9e57d04ba9b815 100644 (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;
                  }