PR28955 mips gas segfault
authorAlan Modra <amodra@gmail.com>
Sat, 13 May 2023 06:14:09 +0000 (15:44 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 13 May 2023 11:17:31 +0000 (20:47 +0930)
commit249d1bad51b568c74ea37e8b3e76c179eb53a733
treeaa635e60999d2c3096bb0afa09f928deddc4c18f
parent31f149015865401c760e9d76157734996fbab770
PR28955 mips gas segfault

Testing for NULL in pic_need_relax fixes the other call to this
function in md_estimate_size_before_relax.

PR 28955
* config/tc-mips.c (mips_frob_file): Move NULL sym test to..
(pic_need_relax): ..here.
gas/config/tc-mips.c