PERFORCE change 113079 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Jan 17 22:35:25 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113079

Change 113079 by gonzo at gonzo_hq on 2007/01/17 22:35:10

	o Add dynamic tags for rtld-elf.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/elf.h#4 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/include/elf.h#4 (text+ko) ====

@@ -157,6 +157,28 @@
 #define R_MIPS_PJUMP		35
 #define R_MIPS_RELGOT		36
 
+#define R_MIPS_max		37
+#define R_TYPE(name)		__CONCAT(R_MIPS_,name)
+
+/* mips dynamic tags */
+
+#define DT_MIPS_RLD_VERSION	0x70000001
+#define DT_MIPS_TIME_STAMP	0x70000002
+#define DT_MIPS_ICHECKSUM	0x70000003
+#define DT_MIPS_IVERSION	0x70000004
+#define DT_MIPS_FLAGS		0x70000005
+#define DT_MIPS_BASE_ADDRESS	0x70000006
+#define DT_MIPS_CONFLICT	0x70000008
+#define DT_MIPS_LIBLIST		0x70000009
+#define DT_MIPS_CONFLICTNO	0x7000000b
+#define	DT_MIPS_LOCAL_GOTNO	0x7000000a	/* number of local got ents */
+#define DT_MIPS_LIBLISTNO	0x70000010
+#define	DT_MIPS_SYMTABNO	0x70000011	/* number of .dynsym entries */
+#define DT_MIPS_UNREFEXTNO	0x70000012
+#define	DT_MIPS_GOTSYM		0x70000013	/* first dynamic sym in got */
+#define DT_MIPS_HIPAGENO	0x70000014
+#define	DT_MIPS_RLD_MAP		0x70000016	/* address of loader map */
+
 /* Define "machine" characteristics */
 #if __ELF_WORD_SIZE == 32
 #define ELF_TARG_CLASS  ELFCLASS32


More information about the p4-projects mailing list