This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I just fixed section names in 32 bit files. For 32 bit strlen, strchr, strrchr: "*sse2.S" - names of atom optimized versions without using bsf instructions. "*sse2-bsf.S" - common sse2 version. Now for 32 bit: "*sse2-no-bsf.S" - names of atom optimized versions without using bsf instructions. Sorry for misleading asymmetry in names. -- Liubov Software engineer Intel Corporation Patch: diff --git a/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S index 4797bc3..5a19ba2 100644 --- a/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S +++ b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S @@ -40,7 +40,7 @@ # define STR1 PARMS # define STR2 STR1+4 - atom_text_section + .text ENTRY (__strchr_sse2_bsf) ENTRANCE diff --git a/sysdeps/i386/i686/multiarch/strchr-sse2.S b/sysdeps/i386/i686/multiarch/strchr-sse2.S index a73b21e..9cc5ae8 100644 --- a/sysdeps/i386/i686/multiarch/strchr-sse2.S +++ b/sysdeps/i386/i686/multiarch/strchr-sse2.S @@ -40,7 +40,7 @@ # define STR1 PARMS # define STR2 STR1+4 - .text + atom_text_section ENTRY (__strchr_sse2) ENTRANCE diff --git a/sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S b/sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S index 715fa6b..ce50e0a 100644 --- a/sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S +++ b/sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S @@ -21,7 +21,6 @@ #if defined SHARED && !defined NOT_IN_libc #include <sysdep.h> -#include "asm-syntax.h" #define CFI_PUSH(REG) \ cfi_adjust_cfa_offset (4); \ @@ -39,7 +38,7 @@ #define RETURN POP (%edi); POP (%esi); ret; \ cfi_restore_state; cfi_remember_state - atom_text_section + .text ENTRY ( __strlen_sse2_bsf) ENTRANCE mov STR(%esp), %edi diff --git a/sysdeps/i386/i686/multiarch/strlen-sse2.S b/sysdeps/i386/i686/multiarch/strlen-sse2.S index ca549ba..2dbc4a9 100644 --- a/sysdeps/i386/i686/multiarch/strlen-sse2.S +++ b/sysdeps/i386/i686/multiarch/strlen-sse2.S @@ -22,8 +22,6 @@ # ifndef USE_AS_STRCAT # include <sysdep.h> -# include "asm-syntax.h" - # define CFI_PUSH(REG) \ cfi_adjust_cfa_offset (4); \ cfi_rel_offset (REG, 0) @@ -39,7 +37,7 @@ # define ENTRANCE # define RETURN ret - .text + atom_text_section ENTRY (__strlen_sse2) ENTRANCE mov STR(%esp), %edx diff --git a/sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S b/sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S index 8ec524d..f40dfdc 100644 --- a/sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S +++ b/sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S @@ -37,7 +37,7 @@ # define STR1 PARMS # define STR2 STR1+4 - atom_text_section + .text ENTRY (__strrchr_sse2_bsf) mov STR1(%esp), %ecx diff --git a/sysdeps/i386/i686/multiarch/strrchr-sse2.S b/sysdeps/i386/i686/multiarch/strrchr-sse2.S index 71cc69d..f46b17f 100644 --- a/sysdeps/i386/i686/multiarch/strrchr-sse2.S +++ b/sysdeps/i386/i686/multiarch/strrchr-sse2.S @@ -40,7 +40,7 @@ # define STR1 PARMS # define STR2 STR1+4 - .text + atom_text_section ENTRY (__strrchr_sse2) ENTRANCE
Attachment:
fix_section.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |