If you build with prebinding enabled, and the prebinding is out of date, the app fails to start. This appears to be because some functions that are implemented in assembly reside in the data section intead of the text section. Making them reside in the text section involves using an indirect call stub. I also had to change the manner in which the method index is passed from StubNNN to SharedStub, since r12 will be clobbered by the indirect call.
Created attachment 88559 [details] [diff] [review] patch v2 Ok, this one is actually quite a bit less scary. I'm using m4 to generate the stub functions in the .s file.
Attachment #87774 - Attachment is obsolete: true
Comment on attachment 88559 [details] [diff] [review] patch v2 r=pavlov looks ok to me
Attachment #88559 - Flags: review+
Comment on attachment 88559 [details] [diff] [review] patch v2 sr=beard, looks very cool
Attachment #88559 - Flags: superreview+
Checked into the trunk and CHIMERA_M1_0_BRANCH.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Patch checkin verified on trunk and CHIMERA_M1_0_BRANCH -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.