projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a2c9d
)
* srec.c (srec_scan): Set lma as well as vma.
author
Ian Lance Taylor
<ian@airs.com>
Sat, 2 Dec 1995 01:59:20 +0000
(
01:59
+0000)
committer
Ian Lance Taylor
<ian@airs.com>
Sat, 2 Dec 1995 01:59:20 +0000
(
01:59
+0000)
bfd/srec.c
patch
|
blob
|
history
diff --git
a/bfd/srec.c
b/bfd/srec.c
index 466a85b47d24281b1de3546835e4c47cbb340e7e..ad7df1285888b62b92f186fb1c9e57d04ba9b815 100644
(file)
--- 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;
}