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