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
There are three functions:
The main function, starting at PC 0 and ending at PC 7.
The first local function func1, starting at PC 5 and ending at PC 7.
The second local function func2, starting at PC 6 and ending at PC 7.
Is this valid? There doesn't appear to be anything in the ISA prohibiting it, but the Linux verifier rejects it.
The text was updated successfully, but these errors were encountered:
My view:
From the ISA perspective, there is nothing against it.
It would be up to the psABI (which specifies calling conventions for function calls), and the implementation.
dthaler
changed the title
ISA: Clarify if overlapping local functions are valid or prohibitted
psABI: Clarify if overlapping local functions are valid or prohibitted
May 17, 2024
dthaler
changed the title
psABI: Clarify if overlapping local functions are valid or prohibitted
ABI: Clarify if overlapping local functions are valid or prohibitted
May 17, 2024
There are three functions:
The main function, starting at PC 0 and ending at PC 7.
The first local function func1, starting at PC 5 and ending at PC 7.
The second local function func2, starting at PC 6 and ending at PC 7.
Is this valid? There doesn't appear to be anything in the ISA prohibiting it, but the Linux verifier rejects it.
The text was updated successfully, but these errors were encountered: