aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/config/default.exp
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/config/default.exp')
-rw-r--r--binutils/testsuite/config/default.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/testsuite/config/default.exp b/binutils/testsuite/config/default.exp
index 6c55be6..1bfe72e 100644
--- a/binutils/testsuite/config/default.exp
+++ b/binutils/testsuite/config/default.exp
@@ -28,6 +28,14 @@ if ![info exists ASFLAGS] then {
set ASFLAGS ""
}
+if ![info exists LD] then {
+ set LD [findfile $base_dir/../ld/ld-new $base_dir/../ld/ld-new [transform ld]]
+}
+if ![info exists LDFLAGS] then {
+ set LDFLAGS ""
+}
+set ld_elf_shared_opt "-z norelro"
+
if ![info exists NM] then {
set NM [findfile $base_dir/nm-new $base_dir/nm-new [transform nm]]
}