You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PT_GNU_PROPERTY program header describes the location of the .note.gnu.property to a program loader. This is faster than if the standard PT_NOTE program header was used to describe a consolidated notes section which the program loader has to parse.
To allow program loaders to use the PT_GNU_PROPERTY program header exclusively, which seems to be what implementations are doing, we should document that on a sysvabi platform that if .note.gnu.property is present in an executable/shared-library then a PT_GNU_PROPERTY must also be present.
The text was updated successfully, but these errors were encountered:
smithp35
added a commit
to smithp35/abi-aa
that referenced
this issue
Nov 29, 2024
Added a requirement that a static linker must generate a
PT_GNU_PROPERTY program header for an executable or shared-library
that contains program properties.
The linux kernel and glibc are currently relying on the program
header to find the program properties and are not attempting to
search through the consolidated notes section (PT_NOTE) program
header if it isn't present.
fixes: ARM-software#299
The PT_GNU_PROPERTY program header describes the location of the .note.gnu.property to a program loader. This is faster than if the standard PT_NOTE program header was used to describe a consolidated notes section which the program loader has to parse.
To allow program loaders to use the PT_GNU_PROPERTY program header exclusively, which seems to be what implementations are doing, we should document that on a sysvabi platform that if .note.gnu.property is present in an executable/shared-library then a PT_GNU_PROPERTY must also be present.
The text was updated successfully, but these errors were encountered: