projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass section when available to bfd_octets_per_byte
[deliverable/binutils-gdb.git]
/
bfd
/
bfd.c
diff --git
a/bfd/bfd.c
b/bfd/bfd.c
index c1f3fcadd69f0938ffd1548566e55c5ccf9b580c..a3c522cbf8eee615477cde2902a1eebbdadc80f3 100644
(file)
--- a/
bfd/bfd.c
+++ b/
bfd/bfd.c
@@
-493,7
+493,7
@@
CODE_FRAGMENT
.bfd_get_section_limit (const bfd *abfd, const asection *sec)
.{
. return (bfd_get_section_limit_octets (abfd, sec)
.bfd_get_section_limit (const bfd *abfd, const asection *sec)
.{
. return (bfd_get_section_limit_octets (abfd, sec)
-. / bfd_octets_per_byte (abfd,
NULL
));
+. / bfd_octets_per_byte (abfd,
sec
));
.}
.
.{* Functions to handle insertion and deletion of a bfd's sections. These
.}
.
.{* Functions to handle insertion and deletion of a bfd's sections. These
This page took
0.022627 seconds
and
4
git commands to generate.