RFC: Adding non-PIC executable support to MIPS
Richard Sandiford
rdsandiford@googlemail.com
Thu Jul 17 20:02:00 GMT 2008
More information about the Binutils mailing list
Thu Jul 17 20:02:00 GMT 2008
- Previous message (by thread): RFC: Adding non-PIC executable support to MIPS
- Next message (by thread): RFC: Adding non-PIC executable support to MIPS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Daniel Jacobowitz <drow@false.org> writes: > On Thu, Jul 17, 2008 at 08:29:42PM +0100, Richard Sandiford wrote: >> No, you're probably right. Sorry for missing this. > > No trouble. I have found one caveat: MIPS16 call stubs generated by > GCC sometimes make an indirect call through $1. When TARGET_ABICALLS, > it should be possible to make the call through $25. Or if the > instruction set does not permit, make the call through $1 but also set > $25. I don't think I'll be able to test MIPS16 code generation, but > I'll include a patch for this in the submission I'm preparing. We should just call through $25 all the time, TARGET_ABICALLS or not. (This is non-MIPS16 code.) It should just be a case of s/@%/@^/ in the mips16-pic.patch. I can test that and send an updated patch if you like. Richard
- Previous message (by thread): RFC: Adding non-PIC executable support to MIPS
- Next message (by thread): RFC: Adding non-PIC executable support to MIPS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list