How to add 'relaxing' to loader for m68k

Peter Barada pbarada@mail.wm.sps.mot.com
Mon Apr 8 17:24:00 GMT 2002


>> What's the best way to go about this?  Does the assembler create
>> enough reloacation records to allow for proper relaxation (bsrl->bsrw
>> relaxation between a conditional branch and its target, etc)?
>
>You'll need to modify the asembler to emit relocs for code that is
>normally fully resolved by the assembler, eg. branches to local
>labels, because their offsets may change if intervening code is
>relaxed.

Ok, noted.  Anything else?

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)



More information about the Binutils mailing list