[PATCH v8] Add pretty printers for the NPTL lock types
Martin Galvan
martin.galvan@tallertechnologies.com
Fri Jun 24 20:47:00 GMT 2016
I added an endless loop to the test code, so that I could examine its
proc mappings without running it through gdb, and I'm still seeing the
built libraries. And yeah, you're right in that it's being compiled
using rpath-link:
gcc -nostdlib -nostartfiles -o
/home/martin/glibc/build/pretty-printers/test-mutex-printer
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both
/home/martin/glibc/build/csu/crt1.o
/home/martin/glibc/build/csu/crti.o `gcc
--print-file-name=crtbegin.o`
/home/martin/glibc/build/pretty-printers/test-mutex-printer.o
/home/martin/glibc/build/nptl/libpthread_nonshared.a
/home/martin/glibc/build/nptl/libpthread.so
-Wl,-dynamic-linker=/home/martin/glibc/install/lib/ld-linux-x86-64.so.2
-Wl,-rpath-link=/home/martin/glibc/build:/home/martin/glibc/build/math:/home/martin/glibc/build/elf:/home/martin/glibc/build/dlfcn:/home/martin/glibc/build/nss:/home/martin/glibc/build/nis:/home/martin/glibc/build/rt:/home/martin/glibc/build/resolv:/home/martin/glibc/build/crypt:/home/martin/glibc/build/mathvec:/home/martin/glibc/build/nptl
/home/martin/glibc/build/libc.so.6
/home/martin/glibc/build/libc_nonshared.a -Wl,--as-needed
/home/martin/glibc/build/elf/ld.so -Wl,--no-as-needed -lgcc
-Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc
--print-file-name=crtend.o` /home/martin/glibc/build/csu/crtn.o
More information about the Libc-alpha
mailing list