aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-27 22:23:18 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-27 22:23:18 +0000
commitff0e4a93416510eaac29ab780ab631dbeb81206a (patch)
tree538940f60249f08cc085d9762546aa5708dd4963 /bfd/bfd-in2.h
parent9addd1d4fdf2514723a9d847271cd546a3d0f207 (diff)
downloadgdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.zip
gdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.tar.gz
gdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.tar.bz2
Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
structure instead.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 11cc952..148ee13 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -891,12 +891,21 @@ typedef struct sec
table. */
#define SEC_SORT_ENTRIES 0x80000
- /* A mark flag used by some of the linker backends. This
- should not be set by application code. */
-#define SEC_LINKER_MARK 0x100000
-
/* End of section flags. */
+ /* Some internal packed boolean fields. */
+
+ /* See the vma field. */
+ unsigned int user_set_vma : 1;
+
+ /* Whether relocations have been processed. */
+ unsigned int reloc_done : 1;
+
+ /* A mark flag used by some of the linker backends. */
+ unsigned int linker_mark : 1;
+
+ /* End of internal packed boolean fields. */
+
/* The virtual memory address of the section - where it will be
at run time. The symbols are relocated against this. The
user_set_vma flag is maintained by bfd; if it's not set, the
@@ -905,7 +914,6 @@ typedef struct sec
target and various flags). */
bfd_vma vma;
- boolean user_set_vma;
/* The load address of the section - where it would be in a
rom image; really only used for writing section header
@@ -1006,7 +1014,6 @@ typedef struct sec
bfd *owner;
- boolean reloc_done;
/* A symbol which points at this section only */
struct symbol_cache_entry *symbol;
struct symbol_cache_entry **symbol_ptr_ptr;