This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/15500] New: ARM __aeabi_localeconv incorrect
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 20 May 2013 15:23:00 +0000
- Subject: [Bug ports/15500] New: ARM __aeabi_localeconv incorrect
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15500
Bug #: 15500
Summary: ARM __aeabi_localeconv incorrect
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: ports
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
CC: carlos@redhat.com, roland@gnu.org
Classification: Unclassified
ARM glibc's __aeabi_localeconv does:
struct lconv *
__aeabi_localeconv (void)
{
return __localeconv ();
}
However, glibc orders the C99 fields in struct lconv thus:
char int_p_cs_precedes;
char int_p_sep_by_space;
char int_n_cs_precedes;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
but the __aeabi_lconv structure (defined in CLIBABI, ARM IHI 0039) has them
ordered thus:
char int_p_cs_precedes;
char int_n_cs_precedes;
char int_p_sep_by_space;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
and so a conversion layer is needed to swap int_p_sep_by_space and
int_n_cs_precedes.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.