cvs commit: patches/prelink prelink-20030522-glibc231-1.patch prelink-20030522-glibc231.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon Jun 7 21:53:41 PDT 2004


jim         04/06/07 22:53:41

  Added:       prelink  prelink-20030522-glibc231-1.patch
  Removed:     prelink  prelink-20030522-glibc231.patch
  Log:
  Naming Scheme Update
  
  Revision  Changes    Path
  1.1                  patches/prelink/prelink-20030522-glibc231-1.patch
  
  Index: prelink-20030522-glibc231-1.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-02
  Initial Package Version: 20030522
  Origin: Gentoo Sources
  Description: Add defines without which the compilation fails.
  --- prelink/src/prelink.h.jj	2003-05-21 20:18:29.000000000 +0100
  +++ prelink/src/prelink.h	2003-05-21 20:28:14.000000000 +0100
  @@ -411,4 +411,132 @@
   extern int verify;
   extern GElf_Addr mmap_reg_start, mmap_reg_end;
   
  +#if (R_390_NUM == 27)
  +
  +/* Additional s390 relocs */
  +
  +#define R_390_GOTOFF16		27	/* 16 bit offset to GOT. */
  +#define R_390_GOTOFF64		28	/* 64 bit offset to GOT. */
  +#define R_390_GOTPLT12		29	/* 12 bit offset to jump slot.	*/
  +#define R_390_GOTPLT16		30	/* 16 bit offset to jump slot.	*/
  +#define R_390_GOTPLT32		31	/* 32 bit offset to jump slot.	*/
  +#define R_390_GOTPLT64		32	/* 64 bit offset to jump slot.	*/
  +#define R_390_GOTPLTENT		33	/* 32 bit rel. offset to jump slot.  */
  +#define R_390_PLTOFF16		34	/* 16 bit offset from GOT to PLT. */
  +#define R_390_PLTOFF32		35	/* 32 bit offset from GOT to PLT. */
  +#define R_390_PLTOFF64		36	/* 16 bit offset from GOT to PLT. */
  +#define R_390_TLS_LOAD		37	/* Tag for load insn in TLS code.  */
  +#define R_390_TLS_GDCALL	38	/* Tag for function call in general
  +					   dynamic TLS code. */
  +#define R_390_TLS_LDCALL	39	/* Tag for function call in local
  +					   dynamic TLS code. */
  +#define R_390_TLS_GD32		40	/* Direct 32 bit for general dynamic
  +					   thread local data.  */
  +#define R_390_TLS_GD64		41	/* Direct 64 bit for general dynamic
  +					  thread local data.  */
  +#define R_390_TLS_GOTIE12	42	/* 12 bit GOT offset for static TLS
  +					   block offset.  */
  +#define R_390_TLS_GOTIE32	43	/* 32 bit GOT offset for static TLS
  +					   block offset.  */
  +#define R_390_TLS_GOTIE64	44	/* 64 bit GOT offset for static TLS
  +					   block offset. */
  +#define R_390_TLS_LDM32		45	/* Direct 32 bit for local dynamic
  +					   thread local data in LE code.  */
  +#define R_390_TLS_LDM64		46	/* Direct 64 bit for local dynamic
  +					   thread local data in LE code.  */
  +#define R_390_TLS_IE32		47	/* 32 bit address of GOT entry for
  +					   negated static TLS block offset.  */
  +#define R_390_TLS_IE64		48	/* 64 bit address of GOT entry for
  +					   negated static TLS block offset.  */
  +#define R_390_TLS_IEENT		49	/* 32 bit rel. offset to GOT entry for
  +					   negated static TLS block offset.  */
  +#define R_390_TLS_LE32		50	/* 32 bit negated offset relative to
  +					   static TLS block.  */
  +#define R_390_TLS_LE64		51	/* 64 bit negated offset relative to
  +					   static TLS block.  */
  +#define R_390_TLS_LDO32		52	/* 32 bit offset relative to TLS
  +					   block.  */
  +#define R_390_TLS_LDO64		53	/* 64 bit offset relative to TLS
  +					   block.  */
  +#define R_390_TLS_DTPMOD	54	/* ID of module containing symbol.  */
  +#define R_390_TLS_DTPOFF	55	/* Offset in TLS block.	 */
  +#define R_390_TLS_TPOFF		56	/* Negated offset in static TLS
  +					   block.  */
  +
  +/* Keep this the last entry.  */
  +#undef R_390_NUM
  +#define R_390_NUM		57
  +
  +#endif
  +
  +#if (R_PPC_NUM==37)
  +
  +#undef R_PPC_NUM
  +
  +/* PowerPC relocations defined for the TLS access ABI.  */
  +#define R_PPC_TLS		67 /* none	(sym+add)@tls */
  +#define R_PPC_DTPMOD32		68 /* word32	(sym+add)@dtpmod */
  +#define R_PPC_TPREL16		69 /* half16*	(sym+add)@tprel */
  +#define R_PPC_TPREL16_LO	70 /* half16	(sym+add)@tprel at l */
  +#define R_PPC_TPREL16_HI	71 /* half16	(sym+add)@tprel at h */
  +#define R_PPC_TPREL16_HA	72 /* half16	(sym+add)@tprel at ha */
  +#define R_PPC_TPREL32		73 /* word32	(sym+add)@tprel */
  +#define R_PPC_DTPREL16		74 /* half16*	(sym+add)@dtprel */
  +#define R_PPC_DTPREL16_LO	75 /* half16	(sym+add)@dtprel at l */
  +#define R_PPC_DTPREL16_HI	76 /* half16	(sym+add)@dtprel at h */
  +#define R_PPC_DTPREL16_HA	77 /* half16	(sym+add)@dtprel at ha */
  +#define R_PPC_DTPREL32		78 /* word32	(sym+add)@dtprel */
  +#define R_PPC_GOT_TLSGD16	79 /* half16*	(sym+add)@got at tlsgd */
  +#define R_PPC_GOT_TLSGD16_LO	80 /* half16	(sym+add)@got at tlsgd@l */
  +#define R_PPC_GOT_TLSGD16_HI	81 /* half16	(sym+add)@got at tlsgd@h */
  +#define R_PPC_GOT_TLSGD16_HA	82 /* half16	(sym+add)@got at tlsgd@ha */
  +#define R_PPC_GOT_TLSLD16	83 /* half16*	(sym+add)@got at tlsld */
  +#define R_PPC_GOT_TLSLD16_LO	84 /* half16	(sym+add)@got at tlsld@l */
  +#define R_PPC_GOT_TLSLD16_HI	85 /* half16	(sym+add)@got at tlsld@h */
  +#define R_PPC_GOT_TLSLD16_HA	86 /* half16	(sym+add)@got at tlsld@ha */
  +#define R_PPC_GOT_TPREL16	87 /* half16*	(sym+add)@got at tprel */
  +#define R_PPC_GOT_TPREL16_LO	88 /* half16	(sym+add)@got at tprel@l */
  +#define R_PPC_GOT_TPREL16_HI	89 /* half16	(sym+add)@got at tprel@h */
  +#define R_PPC_GOT_TPREL16_HA	90 /* half16	(sym+add)@got at tprel@ha */
  +#define R_PPC_GOT_DTPREL16	91 /* half16*	(sym+add)@got at dtprel */
  +#define R_PPC_GOT_DTPREL16_LO	92 /* half16*	(sym+add)@got at dtprel@l */
  +#define R_PPC_GOT_DTPREL16_HI	93 /* half16*	(sym+add)@got at dtprel@h */
  +#define R_PPC_GOT_DTPREL16_HA	94 /* half16*	(sym+add)@got at dtprel@ha */
  +
  +/* Keep this the last entry.  */
  +#define R_PPC_NUM		95
  +
  +/* The remaining relocs are from the Embedded ELF ABI, and are not
  +   in the SVR4 ELF ABI.  */
  +#define R_PPC_EMB_NADDR32	101
  +#define R_PPC_EMB_NADDR16	102
  +#define R_PPC_EMB_NADDR16_LO	103
  +#define R_PPC_EMB_NADDR16_HI	104
  +#define R_PPC_EMB_NADDR16_HA	105
  +#define R_PPC_EMB_SDAI16	106
  +#define R_PPC_EMB_SDA2I16	107
  +#define R_PPC_EMB_SDA2REL	108
  +#define R_PPC_EMB_SDA21		109	/* 16 bit offset in SDA */
  +#define R_PPC_EMB_MRKREF	110
  +#define R_PPC_EMB_RELSEC16	111
  +#define R_PPC_EMB_RELST_LO	112
  +#define R_PPC_EMB_RELST_HI	113
  +#define R_PPC_EMB_RELST_HA	114
  +#define R_PPC_EMB_BIT_FLD	115
  +#define R_PPC_EMB_RELSDA	116	/* 16 bit relative offset in SDA */
  +
  +/* Diab tool relocations.  */
  +#define R_PPC_DIAB_SDA21_LO	180	/* like EMB_SDA21, but lower 16 bit */
  +#define R_PPC_DIAB_SDA21_HI	181	/* like EMB_SDA21, but high 16 bit */
  +#define R_PPC_DIAB_SDA21_HA	182	/* like EMB_SDA21, adjusted high 16 */
  +#define R_PPC_DIAB_RELSDA_LO	183	/* like EMB_RELSDA, but lower 16 bit */
  +#define R_PPC_DIAB_RELSDA_HI	184	/* like EMB_RELSDA, but high 16 bit */
  +#define R_PPC_DIAB_RELSDA_HA	185	/* like EMB_RELSDA, adjusted high 16 */
  +
  +/* This is a phony reloc to handle any old fashioned TOC16 references
  +   that may still be in object files.  */
  +#define R_PPC_TOC16		255
  +
  +#endif
  +
   #endif /* PRELINK_H */
  
  
  



More information about the patches mailing list