mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-12 06:26:17 +00:00
New prototype from sectino.c
This commit is contained in:
parent
c1d43aa230
commit
bee84e0bc3
@ -739,6 +739,27 @@ who's name matches that provided, otherwise NULL. @xref{Sections}, for more info
|
||||
PROTO(asection *, bfd_get_section_by_name,
|
||||
(bfd *abfd, CONST char *name));
|
||||
|
||||
/*
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user