https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77300
--- Comment #4 from Maciej W. Rozycki <ma...@linux-mips.org> --- Thanks. I didn't expect -W would be required for non-truncated output, however at this stage it looks anyway like it's GAS which is at fault, because the GOT16 relocation at 0xcc isn't reordered (in the relocation table) ahead the LO16 relocation at 0x60. Could you therefore please file a bug against GAS at <https://sourceware.org/bugzilla/> and attach the generated assembly which has triggered this problem? I'll take it from there. This bug can now be closed although I can't seem able to do that for some reason. NB it would be good to have links both ways recorded between the bug entries, so please record a link here once you've got the other bug's ID.