This is the mail archive of the binutils@sourceware.org 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]

Bogus relocations in the PLT on FreeBSD/sparc64


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

I have strange problem with Mozilla Firefox on FreeBSD/sparc64.
Segmentation fault encountered when running Mozilla Firefox.
The problem is described here:
<http://www.freebsd.org/cgi/query-pr.cgi?pr=89486sparc64>
<https://bugzilla.mozilla.org/show_bug.cgi?id=320063>

The problem in bogus relocations in the PLT (The 3 R_SPARC_NONE *ABS* relocs).

$ objdump -RC firefox-bin

firefox-bin:     file format elf64-sparc

DYNAMIC RELOCATION RECORDS
OFFSET           TYPE              VALUE
[...]
0000000000224cc0 R_SPARC_JMP_SLOT  nsACString_internal::Assign(char const*)
0000000000224ce0 R_SPARC_JMP_SLOT  nsCOMPtr<nsIToolkitChromeRegistry>::operator->() const
0000000000000000 R_SPARC_NONE      *ABS*
0000000000224d20 R_SPARC_JMP_SLOT  nsCOMPtr<nsILocalFile>::StartAssignment()
0000000000224d40 R_SPARC_JMP_SLOT  gdk_rgb_set_install
[...]
00000000002257a0 R_SPARC_JMP_SLOT  nsCOMPtr<nsIObserverService>::nsCOMPtr(nsGetServiceByContractID)
00000000002257c0 R_SPARC_JMP_SLOT  nsCOMPtr<nsIAppStartup>::nsCOMPtr(nsGetServiceByContractID)
0000000000000000 R_SPARC_NONE      *ABS*
0000000000225800 R_SPARC_JMP_SLOT  XGrabServer
0000000000225820 R_SPARC_JMP_SLOT  nsCOMPtr<nsIFile>::StartAssignment()
[...]
00000000002261e0 R_SPARC_JMP_SLOT  nsCOMPtr<nsIAppStartup>::operatornsDerivedSa
fe<nsIAppStartup>*() const
0000000000226200 R_SPARC_JMP_SLOT  nsCOMTypeInfo<nsIProperties>::GetIID()
0000000000000000 R_SPARC_NONE      *ABS*
0000000000226240 R_SPARC_JMP_SLOT  nsProfileLock::LockWithSymlink(nsACString_internal const&, int)
0000000000226260 R_SPARC_JMP_SLOT  nsGetterAddRefs<nsINativeAppSupport>getter_AddRefs<nsINativeAppSupport>(nsCOMPtr<nsINativeAppSupport>&)
[...]

How to find not referenced symbols?

How to fix this problem?

Please, direct me on a correct way.

- --
With Best Regards,
Andrew Belashov.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtQpswF8YpH80o/IRAqKsAJ4n8IBLc4ae53C6NJDw5gswWos+YwCglBUf
Jv4iXycmJPV9oNjutiUZZBQ=
=miSm
-----END PGP SIGNATURE-----


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