diff options
author | Steve Chamberlain <sac@cygnus> | 1991-11-06 01:23:48 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1991-11-06 01:23:48 +0000 |
commit | bee84e0bc354c1c148df5d97851acd5d0da78e2a (patch) | |
tree | 438e9bca5735d9cd3e64af354b0f48248a6c54e3 /include/bfd.h | |
parent | c1d43aa2307fbbf4b7fd79c28f55a94be8d14506 (diff) | |
download | gdb-bee84e0bc354c1c148df5d97851acd5d0da78e2a.zip gdb-bee84e0bc354c1c148df5d97851acd5d0da78e2a.tar.gz gdb-bee84e0bc354c1c148df5d97851acd5d0da78e2a.tar.bz2 |
New prototype from sectino.c
Diffstat (limited to 'include/bfd.h')
-rw-r--r-- | include/bfd.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/bfd.h b/include/bfd.h index e0163e2..72cdae4 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -741,6 +741,27 @@ who's name matches that provided, otherwise NULL. @xref{Sections}, for more info /* + bfd_make_section_old_way +This function creates a new empty section called @var{name} and attaches it +to the end of the chain of sections for the BFD supplied. An attempt to +create a section with a name which is already in use, returns its pointer without +changing the section chain. + +It has the funny name since this is the way it used to be before gilmore broke it. + +Possible errors are: +@table @code +@item invalid_operation +If output has already started for this BFD. +@item no_memory +If obstack alloc fails. +@end table +*/ + + PROTO(asection *, bfd_make_section_old_way, (bfd *, CONST char *name)); + +/* + bfd_make_section This function creates a new empty section called @var{name} and attaches it to the end of the chain of sections for the BFD supplied. An attempt to |