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]

Re: [PATCH 2/2] AArch64 glibc port


On Wed, Nov 07, 2012 at 12:54:16PM +0000, Marcus Shawcroft wrote:
> @@ -2306,6 +2310,20 @@ typedef Elf32_Addr Elf32_Conflict;
>  #define SHT_ARM_ATTRIBUTES	(SHT_LOPROC + 3) /* ARM attributes section.  */
>  
>  
> +/* AArch64 specific declarations.  */

Shouldn't that be AArch64 specific relocations or AArch64 relocs?
The latter is what is used for most of other arches.

> +
> +#define R_AARCH64_NONE            0	/* No relocation.  */
> +#define R_AARCH64_ABS64         257	/* Direct 64 bit. */
> +#define R_AARCH64_ABS32         258	/* Direct 32 bit.  */
> +#define R_AARCH64_COPY         1024	/* Copy symbol at runtime.  */
> +#define R_AARCH64_GLOB_DAT     1025	/* Create GOT entry.  */
> +#define R_AARCH64_JUMP_SLOT    1026	/* Create PLT entry.  */
> +#define R_AARCH64_RELATIVE     1027	/* Adjust by program base.  */
> +#define R_AARCH64_TLS_DTPMOD64 1028	/* Module number, 64 bit.  */
> +#define R_AARCH64_TLS_DTPREL64 1029	/* Module-relative offset, 64 bit.  */
> +#define R_AARCH64_TLS_TPREL64  1030	/* TP-relative offset, 64 bit.  */
> +#define R_AARCH64_TLSDESC      1031	/* TLS Descriptor.  */
> +
>  /* ARM relocs.  */
>  
>  #define R_ARM_NONE		0	/* No reloc */


	Jakub


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