* 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 466a85b..ad7df12 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;
                  }