I usually prefer this style: > -#define STUB_LUI(VAL) (0x3c180000 + (VAL)) /* lui t8,VAL */ > To this... > + /* Fill the stub. */ > + bfd_put_32 (output_bfd, (ABI_64_P (output_bfd) > + ? 0xdf998010 /* ld t9, 0x8010(gp) */ > + : 0x8f998010), /* lw t9, 0x8010(gp) */ > + stub); -eric