This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove configure test for assembler .text directive
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 26 Oct 2015 10:41:08 -0700
- Subject: Re: Remove configure test for assembler .text directive
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1510261736050 dot 3065 at digraph dot polyomino dot org dot uk>
On Mon, Oct 26, 2015 at 10:36 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> There is a configure test for assembler support for the .text
> directive.
>
> I suppose this test must have been aimed at some non-ELF platform or
> non-GNU assembler. Certainly the GNU assembler has had ELF-specific
> architecture-independent handling for .text since version 2.2, and
> generic non-ELF-specific support predates that.
>
> This patch removes this test as obsolete.
>
> Tested for x86_64 and x86 (testsuite, and that installed shared
> libraries are unchanged by the patch).
>
> 2015-10-26 Joseph Myers <joseph@codesourcery.com>
>
> * configure.ac (libc_cv_dot_text): Remove configure test.
> (libc_cv_asm_set_directive): Use .text instead of
> ${libc_cv_dot_text} in configure test.
> * configure: Regenerated.
>
Looks good to me.
Thanks.
--
H.J.