aboutsummaryrefslogtreecommitdiff
path: root/bfd/srec.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-02 01:59:20 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-02 01:59:20 +0000
commit55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4 (patch)
tree584a3f3decdae51e2cef2984f350a5155a6e077a /bfd/srec.c
parent98a2c9d2ea514dcd524f66e0a6a273fa6570e3e5 (diff)
downloadgdb-55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4.zip
gdb-55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4.tar.gz
gdb-55ae43ab3a76c8adcb161a21e1bbe1a036f57aa4.tar.bz2
* srec.c (srec_scan): Set lma as well as vma.
Diffstat (limited to 'bfd/srec.c')
-rw-r--r--bfd/srec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/srec.c b/bfd/srec.c
index 466a85b..ad7df12 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;
}