summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-01-27 23:40:39 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-01-27 23:40:39 +0000
commit90c2bec38f51c1757c1631e48dc8c354a71232dc (patch)
tree2f80e8c705740ea7a4cfaa94eb159755eda8e220 /bfd/bfd.c
parent67a27a66e8ff81920659bec3804a3c507684f14f (diff)
downloadbinutils-redhat-90c2bec38f51c1757c1631e48dc8c354a71232dc.tar.gz
* bfd.c (struct _bfd): Added id field.
* opncls.c (_bfd_id_counter): New static variable. (_bfd_new_bfd): Use it. * bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index f9051c0d58..1a332a866b 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -36,6 +36,9 @@ CODE_FRAGMENT
.
.struct _bfd
.{
+. {* A unique identifier of the BFD *}
+. unsigned int id;
+.
. {* The filename the application opened the BFD with. *}
. const char *filename;
.