Skip to content

Commit

Permalink
Fix IA-32 strstr in multiarch configuration as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Sep 3, 2009
1 parent 01034d7 commit 04ef416
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2009-09-03 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i686/multiarch/strstr-c.c (__strstr_sse42,
__strstr_ia32): Add attribute_hidden.

2009-09-01 Andreas Schwab <schwab@redhat.com>

* hesiod/nss_hesiod/hesiod-grp.c (internal_gid_from_group): Fix
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/i386/i686/multiarch/strstr-c.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "string/strstr.c"

extern char *__strstr_sse42 (const char *, const char *);
extern char *__strstr_sse42 (const char *, const char *) attribute_hidden;
extern __typeof (__strstr_ia32) __strstr_ia32 attribute_hidden;

libc_ifunc (strstr, HAS_SSE4_2 ? __strstr_sse42 : __strstr_ia32);

0 comments on commit 04ef416

Please sign in to comment.