[haiku-bugs] Re: [Haiku] #12287: runtime_loader GetSymbolCache has invalid implicit assumption

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 06 Aug 2015 08:49:31 -0000

#12287: runtime_loader GetSymbolCache has invalid implicit assumption
-------------------------------------+----------------------------
Reporter: cdurrett | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/runtime_loader | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------------------+----------------------------

Comment (by bonefish):

Apparently your shared object file doesn't have a dynamic section. The
specs say:

"If an object file participates in dynamic linking, its program header
table will have an element of type PT_DYNAMIC."

So, TBH, I'm not sure why we allow loading shared objects without a
dynamic section at all. What is your shared object and what does it do?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12287#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: