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]
Other format: [Raw text]

Re: hpux64-hp-hpux11.00: .rela.opd problems


> Currently (binutils-020624) puts EPLT relocations in .rela.dyn.  I can
> change the emulation script to put
> them in the .rela.opd but dld claims the shared library is not a valid load
> module.

Yes.  I can see the problem that is causing the error if the emulation
script is changed to put the EPLT into .rela.opd.  It's somewhat similar
to the problem with _gp.

There are differences in the implementation between the HP linker and
the GNU linker.  There is no point in changing the implementation if
it is not causing a problem.  Can you provide an example or examples
of the actual problem that you are experiencing.  Only then will we
know what needs to be done.  As I noted previously, the test code that
you provided runs ok with the EPLT relocs in rela.dyn on my machine
and ldd doesn't say the library is invalid.  So, having the EPLT
relocs in rela.dyn doesn't seem incompatible with the dynamic loader
although there may be more complex situations where this does cause
a problem.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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