hehe, for I am a newbie to ld. :p # arm-linux-gcc -D_GNU_SOURCE -g -c tst-mutex2.c -I../sysdeps/pthread # arm-linux-gcc -g -o tst-mutex2 tst-mutex2.o libpthread.a clone.o /glibc/setjmp/setjmp.o /glibc/setjmp/sigjmp.o /glibc/setjmp/bsd-setjmp.o /glibc/setjmp/bsd-_setjmp.o /glibc/setjmp/longjmp.o /glibc/setjmp/__longjmp.o /glibc/setjmp/jmp-unwind.o /glibc/csu/libc-start.o -Wl,-M > tst-mutex2.map 2>&1 # arm-linux-gcc -g -c tst-join1.c -I../sysdeps/pthread # arm-linux-gcc -g -o tst-join1 tst-join1.o libpthread.a clone.o /glibc/setjmp/setjmp.o /glibc/setjmp/sigjmp.o /glibc/setjmp/bsd-setjmp.o /glibc/setjmp/bsd-_setjmp.o /glibc/setjmp/longjmp.o /glibc/setjmp/__longjmp.o /glibc/setjmp/jmp-unwind.o /glibc/csu/libc-start.o -Wl,-M > tst-join1.map 2>&1 The attachment is the two ld map files. I still couldn't find __pthread_initialize_minimal() in tst-mutex2.map. thanks. > -----Original Message----- > From: Roland McGrath [mailto:roland redhat com] > Sent: 2003?3?7? 16:12 > To: phil-list redhat com > Subject: RE: Is it a bug of PTHREAD_MUTEX_ERRORCHECK_NP ? > > > > # ld -M tst-mutex2 > a > > # grep "__pthread_initialize_minimal" a // nothing ??? > > # ld -M tst-join1 > b > > # grep "__pthread_initialize_minimal" b > > Are you saying those are the actual commands you ran? -M is > an option you > pass the linker when it's linking the binary, not in a > separate run on an > already-linked binary. Sorry, I presumed this was obvious. > Please send > the full text of exactly all the commands you run and all the > output files > (except for binaries), not just grepping one line. > > > > -- > Phil-list mailing list > Phil-list redhat com > https://listman.redhat.com/mailman/listinfo/phil-list >
Attachment:
tst_map.tar.ZIP
Description: Binary data