2001-04-13 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)
* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.

bfd/ChangeLog
bfd/section.c

index 37619b4..bf13710 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-13  H.J. Lu  <hjl@gnu.org>
+
+       * section.c (SEC_MERGE): Define new flag for merging.
+       (SEC_STRINGS): Likewise.
+       (entsize): New field.
+
 2001-04-13  Roger Sayle  <roger@metaphorics.com>
 
        * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
index ce1a9e8..9918b01 100644 (file)
@@ -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;