aboutsummaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorMillan Wolff <mail@milianw.de>2018-10-03 12:06:09 +0100
committerNick Clifton <nickc@redhat.com>2018-10-03 12:06:09 +0100
commitc8d3f93237d77f76d14e09e44bc770ce9428b0e4 (patch)
treea1adce040154b97d30b58b10692dbb054acc8c91 /bfd/section.c
parent527b9e87ac1915aec4c26f96951c3b49a145bc88 (diff)
downloadbinutils-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.zip
binutils-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.tar.gz
binutils-c8d3f93237d77f76d14e09e44bc770ce9428b0e4.tar.bz2
Fix the handling of inlined frames in DWARF debug info.
PR 23715 * dwarf2.c (find_abstract_instance): Allow recursive invocations of find_abstract_instance to override the name variable.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/bfd/section.c b/bfd/section.c
index 7ee3f69..cc23922 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -1457,16 +1457,20 @@ SYNOPSIS
DESCRIPTION
Sets the contents of the section @var{section} in BFD
- @var{abfd} to the data starting in memory at @var{data}. The
- data is written to the output section starting at offset
+ @var{abfd} to the data starting in memory at @var{location}.
+ The data is written to the output section starting at offset
@var{offset} for @var{count} octets.
- Normally <<TRUE>> is returned, else <<FALSE>>. Possible error
- returns are:
+ Normally <<TRUE>> is returned, but <<FALSE>> is returned if
+ there was an error. Possible error returns are:
o <<bfd_error_no_contents>> -
The output section does not have the <<SEC_HAS_CONTENTS>>
attribute, so nothing can be written to it.
- o and some more too
+ o <<bfd_error_bad_value>> -
+ The section is unable to contain all of the data.
+ o <<bfd_error_invalid_operation>> -
+ The BFD is not writeable.
+ o and some more too.
This routine is front end to the back end function
<<_bfd_set_section_contents>>.