Allocate a larger TLS segment, so that initialising libpthread.so works
[glibc/nacl-glibc.git] / make-example-dynamic.sh
blob3546c79557bcb53d1ab99a1dd16197abbce991ed
1 #!/bin/bash
3 BUILDDIR=build
4 DEST=hellow-dyn
5 ../tools_bin/linux/sdk/nacl-sdk/bin/nacl-gcc \
6 -B$BUILDDIR/csu/ -L$BUILDDIR -Lld \
7 $BUILDDIR/elf/ld.so $BUILDDIR/libc_nonshared.a \
8 -g hellow.c -o $DEST \
9 -Wl,-Map,$DEST.map