This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add TLS relocation defines for mn10300/am33
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Cc: Mark Salter <msalter at redhat dot com>
- Date: Mon, 18 Jun 2012 16:48:37 +0200
- Subject: Re: [PATCH] Add TLS relocation defines for mn10300/am33
- References: <1340030705-32531-1-git-send-email-msalter@redhat.com>
On Monday, June 18, 2012 10:45:05 Mark Salter wrote:
> Signed-off-by: Mark Salter <msalter@redhat.com>
> ---
> elf/elf.h | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/elf/elf.h b/elf/elf.h
> index 6522ea6..9f3cea6 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -2733,8 +2733,17 @@ typedef Elf32_Addr Elf32_Conflict;
> #define R_MN10300_GLOB_DAT 21 /* Create GOT entry. */
> #define R_MN10300_JMP_SLOT 22 /* Create PLT entry. */
> #define R_MN10300_RELATIVE 23 /* Adjust by program base. */
> -
> -#define R_MN10300_NUM 24
> +#define R_MN10300_TLS_GD 24
> +#define R_MN10300_TLS_LD 25
> +#define R_MN10300_TLS_LDO 26
> +#define R_MN10300_TLS_GOTIE 27
> +#define R_MN10300_TLS_IE 28
> +#define R_MN10300_TLS_LE 29
> +#define R_MN10300_TLS_DTPMOD 30
> +#define R_MN10300_TLS_DTPOFF 31
> +#define R_MN10300_TLS_TPOFF 32
> +
> +#define R_MN10300_NUM 33
Please follow the examples above and give a brief explanation for each
entry.
Also, we need a ChangeLog entry listening each one - for details please
check http://sourceware.org/glibc/wiki/Contribution%20checklist
Thanks,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126