This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
DT_NEEDED
- To: hjl at gnu dot org
- Subject: DT_NEEDED
- From: amodra at one dot net dot au
- Date: Fri, 18 May 2001 17:48:38 +0930
- Cc: binutils at sources dot redhat dot com
Hi HJ,
I suspect some of your recent changes to elflink.h are in violation
of the ELF spec. http://www.sco.com/developer/devspecs/gabi41.pdf says:
"Names in the dependency list are copies either of the DT_SONAME strings
or the path names of the shared objects used to build the object file.
For example, if the link editor builds an executable file using one
shared object with a DT_SONAME entry of lib1 and another shared object
library with the path name /usr/lib/lib2, the executable file will
contain lib1 and /usr/lib/lib2 in its dependency list.
If a shared object name has one or more slash (/) characters anywhere in
the name, such as /usr/lib/lib2 above or directory/file, the dynamic
linker uses that string directly as the path name."
Alan