kernel/scripts/tools-support-relr.sh
.. .. @@ -7,7 +7,8 @@ 7 7 cat << "END" | $CC -c -x c - -o $tmp_file.o >/dev/null 2>&1 8 8 void *p = &p; 9 9 END 10 -$LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr -o $tmp_file10 +$LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr \11 + --use-android-relr-tags -o $tmp_file11 12 12 13 # Despite printing an error message, GNU nm still exits with exit code 0 if it 13 14 # sees a relr section. So we need to check that nothing is printed to stderr.