aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-17 03:58:45 +0000
committerAlan Modra <amodra@gmail.com>2001-05-17 03:58:45 +0000
commitd1778b88f8d8444f15ecf2dbbbf680c5659efb53 (patch)
treed0c2d446eb4084bf8e218f551028a2e03d985b17 /bfd/bfd-in2.h
parentaaa4f6d96fb87589796623dfc045d7a8b68c7228 (diff)
downloadgdb-d1778b88f8d8444f15ecf2dbbbf680c5659efb53.zip
gdb-d1778b88f8d8444f15ecf2dbbbf680c5659efb53.tar.gz
gdb-d1778b88f8d8444f15ecf2dbbbf680c5659efb53.tar.bz2
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to an output section.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index bce9c0e..c94b097 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1127,6 +1127,10 @@ typedef struct sec
/* A mark flag used by some of the linker backends. */
unsigned int linker_mark : 1;
+ /* Another mark flag used by some of the linker backends. Set for
+ output sections that have a input section. */
+ unsigned int linker_has_input : 1;
+
/* A mark flag used by some linker backends for garbage collection. */
unsigned int gc_mark : 1;