GAS relaxation: estimation in md_relax_frag() do not match md_apply_fix()
William Tambe
tambewilliam@gmail.com
Wed Mar 4 04:03:00 GMT 2020
More information about the Binutils mailing list
Wed Mar 4 04:03:00 GMT 2020
- Previous message (by thread): recompile with -fPIC for hand-written asm
- Next message (by thread): GAS relaxation: estimation in md_relax_frag() do not match md_apply_fix()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In our Binutils port, GAS relaxing is done implementing md_relax_frag() such that the displacement used to generate the growth amount to return is computed using: ((S_GET_VALUE (symbolP) + fragP->fr_offset) - (fragP->fr_address + fragP->fr_fix)); However, during md_apply_fix(), the same displacement value is greatly different, causing it not to fit in the relocation fix estimated during md_relax_frag(). Any idea what could explain it ?
- Previous message (by thread): recompile with -fPIC for hand-written asm
- Next message (by thread): GAS relaxation: estimation in md_relax_frag() do not match md_apply_fix()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list