about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/elf.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bbc00d4fd3..9a0d28e7ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-10-07  Ulrich Drepper  <drepper@redhat.com>
 
+	* elf/elf.h: Add a few section-related symbols.
+
 	* include/features.h (__STDC_ISO_10646__): Set to correct date.
 	Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
 
diff --git a/elf/elf.h b/elf/elf.h
index aa3eddd917..90b12f3928 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -290,7 +290,9 @@ typedef struct
 #define SHT_INIT_ARRAY	  14		/* Array of constructors */
 #define SHT_FINI_ARRAY	  15		/* Array of destructors */
 #define SHT_PREINIT_ARRAY 16		/* Array of pre-constructors */
-#define	SHT_NUM		  17		/* Number of defined types.  */
+#define SHT_GROUP	  17		/* Section group */
+#define SHT_SYMTAB_SHNDX  18		/* Extended section indeces */
+#define	SHT_NUM		  19		/* Number of defined types.  */
 #define SHT_LOOS	  0x60000000	/* Start OS-specific */
 #define SHT_LOSUNW	  0x6ffffffa	/* Sun-specific low bound.  */
 #define SHT_SUNW_move	  0x6ffffffa
@@ -320,6 +322,9 @@ typedef struct
 #define SHF_MASKOS	     0x0ff00000	/* OS-specific.  */
 #define SHF_MASKPROC	     0xf0000000	/* Processor-specific */
 
+/* Section group handling.  */
+#define GRP_COMDAT	0x1		/* Mark group as COMDAT.  */
+
 /* Symbol table entry.  */
 
 typedef struct