This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add R_MIPS_GLOB_DAT to elf/elf.h


Jakub has committed the (o32) MIPS prelinker port to svn -- thanks!
The dynamic linker side needs to support a new R_MIPS_GLOB_DAT relocation,
which was added specifically for the purposes of the prelinker.  The
relocation has code 51, is only defined for symbols >= DT_MIPS_GOTSYM,
and has relocation value "S", as for other targets.  It has been blessed
by MIPS Technology Inc.

Please install if OK.

Richard


2006-10-27  Richard Sandiford  <richard@codesourcery.com>

	* elf/elf.h (R_MIPS_GLOB_DAT): Define.
	(R_MIPS_NUM): Bump by 1.

Index: elf/elf.h
===================================================================
RCS file: /cvs/glibc/libc/elf/elf.h,v
retrieving revision 1.155
diff -u -p -r1.155 elf.h
--- elf/elf.h	10 Jul 2006 21:54:02 -0000	1.155
+++ elf/elf.h	27 Oct 2006 16:12:07 -0000
@@ -1511,8 +1511,9 @@ typedef struct
 #define R_MIPS_TLS_TPREL64	48	/* TP-relative offset, 64 bit */
 #define R_MIPS_TLS_TPREL_HI16	49	/* TP-relative offset, high 16 bits */
 #define R_MIPS_TLS_TPREL_LO16	50	/* TP-relative offset, low 16 bits */
+#define R_MIPS_GLOB_DAT		51
 /* Keep this the last entry.  */
-#define R_MIPS_NUM		51
+#define R_MIPS_NUM		52
 
 /* Legal values for p_type field of Elf32_Phdr.  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]