This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S390: Fix relocation of _nl_current_LC_CATETORY_used in static build. [BZ #19860]
- From: Andreas Schwab <schwab at suse dot de>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 28 Jun 2016 12:13:19 +0200
- Subject: Re: [PATCH] S390: Fix relocation of _nl_current_LC_CATETORY_used in static build. [BZ #19860]
- Authentication-results: sourceware.org; auth=none
- References: <nktdsm$oqu$1 at ger dot gmane dot org>
Stefan Liebler <stli@linux.vnet.ibm.com> writes:
> diff --git a/locale/localeinfo.h b/locale/localeinfo.h
> index 94627f3..d3e575f 100644
> --- a/locale/localeinfo.h
> +++ b/locale/localeinfo.h
> @@ -260,12 +260,15 @@ extern __thread struct __locale_data *const *_nl_current_##category \
> #define _NL_CURRENT_WORD(category, item) \
> ((uint32_t) (*_nl_current_##category)->values[_NL_ITEM_INDEX (item)].word)
>
> -/* This is used in lc-CATEGORY.c to define _nl_current_CATEGORY. */
> +/* This is used in lc-CATEGORY.c to define _nl_current_CATEGORY. The symbol
> + _nl_current_CATEGORY_used is set to a value unequal to zero to mark this
> + category as used. On S390 the used relocation to load the symbol address
> + can only handle even addresses. */
Ok, but two spaces after period.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."