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-in2.h
diff --git
a/bfd/bfd-in2.h
b/bfd/bfd-in2.h
index 80ff8e89b58413b15530da7967ea43d0c371f8a6..44902fc8d05ca82e845ece5cb41846467a79b620 100644
(file)
--- a/
bfd/bfd-in2.h
+++ b/
bfd/bfd-in2.h
@@
-6861,7
+6861,7
@@
static inline bfd_size_type
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.024644 seconds
and
4
git commands to generate.