[libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
authorFangrui Song <i@maskray.me>
Fri, 25 Feb 2022 19:55:56 +0000 (19:55 +0000)
committerFangrui Song <i@maskray.me>
Fri, 25 Feb 2022 19:55:56 +0000 (19:55 +0000)
The no-pic large code model style `movabsq $callback, %rsi` does not work with -pie.

libunwind/test/remember_state_leak.pass.sh.s

index f18d176..590653e 100644 (file)
@@ -1,5 +1,5 @@
 # REQUIRES: target={{x86_64-.+-linux-gnu}}
-# RUN: %{build}
+# RUN: %{build} -no-pie
 # RUN: %{run}
 
 # The following assembly is a translation of this code: