https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860
--- Comment #43 from jyong at gcc dot gnu.org --- Is it as simple as running the following? <compile and link test> ${target}-objdump -j .debug_loclists -h a.exe | grep -q 0000000100000000 A return code 0 means potentially broken linker script is used.