summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-04-14 04:13:00 +0000
committerH.J. Lu <hjl@lucon.org>2001-04-14 04:13:00 +0000
commit265f1c6cd0b66446c15b5b11a557b053b316d75f (patch)
tree5db7d97adc07854752b47b57d6f8b2028da921cd /bfd/section.c
parentf2bcbc1cb4a017754f5ea9f78f1f053d577e027c (diff)
downloadbinutils-redhat-265f1c6cd0b66446c15b5b11a557b053b316d75f.tar.gz
2001-04-13 H.J. Lu <hjl@gnu.org>
* section.c (SEC_MERGE): Define new flag for merging. (SEC_STRINGS): Likewise. (entsize): New field.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/section.c b/bfd/section.c
index ce1a9e8d6f..9918b01262 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -350,6 +350,15 @@ CODE_FRAGMENT
. references found to any symbol in the section. *}
.#define SEC_CLINK 0x10000000
.
+. {* Attempt to merge identical entities in the section.
+. Entity size is given in the entsize field. *}
+.#define SEC_MERGE 0x20000000
+.
+. {* If given with SEC_MERGE, entities to merge are zero terminated
+. strings where entsize specifies character size instead of fixed
+. size entries. *}
+.#define SEC_STRINGS 0x40000000
+.
. {* End of section flags. *}
.
. {* Some internal packed boolean fields. *}
@@ -462,6 +471,10 @@ CODE_FRAGMENT
.
. unsigned int lineno_count;
.
+. {* Entity size for merging purposes. *}
+.
+. unsigned int entsize;
+.
. {* Optional information about a COMDAT entry; NULL if not COMDAT. *}
.
. struct bfd_comdat_info *comdat;