|
|
Message-ID: <20140909010406.GJ10361@port70.net>
Date: Tue, 9 Sep 2014 03:04:06 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: c++ abi
for each type T i defined a function
void x_T(T *x, size (*)[sizeof(T)], align (*)[alignof(T)]){}
(with some 'size' and 'align' struct types for readability)
so the mangled symbols in the c++ compiled object have the
abi info for each T that can be compared glibc vs musl
nm abi.o |sed -n 's/^[[:xdigit:]]* T //p' |c++filt
unfortunately i only have the old musl cross compilers
(musl 1.1.2) and for glibc only gcc-4.4 cross compilers
(which only have __alignof__ instead of alignof) but some
of the findings may be relevant
View attachment "arm.abi.diff" of type "text/x-diff" (1817 bytes)
View attachment "i386.abi.diff" of type "text/x-diff" (1686 bytes)
View attachment "mips.abi.diff" of type "text/x-diff" (2073 bytes)
View attachment "powerpc.abi.diff" of type "text/x-diff" (2825 bytes)
View attachment "x86_64.abi.diff" of type "text/x-diff" (4030 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.