This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
To support weak undefined symbol in PIE: http://sources.redhat.com/bugzilla/show_bug.cgi?id=2218 I put weak undefined symbol in dynamic symbol table and mark it hidden. But ld.so still tries to resolve it, which leads to crash on x86-64: [hjl@gnu-13 x]$ tar xfj ../test.tar.bz2 [hjl@gnu-13 x]$ make cp -af libbar.so libdummy.so ./exec PASSED ./pie make: *** [all] Segmentation fault [hjl@gnu-13 x]$ Should ld.so resolve hidden weak undefined symbol? H.J.
Attachment:
test.tar.bz2
Description: BZip2 compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |