aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/bfd-in2.h12
-rw-r--r--bfd/section.c13
2 files changed, 16 insertions, 9 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 78a0a1d..db41e7e 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1166,11 +1166,13 @@ typedef struct bfd_section
struct bfd_section *s;
const char *linked_to_symbol_name;
} map_head, map_tail;
- /* Points to the output section this section is already assigned to, if any.
- This is used when support for non-contiguous memory regions is enabled. */
- struct bfd_section *already_assigned;
- /* Explicitly specified section type, if non-zero. */
+ /* Points to the output section this section is already assigned to,
+ if any. This is used when support for non-contiguous memory
+ regions is enabled. */
+ struct bfd_section *already_assigned;
+
+ /* Explicitly specified section type, if non-zero. */
unsigned int type;
} asection;
@@ -1356,7 +1358,7 @@ discarded_section (const asection *sec)
(struct bfd_symbol *) SYM, &SEC.symbol, \
\
/* map_head, map_tail, already_assigned, type */ \
- { NULL }, { NULL }, NULL, 0 \
+ { NULL }, { NULL }, NULL, 0 \
\
}
diff --git a/bfd/section.c b/bfd/section.c
index 2de7dbf..9a10714 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -551,9 +551,14 @@ CODE_FRAGMENT
. struct bfd_section *s;
. const char *linked_to_symbol_name;
. } map_head, map_tail;
-. {* Points to the output section this section is already assigned to, if any.
-. This is used when support for non-contiguous memory regions is enabled. *}
-. struct bfd_section *already_assigned;
+.
+. {* Points to the output section this section is already assigned to,
+. if any. This is used when support for non-contiguous memory
+. regions is enabled. *}
+. struct bfd_section *already_assigned;
+.
+. {* Explicitly specified section type, if non-zero. *}
+. unsigned int type;
.
.} asection;
.
@@ -738,7 +743,7 @@ CODE_FRAGMENT
. (struct bfd_symbol *) SYM, &SEC.symbol, \
. \
. {* map_head, map_tail, already_assigned, type *} \
-. { NULL }, { NULL }, NULL, 0 \
+. { NULL }, { NULL }, NULL, 0 \
. \
. }
.