+
+sizeof-g++: sizeof.c
+ g++ -std=gnu99 -nostdinc -fno-stack-protector -isystem $(MUSL)/include -isystem $(LIBGCC) -isystem /usr/include -c -o $@.o $<
+ ld -o $@ $@.o -X -d -e _start -Bstatic $(MUSL)/lib/crti.o $(MUSL)/lib/crt1.o $(MUSL)/lib/crtn.o -L$(MUSL)/lib -lc -L$(LIBGCC) -lgcc -nostdlib
+
+#abi: abi.ARCH.diff
+# cp abi.ARCH.* data/
+
+#abi_type.cc:
+# ./abi_type.sh
+abi.ARCH.glibc: abi_type.cc
+ g++ -std=c++11 $(GLIBC_FLAGS) -c -o $@.o $<
+ nm -C $@.o |sed -n 's/^[[:xdigit:]]* T //p' |sort >$@
+abi.ARCH.musl: abi_type.cc
+ g++ -std=c++11 -nostdinc -fno-stack-protector -isystem $(MUSL)/include -isystem $(LIBGCC) -isystem /usr/include -c -o $@.o $<
+ nm -C $@.o |sed -n 's/^[[:xdigit:]]* T //p' |sort >$@
+abi.ARCH.diff: abi.ARCH.glibc abi.ARCH.musl
+ diff -U0 $^ >$@ || true