64 bit linker problem?
Quoted 4 lines
Another 64-bit gotcha: in arch/parisc64/kernel/entry.S:start_parisc_asm the 'b
start_parisc' is branching through a stub and failing miserably. Linker problem?
Just some more information. The "b start_parisc" appears to branch to what should be a stub entry. There is nothing there, i.e. it is all zero's, so we get a break instruction trap.
John Marvin
[email protected]
Quoted 8 lines · John Marvin
Quoted 4 lines
Another 64-bit gotcha: in arch/parisc64/kernel/entry.S:start_parisc_asm the 'b
start_parisc' is branching through a stub and failing miserably. Linker problem?Just some more information. The "b
start_parisc" appears to branch to what should be a stub entry. There is nothing there, i.e. it is all zero's, so we get a break instruction trap.
Yeah. That's the sort of thing I was expecting. It appears to me that only stubs or plt entries for dynamic symbols (ie. in shared libs) are filled in. Until we fix the linker, you may be able to work around the problem by convincing the linker that a stub is not needed for the branch. Where is "start_parisc" relative to the branch? If you know you'll always need a long branch, why not use a ble?
Alan Modra
Signature · 1 line
Linuxcare. Support for the Revolution.