public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17572] New: [x86_64] rawmemchr namespace
@ 2014-11-10 16:06 jsm28 at gcc dot gnu.org
  2014-11-12 22:36 ` [Bug libc/17572] " cvs-commit at gcc dot gnu.org
  2014-11-12 22:51 ` jsm28 at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-10 16:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17572

            Bug ID: 17572
           Summary: [x86_64] rawmemchr namespace
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
              Host: x86_64-*

rawmemchr is not an ISO C function, while __rawmemchr gets called from ISO C
functions, so rawmemchr should be a weak alias, but on x86_64 it's strong
(other architectures appear to get this right).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/17572] [x86_64] rawmemchr namespace
  2014-11-10 16:06 [Bug libc/17572] New: [x86_64] rawmemchr namespace jsm28 at gcc dot gnu.org
@ 2014-11-12 22:36 ` cvs-commit at gcc dot gnu.org
  2014-11-12 22:51 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-11-12 22:36 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17572

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  293d9a41805b1eeb440a2c59a717b332cd9c2384 (commit)
      from  bef8fd6013f7d398661077340753c745a8939279 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=293d9a41805b1eeb440a2c59a717b332cd9c2384

commit 293d9a41805b1eeb440a2c59a717b332cd9c2384
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 12 22:35:12 2014 +0000

    Fix x86_64 rawmemchr namespace (bug 17572).

    rawmemchr is not an ISO C function, but __rawmemchr is called from ISO
    C functions, so rawmemchr should be a weak alias.  On most
    architecture it is, but x86_64 defines the function as rawmemchr with
    __rawmemchr as a strong alias.  This patch makes x86_64 follow the
    same arrangements as other architectures.

    Tested for x86_64 (testsuite, and that disassembly of installed shared
    libraries is unchanged by the patch).

        [BZ #17572]
        * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
        and define as weak alias of __rawmemchr.
        (__rawmemchr): Do not define as strong alias of rawmemchr.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    5 +++++
 NEWS                       |    2 +-
 sysdeps/x86_64/rawmemchr.S |    6 +++---
 3 files changed, 9 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/17572] [x86_64] rawmemchr namespace
  2014-11-10 16:06 [Bug libc/17572] New: [x86_64] rawmemchr namespace jsm28 at gcc dot gnu.org
  2014-11-12 22:36 ` [Bug libc/17572] " cvs-commit at gcc dot gnu.org
@ 2014-11-12 22:51 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-12 22:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17572

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.21.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-12 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 16:06 [Bug libc/17572] New: [x86_64] rawmemchr namespace jsm28 at gcc dot gnu.org
2014-11-12 22:36 ` [Bug libc/17572] " cvs-commit at gcc dot gnu.org
2014-11-12 22:51 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).