https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490
--- Comment #5 from H. Peter Anvin <hpa at zytor dot com> --- The test case was compiled with: gcc -fno-plt -fpie -fvisibility=hidden -mcmodel=small -O2 (note: no code changes between -fpie and -fpic)