hash bfd sections for fast lookup and create.
[deliverable/binutils-gdb.git] / bfd / bfd-in2.h
index 0a8c85da0c4520b065f466a279e4c8dbc89ae8a7..1e8b0b4bbabac6a9d6b207ca517042f1c7225cb5 100644 (file)
@@ -3175,8 +3175,14 @@ struct _bfd
        from happening. */
     boolean output_has_begun;
 
-    /* Pointer to linked list of sections*/
-    struct sec  *sections;
+    /* A hash table for section names. */
+    struct bfd_hash_table section_htab;
+
+    /* Pointer to linked list of sections. */
+    struct sec *sections;
+
+    /* The place where we add to the section list. */
+    struct sec **section_tail;
 
     /* The number of sections */
     unsigned int section_count;
This page took 0.023235 seconds and 4 git commands to generate.