This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DT_NEEDED


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]