projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
bfd
/
init.c
diff --git
a/bfd/init.c
b/bfd/init.c
index c08749614a8c89016263dccf0888d93fb1d509f8..463b4f335f30362864d77045eb6f8834ed25560d 100644
(file)
--- a/
bfd/init.c
+++ b/
bfd/init.c
@@
-1,5
+1,5
@@
/* bfd initialization stuff
/* bfd initialization stuff
- Copyright (C) 1990-20
14
Free Software Foundation, Inc.
+ Copyright (C) 1990-20
20
Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
Written by Steve Chamberlain of Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@
-38,17
+38,24
@@
FUNCTION
bfd_init
SYNOPSIS
bfd_init
SYNOPSIS
-
void
bfd_init (void);
+
unsigned int
bfd_init (void);
DESCRIPTION
This routine must be called before any other BFD function to
initialize magical internal data structures.
DESCRIPTION
This routine must be called before any other BFD function to
initialize magical internal data structures.
+ Returns a magic number, which may be used to check
+ that the bfd library is configured as expected by users.
+.
+.{* Value returned by bfd_init. *}
+.
+.#define BFD_INIT_MAGIC (sizeof (struct bfd_section))
*/
/* Actually, there is currently nothing for this function to do.
However, someday it may be needed, so keep it around. */
*/
/* Actually, there is currently nothing for this function to do.
However, someday it may be needed, so keep it around. */
-void
+unsigned int
bfd_init (void)
{
bfd_init (void)
{
+ return BFD_INIT_MAGIC;
}
}
This page took
0.028167 seconds
and
4
git commands to generate.